diff --git a/ruoyi-system/src/main/resources/mapper/ehs/EhsHiddenDangerMapper.xml b/ruoyi-system/src/main/resources/mapper/ehs/EhsHiddenDangerMapper.xml index c56cc01..a9376a4 100644 --- a/ruoyi-system/src/main/resources/mapper/ehs/EhsHiddenDangerMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/ehs/EhsHiddenDangerMapper.xml @@ -59,7 +59,7 @@ FROM ehs_hidden_danger h LEFT JOIN sys_dept d ON h.dept_id = d.dept_id and check_type like concat('%', #{checkType}, '%') and hidden_danger_img = #{hiddenDangerImg} and rectify_measure like concat('%', #{rectifyMeasure}, '%') - and status like concat('%', #{status}, '%') + and h.status = #{status} and rectify_time between #{params.beginRectifyTime} and #{params.endRectifyTime} and principal_name like concat('%', #{principalName}, '%')