智慧保安后台管理项目备份
tangzy
2021-08-13 df1b0194375f13c640a0fc26a4fb82a65d48727f
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -23,6 +23,9 @@
        <result column="departmentid" property="departmentid"/>
        <result column="stats" property="stats"/>
        <result column="jurisdiction" property="jurisdiction"/>
        <result column="representativecell" property="representativecell"/>
        <result column="contacts" property="contacts"/>
        <result column="contactscell" property="contactscell"/>
    </resultMap>
@@ -151,8 +154,7 @@
        IFNULL(A.amount, 0) AS lastamount,
        IFNULL(B.amount, 0) AS thisamount
        FROM (
        SELECT COUNTb.
        (*) AS lastmonth,
        SELECT COUNT(*) AS lastmonth,
        amount,
        deptid
        FROM
@@ -173,8 +175,7 @@
        deptid
        ) A
        left JOIN (
        SELECT COUNT
        (*) AS thismouth,
        SELECT COUNT(*) AS thismouth,
        amount,
        deptid
        FROM