隐患信息条件查询报错bug修复

main
15036302109 6 months ago
parent ff4467ea72
commit 0273532457

@ -59,7 +59,7 @@ FROM ehs_hidden_danger h LEFT JOIN sys_dept d ON h.dept_id = d.dept_id
<if test="checkType != null and checkType != ''"> and check_type like concat('%', #{checkType}, '%')</if>
<if test="hiddenDangerImg != null and hiddenDangerImg != ''"> and hidden_danger_img = #{hiddenDangerImg}</if>
<if test="rectifyMeasure != null and rectifyMeasure != ''"> and rectify_measure like concat('%', #{rectifyMeasure}, '%')</if>
<if test="status != null and status != ''"> and status like concat('%', #{status}, '%')</if>
<if test="status != null and status != ''"> and h.status = #{status}</if>
<if test="params.beginRectifyTime != null and params.beginRectifyTime != '' and params.endRectifyTime != null and params.endRectifyTime != ''">
and rectify_time between #{params.beginRectifyTime} and #{params.endRectifyTime}</if>
<if test="principalName != null "> and principal_name like concat('%', #{principalName}, '%')</if>

Loading…
Cancel
Save