From 4577179ec2eab3ef7ddf259d703ba18eb095ff7a Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Fri, 10 Sep 2021 14:39:28 +0800
Subject: [PATCH] 统计接口
---
src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml | 8 ++++----
1 files changed, 4 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 c7f23de..2a61191 100644
--- a/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
+++ b/src/main/java/org/springblade/modules/information/mapper/InformationMapper.xml
@@ -178,7 +178,7 @@
) H
LEFT JOIN(
SELECT
- COUNT( * ) AS thisnum,real_name,paper_time,
+ COUNT( * ) AS thisnum,
group_concat(real_name) AS czname,
group_concat(IFNULL(paper_time,0)) AS czptime,
dept_id
@@ -190,11 +190,11 @@
AND is_deleted = 0
AND hold = 1
GROUP BY
- dept_id,real_name,paper_time
+ dept_id
) A ON A.dept_id=H.departmentid
LEFT JOIN (
SELECT
- COUNT(*) AS lastnum,real_name,paper_time,
+ COUNT(*) AS lastnum,
group_concat(real_name) AS wczname,
group_concat(IFNULL(paper_time,0)) AS wczptime,
dept_id
@@ -206,7 +206,7 @@
AND is_deleted = 0
AND hold = 2
GROUP BY
- dept_id,real_name,paper_time
+ dept_id
) B ON B.dept_id=H.departmentid
where 1=1
<if test="deptid!=null and deptid!=''">
--
Gitblit v1.9.3