|
|
|
@ -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>
|
|
|
|
|