质量手持bug修复2

master
zhaoxiaolin 6 months ago
parent 24d8b7c6a1
commit b28459cd76

@ -276,7 +276,7 @@
<if test="checkTimeStart != null and checkTimeStart != ''">and CONVERT(varchar(10),qct.check_time, 120) = #{checkTimeStart}</if> <if test="checkTimeStart != null and checkTimeStart != ''">and CONVERT(varchar(10),qct.check_time, 120) = #{checkTimeStart}</if>
<if test="checkManCode != null and checkManCode != ''">and qctu.check_man_code = #{checkManCode}</if> <if test="checkManCode != null and checkManCode != ''">and qctu.check_man_code = #{checkManCode}</if>
<if test="checkStatus != null and checkStatus != ''">and qct.check_status in (${checkStatus})</if> <if test="checkStatus != null and checkStatus != ''">and qct.check_status in (${checkStatus})</if>
<if test="checkStatus == null or checkStatus == ''"> <if test="checkStatus == '0'">
and (CONVERT(varchar(10),qct.create_time, 120) >= CONVERT(varchar(10),DATEADD(DAY, -1, GETDATE()), 120)) and (CONVERT(varchar(10),qct.create_time, 120) >= CONVERT(varchar(10),DATEADD(DAY, -1, GETDATE()), 120))
</if> </if>
</where> </where>

Loading…
Cancel
Save