tangzy
2021-08-27 2dd4b51cb84f9b9097fdbd4db3d75c6eb1dabd35
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -739,7 +739,7 @@
        GROUP BY
        i.departmentid
        )
        AND role_id='1412226235153731586'
        AND role_id='1412226235153731586' and status=1 and is_deleted=0
        <if test="deptid!=null and deptid!=''">
            and dept_id =#{deptid}
        </if>
@@ -771,7 +771,7 @@
        GROUP BY
        i.departmentid
        )
        AND role_id='1412226235153731586' AND examination_type=0
        AND role_id='1412226235153731586' AND examination_type=0 and status=1 and is_deleted=0
        <if test="deptid!=null and deptid!=''">
            and dept_id =#{deptid}
        </if>
@@ -803,7 +803,7 @@
        GROUP BY
        i.departmentid
        )
        AND role_id='1412226235153731586' AND hold=1
        AND role_id='1412226235153731586' AND hold=1 and status=1 and is_deleted=0
        <if test="deptid!=null and deptid!=''">
            and dept_id =#{deptid}
        </if>
@@ -1412,6 +1412,7 @@
        FROM (
        SELECT u.enterpriseName,
        u.departmentid,
        u.jurisdiction,
        d.dept_name AS deptname,
        j.dept_name AS jurname
        FROM sys_information u