and (i.enterprise_address like concat('深圳市',substring_index(#{qy}, "区",1), '区%')or i.enterprise_address like concat('深圳市',substring_index(#{qy}, "区",1), '新区%'))
<iftest="enterpriseId != null and enterpriseId != ''"> and enterprise_id = #{enterpriseId}</if>
<iftest="enterpriseName != null and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if>
<iftest="enterpriseNumber != null and enterpriseNumber != ''"> and enterprise_number = #{enterpriseNumber}</if>
@ -433,6 +435,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and is_complaint is not null
and check_category is not null
and bureau_dept_id is not null
and is_submit=1
<iftest="deptQx != null and deptQx != ''">and bureau_dept_id =#{deptQx}</if>
<iftest="lawEnforcement != null and lawEnforcement != ''"> and law_enforcement like concat('%', #{lawEnforcement}, '%')</if>
<iftest="bureauDeptName != null and bureauDeptName != ''"> and bureau_dept_name like concat('%', #{bureauDeptName}, '%')</if>
@ -507,6 +510,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and r.is_complaint is not null
and r.check_category is not null
and r.bureau_dept_id is not null
and is_submit=1
<iftest="qy != null and qy != ''">
and (enterprise_address like concat('深圳市',substring_index(#{qy}, "区",1), '区%')or enterprise_address like concat('深圳市',substring_index(#{qy}, "区",1), '新区%'))
<iftest="jd != null and jd != ''">
@ -972,6 +976,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and r.is_complaint is not null
and r.check_category is not null
and r.bureau_dept_id is not null
and r.is_submit=1
<iftest="qy != null and qy != ''">
and (enterprise_address like concat('深圳市',substring_index(#{qy}, "区",1), '区%')or enterprise_address like concat('深圳市',substring_index(#{qy}, "区",1), '新区%'))
<iftest="jd != null and jd != ''">
@ -1043,6 +1048,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and is_complaint is not null
and check_category is not null
and bureau_dept_id is not null
and is_submit=1
<iftest="enterpriseName != null and enterpriseName != ''">
AND enterprise_name like concat(concat('%',#{enterpriseName}),'%')