From 8b88ae3f620ca18b7ad570bb2dcc68c15f01eb16 Mon Sep 17 00:00:00 2001 From: songwenxuan <1924103812@qq.com> Date: Wed, 12 Jun 2024 10:06:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=89=B9=E7=A7=8D=E4=BD=9C?= =?UTF-8?q?=E4=B8=9Abug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mybatis/datasource/bus/SpecialUserMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/mybatis/datasource/bus/SpecialUserMapper.xml b/src/main/resources/mybatis/datasource/bus/SpecialUserMapper.xml index 365b6eb1..28de9b6e 100644 --- a/src/main/resources/mybatis/datasource/bus/SpecialUserMapper.xml +++ b/src/main/resources/mybatis/datasource/bus/SpecialUserMapper.xml @@ -272,7 +272,7 @@ cuser.USERNAME as cuserName , ccorp.CORP_NAME as corpName , poDic.NAME as operationName , - count(distinct poDic.NAME) OPERATE_COUNT + count(1) OPERATE_COUNT from f left join bus_relevantunit unit on unit.RELEVANTUNIT_ID = f.UNIT_ID @@ -287,7 +287,7 @@ and poDic.NAME LIKE CONCAT(CONCAT('%', #{pd.operationName}),'%') ) - GROUP BY operationName + GROUP BY SPECIAL_TYPE order by f.CREATTIME desc