| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | return Result.success(processTotaldealService.pageProcessTotaldeal(page, processTotaldeal)); |
| | | } |
| | | |
| | | @ApiOperation(value = "新增检测或校准物品的处置") |
| | | @PostMapping("/addProcessTotaldeal") |
| | | public Result addProcessTotaldeal(String month) { |
| | | return Result.success(processTotaldealService.addProcessTotaldeal(month)); |
| | | } |
| | | |
| | | @ApiOperation(value = "提交检测或校准物品的处置") |
| | | @PostMapping("/submitProcessTotaldeal") |
| | | public Result submitProcessTotaldeal(@RequestBody Map<String, Integer> param) { |
| | |
| | | return Result.success(processTotaldealService.ratifyProcessTotaldeal(id,state)); |
| | | } |
| | | |
| | | @ApiOperation(value = "导出检测或校准物品的处置") |
| | | @GetMapping("/exportProcessTotaldeal") |
| | | public void exportProcessTotaldeal(Integer id, HttpServletResponse response) { |
| | | processTotaldealService.exportProcessTotaldeal(id,response); |
| | | } |
| | | |
| | | |
| | | } |