| | |
| | | |
| | | @ApiOperation(value = "提交检测或校准物品的处置") |
| | | @PostMapping("/submitProcessTotaldeal") |
| | | public Result submitProcessTotaldeal(Integer id) { |
| | | public Result submitProcessTotaldeal(@RequestBody Map<String, Integer> param) { |
| | | Integer id = param.get("id"); |
| | | return Result.success(processTotaldealService.submitProcessTotaldeal(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "审核检测或校准物品的处置") |
| | | @PostMapping("/checkProcessTotaldeal") |
| | | public Result checkProcessTotaldeal(Integer id, String state) { |
| | | public Result checkProcessTotaldeal(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String state = (String) param.get("state"); |
| | | return Result.success(processTotaldealService.checkProcessTotaldeal(id, state)); |
| | | } |
| | | |
| | | @ApiOperation(value = "批准检测或校准物品的处置") |
| | | @PostMapping("/ratifyProcessTotaldeal") |
| | | public Result ratifyProcessTotaldeal(Integer id,String state) { |
| | | public Result ratifyProcessTotaldeal(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String state = (String) param.get("state"); |
| | | return Result.success(processTotaldealService.ratifyProcessTotaldeal(id,state)); |
| | | } |
| | | |