| | |
| | | * 检测或校准物品的处置总表(历史) 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @author |
| | | * @since 2024-11-02 03:59:09 |
| | | */ |
| | | @RestController |
| | |
| | | |
| | | @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)); |
| | | } |
| | | |