| | |
| | | public Response getAllComponent(@RequestParam int pageCurr, @RequestParam int pageSize){ |
| | | return service.getAllComponent(pageCurr,pageSize); |
| | | } |
| | | @ApiOperation(tags = "产品管理",value = "查询所有的散装件信息不分页(不包含被关联的散装件,status=1可用)") |
| | | @ApiOperation(tags = "产品管理",value = "查询所有的散装件信息不分页(不包含被最新版本关联的散装件,status=1可用)") |
| | | @GetMapping("getComponentWithoutSub") |
| | | public Response getComponentWithoutSub(@RequestParam String parentModel, @RequestParam String subName){ |
| | | return service.getComponentWithoutSub(parentModel,subName); |
| | | public Response getComponentWithoutSub(@RequestParam String parentModel, @RequestParam String subName, @RequestParam int version){ |
| | | return service.getComponentWithoutSub(parentModel,subName,version); |
| | | } |
| | | @ApiOperation(value = "删除散装件(将散装件标识为不可用)") |
| | | @GetMapping("deleteComponent") |