lxw
2022-08-19 5d9865a1b1d48cb3192ecce036f706ef582c1424
src/main/java/com/whyc/controller/ProductBomController.java
@@ -63,9 +63,9 @@
    }
    @ApiOperation(tags = "产品管理",value = "根据母料型号查询子件信息及有最新版本关联的散装件信息")
    @GetMapping("getSubByComponentProduct")
    public Response getSubByComponentProduct(@RequestParam String parentModel){
        return service.getSubByComponentProduct(parentModel);
    @GetMapping("getSubByMaterialProduct")
    public Response getSubByMaterialProduct(@RequestParam String parentModel){
        return service.getSubByMaterialProduct(parentModel);
    }
    @ApiOperation(tags = "产品管理",value = "产品打包下载")
@@ -74,9 +74,9 @@
         service.downloadBom(req,resp,parentModel);
    }
    @ApiOperation(tags = "散装件管理",value = "查询所有产品中没有与指定散装件关联的子件")
    @GetMapping("getAllSubWithOutComponent")
    public Response getAllSubWithOutComponent(@RequestParam int componentId){
        return  service.getAllSubWithOutComponent(componentId);
    @GetMapping("getAllSubWithOutMaterial")
    public Response getAllSubWithOutMaterial(@RequestParam int MaterialId){
        return  service.getAllSubWithOutMaterial(MaterialId);
    }
}