lxw
2022-08-19 209e2fceca9e408bf7863f6de98d2a036caec66d
src/main/java/com/whyc/controller/ProductBomController.java
@@ -32,12 +32,12 @@
    public Response searchCadDrawer(@RequestBody ProductBom productBom, @RequestParam int pageCurr, @RequestParam int pageSize){
        return service.searchCadDrawer(productBom,pageCurr,pageSize);
    }
/*
    @ApiOperation("图纸文件打包下载")
    @PostMapping("downloadCadDrawer")
    public void downloadCadDrawer(HttpServletRequest req, HttpServletResponse resp,@RequestBody List<ProductBom> boms){
        service.downloadCadDrawer(req,resp,boms);
    }
    }*/
    @ApiOperation(value = "根据子件code获取最终的信息")
    @GetMapping("getBomBySubcode")
    public Response getBomBySubcode(@RequestParam String scode){
@@ -67,11 +67,11 @@
        return service.getSubByMaterialProduct(parentModel);
    }*/
    @ApiOperation(tags = "产品管理",value = "产品打包下载")
    /*@ApiOperation(tags = "产品管理",value = "产品打包下载")
    @GetMapping("downloadBom")
    public void downloadBom(HttpServletRequest req, HttpServletResponse resp,@RequestParam String parentModel){
         service.downloadBom(req,resp,parentModel);
    }
    }*/
    @ApiOperation(tags = "散装件管理",value = "查询所有产品中没有与指定散装件关联的子件")
    @GetMapping("getAllSubWithOutMaterial")
    public Response getAllSubWithOutMaterial(@RequestParam int MaterialId){