| | |
| | | |
| | | import java.util.List; |
| | | |
| | | @Api(tags = "技术管理-->标准MOM-->项目模块") |
| | | @Api(tags = "技术管理-->标准BOM-->技术指标(检验项目)") |
| | | @RestController |
| | | @RequestMapping("/product") |
| | | public class ProductController { |
| | |
| | | @Autowired |
| | | private ProductService productService; |
| | | |
| | | @ApiOperation(value = "项目表格二级树") |
| | | @ApiImplicitParams(value = { |
| | | @ApiImplicitParam(name = "project", value = "项目", dataTypeClass = String.class), |
| | | @ApiImplicitParam(name = "specifications", value = "型号ID", dataTypeClass = String.class, required = true) |
| | | }) |
| | | @GetMapping("/selectTreeByMaterial") |
| | | public Result<?> selectTreeProduct(String specifications, String project){ |
| | | List<ProductDto> map = productService.selectTreeProduct(specifications, project); |
| | | return Result.success(map); |
| | | } |
| | | } |