| | |
| | | } |
| | | |
| | | @ValueClassify("检验任务") |
| | | @ApiOperation(value = "扫码报检") |
| | | @ApiOperation(value = "扫码报检(入库)") |
| | | @PostMapping("/scanInsOrderState") |
| | | public Result scanInsOrderState(String sonLaboratory,String sampleCode) { |
| | | return Result.success(insOrderPlanService.scanInsOrderState(sonLaboratory,sampleCode)); |
| | | public Result scanInsOrderState(String sonLaboratory,String sampleCode,String trees) { |
| | | return Result.success(insOrderPlanService.scanInsOrderState(sonLaboratory,sampleCode,trees)); |
| | | } |
| | | |
| | | @ValueClassify("检验任务") |
| | | @ApiOperation(value = "扫码出库") |
| | | @PostMapping("/outInsOrderState") |
| | | public Result outInsOrderState(String sonLaboratory,String sampleCode) { |
| | | return Result.success(insOrderPlanService.outInsOrderState(sonLaboratory,sampleCode)); |
| | | } |
| | | |
| | | @ValueAuth |
| | | @PostMapping("/preview") |
| | | @ApiOperation("预览文件") |
| | | public Result<?> preview(Integer id)throws Exception { |
| | | return Result.success(insOrderPlanService.preview(id)); |
| | | } |
| | | |
| | | } |