Commit 5507eeeb authored by zhangjianqian's avatar zhangjianqian

重新做隐患台账,修改隐患排查

parent bdbc2c15
......@@ -26,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<where>
a.is_del='0' and b.dict_type='t_nfc_region'
<if test="region != null and region != ''"> and region = #{region}</if>
<if test="patrolAddress != null and patrolAddress != ''"> and patrol_address = #{patrolAddress}</if>
<if test="patrolAddress != null and patrolAddress != ''"> and patrol_address like concat('%',#{patrolAddress},'%') </if>
<if test="nfcNum != null and nfcNum != ''"> and nfc_num = #{nfcNum}</if>
<if test="applyWorkStartTime!=null and applyWorkStartTime!=''">
and a.create_time &gt;= #{applyWorkStartTime}
......@@ -107,7 +107,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join sys_dict_data d on b.region=d.dict_value
<where>
b.is_del='0' and d.dict_type='t_nfc_region'
<if test="patrolAddress != null and patrolName != ''">
<if test="patrolAddress != null and patrolAddress != ''">
and b.patrol_address like concat('%', #{patrolAddress}, '%')
</if>
<if test="region != null and region != ''">
......
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