// List<EnforcementInspectionProgram> list = enforcementInspectionProgramService.selectEnforcementInspectionProgramListNoPermission(enforcementInspectionProgram);
where (is_publish = 1 or enforcement_department_id IN ( SELECT dept_id FROM sys_dept WHERE dept_id = #{deptId} or find_in_set( #{deptId} , ancestors ) != 0 ))
<iftest="searchText != null and searchText != ''">
and (plan_name like concat('%', #{searchText}, '%')
or enforcement_department like concat('%', #{searchText}, '%')
or bureau_dept_name like concat('%', #{searchText}, '%'))
@ -107,8 +107,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="checkCategory != null and checkCategory != ''"> and check_category = #{checkCategory}</if>
<iftest="checkCss != null and checkCss != ''"> and check_css = #{checkCss}</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="hasUnion != null"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null"> and has_auto = #{hasAuto}</if>
<iftest="searchValue != null and searchValue != ''">
and (law_enforcement_item_text like concat(concat('%',#{searchValue}),'%')
@ -174,8 +174,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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="hasUnion != null"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null"> and has_auto = #{hasAuto}</if>
<!-- <if test="searchValue != null and searchValue != ''">-->
<!-- and (law_enforcement_item_text like concat(concat('%',#{searchValue}),'%')-->
@ -259,8 +259,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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="hasUnion != null"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null"> and has_auto = #{hasAuto}</if>
<iftest="searchValue != null and searchValue != ''">
and ( enterprise_name like concat('%',#{searchValue},'%'))</if>
<iftest="dateSearch != null and dateSearch != ''">
@ -350,8 +350,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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="hasUnion != null"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null"> 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>
@ -416,8 +416,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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="hasUnion != null"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null"> 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>
@ -481,8 +481,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<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="hasUnion != null"> and has_union = #{hasUnion}</if>
<iftest="hasAuto != null"> and has_auto = #{hasAuto}</if>
<iftest="lawEnforcementCode != null and lawEnforcementCode != ''"> and law_enforcement_code = #{lawEnforcementCode}</if>
<iftest="searchValue != null and searchValue != ''">
and (law_enforcement_item_text like concat(concat('%',#{searchValue}),'%')
@ -595,8 +595,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<iftest="lawId != null and lawId != ''"> law_id,</if>
<iftest="lawText != null and lawText != ''"> law_text,</if>
<iftest="unionNo != null and unionNo != ''"> union_no,</if>
<iftest="hasUnion != null and hasUnion != ''"> has_union,</if>
<iftest="hasAuto != null and hasAuto != ''"> has_auto,</if>