From df1b0194375f13c640a0fc26a4fb82a65d48727f Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Fri, 13 Aug 2021 14:50:10 +0800
Subject: [PATCH] 1.研判分析接口修改
---
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
index ff6ebb2..71bb57e 100644
--- a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
+++ b/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
--
Gitblit v1.9.3