Commit 99806d7f authored by zhangsen's avatar zhangsen

fix- bug6073 日常管理>隐患治理,按逾期“否”筛选结果错误

parent 5745f4e4
......@@ -1029,8 +1029,11 @@
<if test="key == 'dangerType' and value != null and value != ''">
and a.danger_type = #{value}
</if>
<if test="key == 'overtimeState' and value != null and value != ''">
and a.overtime_state = #{value}
<if test="key == 'overtimeState' and value != null and value != '' and value == 1">
and a.reform_limit_date &lt; NOW()
</if>
<if test="key == 'overtimeState' and value != null and value != '' and value == 0">
and a.reform_limit_date &gt;= NOW()
</if>
<if test="key == 'beginDeadline' and value != null and value != ''">
and a.reform_limit_date <![CDATA[ >= ]]> #{value}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment