diff --git a/mallinkService/src/main/resources/mapper/NeuPosOrderMasterExtMapper.xml b/mallinkService/src/main/resources/mapper/NeuPosOrderMasterExtMapper.xml index fed3ac2ab..28e47b60e 100644 --- a/mallinkService/src/main/resources/mapper/NeuPosOrderMasterExtMapper.xml +++ b/mallinkService/src/main/resources/mapper/NeuPosOrderMasterExtMapper.xml @@ -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} - and username = #{customerNumber} + and username = #{customerNumber} and shop_id = #{shopId} GROUP BY username) as a where shiftTime > 0