| | |
| | | @ApiOperation(value = "新增编辑日常安全检查") |
| | | public AjaxResult saveDailySafetyInspection(@Validated @RequestBody DailySafetyInspection dailySafetyInspection) |
| | | { |
| | | dailySafetyInspection.setScratchpad(2); |
| | | return toAjax(dailySafetyInspectionService.saveDailySafetyInspection(dailySafetyInspection)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 暂存日常安全检查 |
| | | */ |
| | | @PostMapping("/scratchpadDailySafetyInspection") |
| | | @ApiOperation(value = "暂存日常安全检查") |
| | | public AjaxResult scratchpadDailySafetyInspection( @RequestBody DailySafetyInspection dailySafetyInspection) |
| | | { |
| | | dailySafetyInspection.setScratchpad(1); |
| | | return toAjax(dailySafetyInspectionService.saveDailySafetyInspection(dailySafetyInspection)); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 删除通知公告 |
| | | */ |
| | | @GetMapping("/deleteDailySafetyInspection") |