fix(system): 修复用户数据统计问题

master
yang 2025-04-10 15:14:30 +08:00
parent 1479666516
commit f3e5e93173
2 changed files with 3 additions and 3 deletions

View File

@ -733,8 +733,8 @@ public class SysUserServiceImpl implements ISysUserService
@Override
public UserDataVo getUserData() {
return UserDataVo.builder()
.userCount(this.getMonthUserCount())
.monthUserCount(this.getUserCount())
.userCount(this.getUserCount())
.monthUserCount(this.getMonthUserCount())
.build();
}

View File

@ -182,7 +182,7 @@
</select>
<select id="getUserCount" resultType="java.lang.Integer">
select COALESCE(count(*), 0) from sys_user
select COALESCE(count(*), 0) from sys_user where del_flag = '0'
</select>
<select id="getMonthUserCount" resultType="java.lang.Integer">