|
|
|
@ -275,6 +275,10 @@
|
|
|
|
|
<if test="checkType != null and checkType != ''">and qct.check_type = #{checkType}</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>
|
|
|
|
|
and (
|
|
|
|
|
CONVERT(varchar(10),qct.create_time, 120) = CONVERT(varchar(10),GETDATE(), 120)
|
|
|
|
|
or CONVERT(varchar(10),qct.create_time, 120) = CONVERT(varchar(10),DATEADD(DAY, -1, GETDATE()), 120)
|
|
|
|
|
)
|
|
|
|
|
</where>
|
|
|
|
|
order by qct.create_time desc
|
|
|
|
|
</select>
|
|
|
|
|