| | |
| | | */ |
| | | @AutoLog("班制表(主表)-加载班制下拉选项") |
| | | @ApiOperation(value = "班制表(主表)-加载班制下拉选项", notes = "班制表(主表)-加载班制下拉选项") |
| | | @GetMapping("/deleteShift") |
| | | @GetMapping("/initShiftList") |
| | | public Result<List<Map<String, String>>> initShiftList() { |
| | | List<Map<String, String>> result = mdcShiftService.initShiftList(); |
| | | return Result.OK(result); |
| | |
| | | */ |
| | | @AutoLog("班制表(主表)-设置默认班制") |
| | | @ApiOperation(value = "班制表(主表)-设置默认班制", notes = "班制表(主表)-设置默认班制") |
| | | @GetMapping("/changeDefaultShift") |
| | | @PostMapping("/changeDefaultShift") |
| | | public Result<?> changeDefaultShift(@RequestParam(name = "id", required = true) String id) { |
| | | boolean result = mdcShiftService.changeDefaultShift(id); |
| | | return result ? Result.OK("设置成功!") : Result.error("设置失败!"); |