Commit Graph

5 Commits

Author SHA1 Message Date
d0a15032f2 feat(wms/attendance): 新增排班班次批量修改功能
在IWmsAttendanceScheduleService接口、WmsAttendanceScheduleController控制器和WmsAttendanceScheduleServiceImpl服务实现类中新增batchUpdateShiftByIds方法,支持通过主键ID列表批量更新排班记录的班次。新增BatchUpdateScheduleItemBo业务对象用于接收批量更新项,包含scheduleId和shiftId字段并进行非空校验。Controller层提供/batchUpdateShift端点,使用PUT请求并应用防重复提交和操作日志注解。Service层实现遍历列表并利用MyBatis-Plus的UpdateWrapper进行批量更新,确保事务一致性。
2026-05-27 17:43:41 +08:00
69ea51ec93 feat(wms/attendance): 新增排班批量修改功能
- 新增BatchUpdateScheduleBo类,用于接收批量修改排班的请求参数
- 在IWmsAttendanceScheduleService接口中定义batchUpdateSchedule方法
- 在WmsAttendanceScheduleController中新增批量修改排班的API接口
- 在WmsAttendanceScheduleServiceImpl中实现批量修改排班逻辑,支持更新已有记录和插入新记录
2026-05-25 11:26:13 +08:00
a314e05e4d feat(schedule): 修改排班生成功能支持批量处理
- 将 IWmsAttendanceScheduleService.generateSchedule 方法参数改为 List 类型
- 更新 WmsAttendanceScheduleController 中的 generateSchedule 接口接收批量数据
- 在 WmsAttendanceScheduleServiceImpl 中实现循环处理多个排班生成请求
- 保持原有的单个排班生成逻辑不变,通过遍历列表实现批量功能
2026-05-12 15:15:08 +08:00
0ecc886485 feat(attendance): 添加排班生成功能
- 在IWmsAttendanceScheduleService中新增generateSchedule方法
- 在WmsAttendanceScheduleController中添加生成排班API接口
- 实现WmsAttendanceScheduleServiceImpl中的排班生成逻辑,支持正常排班和倒班
- 扩展WmsAttendanceShiftRule实体类,添加倒班转换班次字段
- 更新WmsAttendanceShiftRule相关BO、VO类及数据库映射
- 创建GenerateScheduleBo请求对象用于接收排班生成参数
- 实现倒班规则查询和班次验证功能
- 添加排班重复性检查机制
2026-05-09 13:59:37 +08:00
e11a125d0d feat(wms): 添加考勤排班、班次及倒班规则功能模块
- 新增 IWmsAttendanceScheduleService 接口及其实现类
- 新增 IWmsAttendanceShiftService 接口及其实现类
- 新增 IWmsAttendanceShiftRuleService 接口及其实现类
- 添加 WmsAttendanceSchedule、WmsAttendanceShift、WmsAttendanceShiftRule 实体类
- 创建对应的 BO 和 VO 类用于数据传输
- 添加 WmsAttendanceScheduleController、WmsAttendanceShiftController、WmsAttendanceShiftRuleController 控制器
- 新增相应的 Mapper 接口和 XML 映射文件
- 实现分页查询、新增、修改、删除等基础功能
- 集成 Excel 导出功能和数据校验机制
2026-05-08 15:40:39 +08:00