| | |
| | | return Result.success(standardTemplateService.getStandardTemplate()); |
| | | } |
| | | |
| | | @ApiOperation(value = "通过模板id和项目名称获取检验项模板内容") |
| | | @PostMapping("/getStandTempThingByTIdAndPName") |
| | | @ApiOperation(value = "通过模板id获取检验项模板内容") |
| | | @PostMapping("/getStandTempThingById") |
| | | @ValueAuth |
| | | public Result<?> getStandTempThingByTIdAndPName(Integer templateId, String inspectionItem, String inspectionItemSubclass) { |
| | | return Result.success(standardTemplateService.getStandTempThingByTIdAndPName(templateId, inspectionItem, inspectionItemSubclass)); |
| | | public Result<?> getStandTempThingById(Integer id) { |
| | | return Result.success(standardTemplateService.getStandTempThingById(id)); |
| | | } |
| | | |
| | | } |