| | |
| | | return Result.success(inspectionService.delInspect(id)); |
| | | } |
| | | |
| | | @ApiOperation(value = "获取成品信息") |
| | | @PostMapping("/getMaterielTypeIsOne") |
| | | @AuthHandler(type = InterfaceType.SELECT,menuId = MenuEnums.inspectionApplication,isAdd = true) |
| | | public Result getMaterielTypeIsOne(){ |
| | | return Result.success(inspectionService.getMaterielTypeIsOne()); |
| | | } |
| | | |
| | | |
| | | @ApiOperation(value = "根据成品获取规格型号") |
| | | @PostMapping("/getSpecificationByMaterielId") |
| | | @AuthHandler(type = InterfaceType.SELECT,menuId = MenuEnums.inspectionApplication,isAdd = true) |
| | | public Result getSpecification(Integer id){ |
| | | return Result.success(inspectionService.getSpecification(id)); |
| | | } |
| | | } |
| | | |