| | |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "执行检验操作") |
| | | @PostMapping("/doInsOrder") |
| | | @ApiOperation(value = "查询检验操作") |
| | | @GetMapping("/doInsOrder") |
| | | public Result<?> doInsOrder(Integer id, String laboratory) { |
| | | return Result.success(insOrderPlanService.doInsOrder(id, laboratory)); |
| | | } |
| | | |
| | | @PostMapping("/getInsProduct") |
| | | @ApiOperation("获取检验项目和模板内容") |
| | | @GetMapping("/getInsProduct") |
| | | public Result<?> getInsProduct(InsOrderPlanProductDto insOrderPlanProductDto) { |
| | | return Result.success(insOrderPlanService.getInsProduct(insOrderPlanProductDto)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "判断交接的试验室") |
| | | @PostMapping("/upPlanUser2") |
| | | @GetMapping("/upPlanUser2") |
| | | public Result<?> upPlanUser2(Integer orderId) { |
| | | return Result.success(insOrderPlanService.upPlanUser2(orderId)); |
| | | } |
| | |
| | | |
| | | |
| | | @ApiOperation(value = "删除附件") |
| | | @PostMapping("/delfile") |
| | | @DeleteMapping("/delfile") |
| | | public Result<?> delfile(Integer id) { |
| | | return Result.success(insOrderFileService.removeById(id)); |
| | | } |
| | |
| | | |
| | | |
| | | @ApiOperation(value = "电缆配置,查看配置标识") |
| | | @PostMapping("/getCableTag") |
| | | @GetMapping("/getCableTag") |
| | | public Result<?> getCableTag(Integer id, String laboratory) { |
| | | return Result.success(insOrderPlanService.getCableTag(id, laboratory)); |
| | | } |
| | | |
| | | @ApiOperation(value = "原材料,查看配置标识") |
| | | @PostMapping("/getRawMaterialTag") |
| | | @GetMapping("/getRawMaterialTag") |
| | | public Result<?> getRawMaterialTag(Integer id, String laboratory) { |
| | | return Result.success(insOrderPlanService.getRawMaterialTag(id, laboratory)); |
| | | } |
| | | |
| | | @ApiOperation(value = "查看重复标识") |
| | | @PostMapping("/getRepetitionTag") |
| | | @GetMapping("/getRepetitionTag") |
| | | public Result<?> getRepetitionTag(Integer id, String laboratory, String cableTag) { |
| | | return Result.success(insOrderPlanService.getRepetitionTag(id, laboratory, cableTag)); |
| | | } |
| | | |
| | | @ApiOperation("获取不合格数据") |
| | | @PostMapping("/getInsProductUnqualified") |
| | | @GetMapping("/getInsProductUnqualified") |
| | | public Result<?> getInsProductUnqualified(InsOrderPlanProductDto insOrderPlanProductDto) { |
| | | return Result.success(insOrderPlanService.getInsProductUnqualified(insOrderPlanProductDto)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation("获取不合格复测数据") |
| | | @PostMapping("/getInsProductUnqualifiedRetest") |
| | | @GetMapping("/getInsProductUnqualifiedRetest") |
| | | public Result<?> getInsProductUnqualifiedRetest(Integer id, Integer type, String laboratory, String cableTag, String rawMaterialTag, String retestTag) { |
| | | return Result.success(insOrderPlanService.getInsProductUnqualifiedRetest(id, type, laboratory, cableTag, rawMaterialTag, retestTag)); |
| | | } |