| | |
| | | private StandardTemplateService standardTemplateService; |
| | | |
| | | @ApiOperation(value = "获取项目检验参数列表") |
| | | @PostMapping("/selectItemParameterList") |
| | | public Result selectItemParameterList(Page page,StructureItemParameter itemParameter) throws Exception { |
| | | @GetMapping("/selectItemParameterList") |
| | | public Result selectItemParameterList(Page page,StructureItemParameter itemParameter) { |
| | | return Result.success(capacityScopeService.selectItemParameterList(page, itemParameter)); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除项目检验参数") |
| | | @PostMapping("/delItemParameter") |
| | | @DeleteMapping("/delItemParameter") |
| | | public Result<?> delItemParameter(Integer id) { |
| | | return Result.success(capacityScopeService.delItemParameter(id)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "获取检验对象") |
| | | @PostMapping("/selectTestObjectList") |
| | | public Result selectTestObjectList(Page page,PageTestObjectDto pageTestObjectDto) throws Exception { |
| | | @GetMapping("/selectTestObjectList") |
| | | public Result selectTestObjectList(Page page,PageTestObjectDto pageTestObjectDto) { |
| | | return Result.success(capacityScopeService.selectTestObjectList(page, pageTestObjectDto)); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除检验对象") |
| | | @PostMapping("/delTestObject") |
| | | @DeleteMapping("/delTestObject") |
| | | public Result<?> delTestObject(Integer id) { |
| | | return Result.success(capacityScopeService.delTestObject(id)); |
| | | } |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "设备里面选择检验项目(树形结构)") |
| | | @PostMapping("/getInsProduction") |
| | | @GetMapping("/getInsProduction") |
| | | public Result getInsProduction() { |
| | | return Result.success(capacityScopeService.getInsProduction()); |
| | | } |
| | | |
| | | @ApiOperation(value = "维护检验对象的产品") |
| | | @PostMapping("/selectProductListByObjectId") |
| | | public Result selectProductListByObjectId(Page page,ProductDTO1 productDTO) throws Exception { |
| | | @GetMapping("/selectProductListByObjectId") |
| | | public Result selectProductListByObjectId(Page page,ProductDTO1 productDTO) { |
| | | return Result.success(productService.selectProductListByObjectId(page, productDTO)); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "删除产品") |
| | | @PostMapping("/delProduct") |
| | | @DeleteMapping("/delProduct") |
| | | public Result delProduct(Integer id) { |
| | | return Result.success(productService.delProduct(id)); |
| | | } |
| | |
| | | buffer.append("]"); |
| | | str.setRadiusList(buffer.toString()); |
| | | } |
| | | // 收费标准 |
| | | //收费标准 |
| | | if (list1.get(26) == null) { |
| | | str.setRates(null); |
| | | } else { |