lxw
2022-08-03 0816268c9fc2dd7ed659906851b3346858d4c1e9
src/main/java/com/whyc/controller/ProductBomController.java
@@ -62,4 +62,15 @@
        return service.getAllBom();
    }
    @ApiOperation(tags = "产品管理",value = "产品打包下载")
    @GetMapping("downloadBom")
    public void downloadBom(HttpServletRequest req, HttpServletResponse resp,@RequestParam String parentModel){
         service.downloadBom(req,resp,parentModel);
    }
    @ApiOperation(tags = "散装件管理",value = "查询所有产品中没有与指定散装件关联的子件")
    @GetMapping("getAllSubWithOutComponent")
    public Response getAllSubWithOutComponent(@RequestParam int componentId){
        return  service.getAllSubWithOutComponent(componentId);
    }
}