智慧保安后台管理项目备份
zengh
2021-08-15 55dfe05f0a6120d686b9977b24149b2c468b7d5f
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -775,6 +775,13 @@
        WHERE id!=1123598813738675201
    </select>
    <select id="selectExtypeUser" resultType="java.lang.Integer">
        SELECT
            COUNT( CASE WHEN (examination_mx is null or examination_mx = "") THEN 1 END ) as sum
        FROM
            blade_user
    </select>
    <!--派遣保安人數量-->
    <select id="selectPcount" resultType="java.util.HashMap">
        SELECT COUNT
@@ -818,7 +825,6 @@
    </delete>
    <select id="selectLi" resultType="java.util.HashMap">
        SELECT
            IFNULL( A.num, 0 ) AS num,
@@ -832,7 +838,8 @@
            d.dept_name AS deptname,
            j.dept_name AS jurname
        FROM
            ( SELECT COUNT( * ) AS num, dept_id, jurisdiction FROM blade_user WHERE role_id = '1412226235153731586' GROUP BY dept_id, jurisdiction ) A
        ( SELECT COUNT( * ) AS num, dept_id, jurisdiction FROM blade_user WHERE role_id = '1412226235153731586' GROUP BY
        dept_id, jurisdiction ) A
                LEFT JOIN (
                SELECT
                    COUNT( * ) AS cznum,