| | |
| | | |
| | | @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)); |
| | | } |
| | | |