src/main/java/com/ruoyi/production/controller/ProductStructureController.java
@@ -37,4 +37,10 @@ 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)); } }