| | |
| | | package cn.iocoder.yudao.module.hrm.controller.admin.attendance; |
| | | |
| | | import cn.iocoder.yudao.framework.common.pojo.CommonResult; |
| | | import cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo.HrmEmployeeScheduleBatchSaveReqVO; |
| | | import cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo.HrmEmployeeScheduleBatchSaveRespVO; |
| | | import cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo.HrmEmployeeScheduleListReqVO; |
| | | import cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo.HrmEmployeeScheduleRespVO; |
| | | import cn.iocoder.yudao.module.hrm.controller.admin.attendance.vo.HrmEmployeeScheduleSaveReqVO; |
| | |
| | | return success(true); |
| | | } |
| | | |
| | | @PostMapping("/batch-save") |
| | | @Operation(summary = "按部门+岗位批量排班(一类人一次排完)") |
| | | @PreAuthorize("@ss.hasPermission('hrm:employee-schedule:save')") |
| | | public CommonResult<HrmEmployeeScheduleBatchSaveRespVO> batchSaveEmployeeSchedule( |
| | | @Valid @RequestBody HrmEmployeeScheduleBatchSaveReqVO reqVO) { |
| | | return success(employeeScheduleService.batchSaveSchedule(reqVO)); |
| | | } |
| | | |
| | | } |