| | |
| | | * 样品接收总表 前端控制器 |
| | | * </p> |
| | | * |
| | | * @author 芯导软件(江苏)有限公司 |
| | | * @author |
| | | * @since 2024-12-12 05:02:58 |
| | | */ |
| | | @RestController |
| | |
| | | |
| | | @ApiOperation(value = "提交样品接收") |
| | | @PostMapping("/submitProcessTotalSample") |
| | | public Result submitProcessTotalSample(Integer id) { |
| | | public Result submitProcessTotalSample(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | return Result.success(processTotalSampleService.submitProcessTotalSample(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "审核样品接收") |
| | | @PostMapping("/checkProcessTotalSample") |
| | | public Result checkProcessTotalSample(Integer id, String state) { |
| | | public Result checkProcessTotalSample(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String state = (String) param.get("state"); |
| | | return Result.success(processTotalSampleService.checkProcessTotalSample(id, state)); |
| | | } |
| | | |
| | | @ApiOperation(value = "批准样品接收") |
| | | @PostMapping("/ratifyProcessTotalSample") |
| | | public Result ratifyProcessTotalSample(Integer id,String state) { |
| | | public Result ratifyProcessTotalSample(@RequestBody Map<String, Object> param) { |
| | | Integer id = (Integer) param.get("id"); |
| | | String state = (String) param.get("state"); |
| | | return Result.success(processTotalSampleService.ratifyProcessTotalSample(id,state)); |
| | | } |
| | | |