feat(wms/attendance): 为考勤查询新增员工ID集合筛选功能

在AttendanceCheckBo中新增userIds字段,用于接收员工ID集合查询条件。同步更新WmsAttendanceScheduleBo、Mapper接口及XML映射,在查询排班时支持按userIds进行筛选。Service层将考勤查询条件中的userIds传递至排班查询逻辑,实现考勤数据按指定员工范围过滤。
This commit is contained in:
2026-05-26 16:39:33 +08:00
parent b788074af7
commit 281023a2a1
6 changed files with 22 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ public class WmsAttendanceScheduleServiceImpl implements IWmsAttendanceScheduleS
// 使用关联查询获取详细信息
List<WmsAttendanceScheduleVo> list = baseMapper.selectScheduleWithDetails(
schedule.getUserId(), schedule.getWorkDate(), schedule.getShiftId(),null, null);
schedule.getUserId(), schedule.getWorkDate(), schedule.getShiftId(),null, null, null);
return list.isEmpty() ? null : list.get(0);
}
@@ -81,7 +81,7 @@ public class WmsAttendanceScheduleServiceImpl implements IWmsAttendanceScheduleS
@Override
public List<WmsAttendanceScheduleVo> queryList(WmsAttendanceScheduleBo bo) {
return baseMapper.selectScheduleWithDetails(bo.getUserId(), bo.getWorkDate(), bo.getShiftId(),
bo.getStartDate(), bo.getEndDate());
bo.getStartDate(), bo.getEndDate(), bo.getUserIds());
}
/**