whycxzp
2022-08-08 090fc1f6d92f438ba2bd5c124ab0b9715bd3cbbb
src/main/java/com/whyc/controller/ProductBomController.java
@@ -62,6 +62,12 @@
        return service.getAllBom();
    }
    @ApiOperation(tags = "产品管理",value = "根据母料型号查询子件信息及有最新版本关联的散装件信息")
    @GetMapping("getSubByComponentProduct")
    public Response getSubByComponentProduct(@RequestParam String parentModel){
        return service.getSubByComponentProduct(parentModel);
    }
    @ApiOperation(tags = "产品管理",value = "产品打包下载")
    @GetMapping("downloadBom")
    public void downloadBom(HttpServletRequest req, HttpServletResponse resp,@RequestParam String parentModel){