feat(wms/attendance): 新增排班批量修改功能

- 新增BatchUpdateScheduleBo类,用于接收批量修改排班的请求参数
- 在IWmsAttendanceScheduleService接口中定义batchUpdateSchedule方法
- 在WmsAttendanceScheduleController中新增批量修改排班的API接口
- 在WmsAttendanceScheduleServiceImpl中实现批量修改排班逻辑,支持更新已有记录和插入新记录
This commit is contained in:
2026-05-25 11:26:13 +08:00
parent 3d92528179
commit 69ea51ec93
4 changed files with 88 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ import com.klp.domain.WmsAttendanceSchedule;
import com.klp.domain.vo.WmsAttendanceScheduleVo;
import com.klp.domain.bo.WmsAttendanceScheduleBo;
import com.klp.domain.bo.GenerateScheduleBo;
import com.klp.domain.bo.BatchUpdateScheduleBo;
import com.klp.common.core.page.TableDataInfo;
import com.klp.common.core.domain.PageQuery;
@@ -52,4 +53,9 @@ public interface IWmsAttendanceScheduleService {
* 生成排班
*/
void generateSchedule(List<GenerateScheduleBo> boList);
/**
* 批量修改指定日期多个员工的班次
*/
void batchUpdateSchedule(BatchUpdateScheduleBo bo);
}