Selaa lähdekoodia

fix

release_toaliyun_real
winter 2 vuotta sitten
vanhempi
commit
8577acd6c6
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      mallinkService/src/main/resources/mapper/NeuPosOrderMasterExtMapper.xml

+ 1
- 1
mallinkService/src/main/resources/mapper/NeuPosOrderMasterExtMapper.xml Näytä tiedosto

@@ -364,7 +364,7 @@ SELECT
max(case when status=2 and is_shift=1 then created_at else 0 end) as shiftTime
from user_login_record
where org_id = #{orgId} and created_at > #{createBegin} and created_at <= #{createEnd}
<if test="customerNumber != null"> and username = #{customerNumber}</if>
<if test="customerNumber != null and customerNumber != '' "> and username = #{customerNumber}</if>
<if test="shopId != null"> and shop_id = #{shopId}</if>
GROUP BY username) as a
where shiftTime > 0


Ladataan…
Peruuta
Tallenna