Przeglądaj źródła

Revert "数据权限"

This reverts commit 12914d19
lyq 4 miesięcy temu
rodzic
commit
65c74afb0a

+ 0 - 2
src/main/resources/mapper/lawenforcement/LawenforcementCaseMapper.xml

@@ -38,7 +38,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
 
     <select id="selectLawenforcementCaseList" parameterType="LawenforcementCase" resultMap="LawenforcementCaseResult">
         <include refid="selectLawenforcementCaseVo"/>
-        left join ${database_system}.sys_dept d on d.dept_id = a.dept_id
         <where>
             <if test="deptName != null  and deptName != ''"> and dept_name like concat('%', #{deptName}, '%')</if>
             <if test="recordId != null  and recordId != ''"> and record_id = #{recordId}</if>
@@ -48,7 +47,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="punishType != null  and punishType != ''"> and punish_type = #{punishType}</if>
             <if test="describe != null  and describe != ''"> and `describe` = #{describe}</if>
             <if test="state != null  and state != ''"> and state = #{state}</if>
-            ${params.dataScope}
         </where>
         order by a.create_time desc
     </select>