@ -173,6 +173,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="enterpriseNumber != null and enterpriseNumber != ''"> and enterprise_number = #{enterpriseNumber}</if>
<iftest="isDelete != null "> and is_delete = #{isDelete}</if>
<iftest="status != null "> and status = #{status}</if>
<iftest="unionNo != null and unionNo != ''"> and union_no = #{unionNo}</if>
<iftest="hasUnion != null and hasUnion != ''"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null and hasAuto != ''"> and has_auto = #{hasAuto}</if>
<!-- <if test="searchValue != null and searchValue != ''">-->
<!-- and (law_enforcement_item_text like concat(concat('%',#{searchValue}),'%')-->
@ -251,6 +254,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="deptId != null "> and dept_id = #{deptId}</if>
<iftest="isDelete != null "> and is_delete = #{isDelete}</if>
<iftest="status != null "> and status = #{status}</if>
<iftest="unionNo != null and unionNo != ''"> and union_no = #{unionNo}</if>
<iftest="hasUnion != null and hasUnion != ''"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null and hasAuto != ''"> and has_auto = #{hasAuto}</if>
<iftest="searchValue != null and searchValue != ''">
and ( enterprise_name like concat('%',#{searchValue},'%'))</if>
<iftest="dateSearch != null and dateSearch != ''">
@ -339,6 +345,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="lawEnforcementCode != null and lawEnforcementCode != ''"> and law_enforcement_code = #{lawEnforcementCode}</if>
<iftest="uniteCheck == '0'.toString()"> and unite_check is not null</if>
<iftest="uniteCheck == '1'.toString()"> and unite_check is null</if>
<iftest="unionNo != null and unionNo != ''"> and union_no = #{unionNo}</if>
<iftest="hasUnion != null and hasUnion != ''"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null and hasAuto != ''"> and has_auto = #{hasAuto}</if>
<iftest="enforce == '0'.toString()"> and check_css is not null</if>
<iftest="enforce == '1'.toString()"> and check_css is null</if>
<iftest="checkCategory != null and checkCategory != ''"> and check_category = #{checkCategory}</if>
@ -402,6 +411,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="uniteCheck == '1'.toString()"> and r.unite_check is null</if>
<iftest="enforce == '0'.toString()"> and r.check_css is null</if>
<iftest="enforce == '1'.toString()"> and r.check_css is not null</if>
<iftest="unionNo != null and unionNo != ''"> and union_no = #{unionNo}</if>
<iftest="hasUnion != null and hasUnion != ''"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null and hasAuto != ''"> and has_auto = #{hasAuto}</if>
<iftest="checkCategory != null and checkCategory != ''"> and r.check_category = #{checkCategory}</if>
<iftest="checkCss != null and checkCss != ''"> and r.check_css = #{checkCss}</if>
<iftest="lawEnforcementItemText != null and lawEnforcementItemText != ''"> and law_enforcement_item_text like concat('%', #{lawEnforcementItemText,jdbcType=VARCHAR}, '%')</if>
@ -464,6 +476,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="isDelete != null "> and is_delete = #{isDelete}</if>
<iftest="isComplaint != null "> and is_complaint = #{isComplaint}</if>
<iftest="status != null "> and status = #{status}</if>
<iftest="unionNo != null and unionNo != ''"> and union_no = #{unionNo}</if>
<iftest="hasUnion != null and hasUnion != ''"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null and hasAuto != ''"> and has_auto = #{hasAuto}</if>
<iftest="lawEnforcementCode != null and lawEnforcementCode != ''"> and law_enforcement_code = #{lawEnforcementCode}</if>
@ -1047,6 +1060,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="uniteCheck != null and uniteCheck != ''">
and r.unite_check=#{uniteCheck}
</if>
<iftest="unionNo != null and unionNo != ''"> and union_no = #{unionNo}</if>
<iftest="id != null and id != ''">
and r.id !=#{id}
</if>
@ -1061,6 +1075,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="uniteCheck != null and uniteCheck != ''">
and r.unite_check=#{uniteCheck}
</if>
<iftest="unionNo != null and unionNo != ''"> and union_no = #{unionNo}</if>