buhuazhen
2026-04-16 48d1f158e54933a4414b4092f4a0e4d71d7e1632
src/main/java/com/ruoyi/production/controller/ProductStructureController.java
@@ -34,7 +34,13 @@
    @ApiOperation("BOM查看子集详情")
    @GetMapping("/listBybomId/{bomId}")
    public R listBybomId( @PathVariable("bomId") Long bomId){
    public R listBybomId( @PathVariable("bomId") Integer bomId){
        return R.ok(productStructureService.listBybomId(bomId));
    }
    @GetMapping("/listBybomIdIsParent/{bomId}")
    public R listBybomIdIsParent(@PathVariable Integer bomId){
        return R.ok(productStructureService.listBybomIdIsParent(bomId));
    }
}