| | |
| | | return Result.success(productService.selectInstrumentByProname(name)); |
| | | } |
| | | |
| | | @ApiOperation("选择试验方法") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "id", value = "项目id", dataTypeClass = Integer.class, required = true), |
| | | }) |
| | | @PostMapping("/selectProMethodById") |
| | | public Result selectProMethodById(Integer id) { |
| | | Product product = productService.getById(id); |
| | | return Result.success(product.getMethod()); |
| | | } |
| | | |
| | | @ApiOperation("分配检验计划中分配项目") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "id", value = "检验样品ID", dataTypeClass = Integer.class, required = true), |