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