liyong
2026-05-21 8e89f95b9db4039f0cb8b4b8dc7974c247366c4c
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));
    }
}