新增禁用用户不被考勤页面检索

This commit is contained in:
2025-12-01 16:55:18 +08:00
parent 789a6e17e4
commit 96efdbc32e

View File

@@ -166,7 +166,7 @@ public class SysOaAttendanceServiceImpl implements ISysOaAttendanceService {
@Override
public TableDataInfo<SysUserVo> workerList(SysOaAttendanceBo bo) {
List<Long> userIds = sysUserRoleMapper.selectUserIdsByRoleId(1852970465740505090L);
List<Long> userIds = sysUserRoleMapper.selectUserIdsByRoleIdAndEnable(1852970465740505090L);
// 如果这个时间为空,则默认查询当月记录
Date firstDay;
Date lastDay;