| | |
| | | @Autowired |
| | | private MaterialService materialService; |
| | | |
| | | @ApiOperation("添加物料") |
| | | @ApiOperation(value = "添加指标-->选择样品名称") |
| | | @GetMapping("/selectmater") |
| | | public Result selectmater() { |
| | | return Result.success(materialService.selectmater()); |
| | | } |
| | | |
| | | @ApiOperation("添加指标") |
| | | @PostMapping("/add") |
| | | public Result<?> addMaterialInformation(@Validated @RequestBody AddMaterialDto addMaterialDto) { |
| | | Integer isMaterialSuccess = materialService.addMaterialInformation(addMaterialDto); |
| | |
| | | return Result.fail("删除失败!"); |
| | | } |
| | | |
| | | @ApiOperation("侧边栏四级展开") |
| | | @ApiOperation(value = "标准库-->物料-->侧边栏四级展开", tags = "⭐⭐⭐后端调整") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(value = "型号/型号名称", name = "specificationName", dataTypeClass = String.class) |
| | | }) |