liding
昨天 dc133223435ce34f378dfc024c9d7581ab478067
src/main/java/com/ruoyi/measuringinstrumentledger/controller/SparePartsController.java
@@ -58,4 +58,10 @@
        return AjaxResult.success(sparePartsService.removeById(id));
    }
    @GetMapping("getByIdDeviceId")
    @ApiOperation("备件分类-查询")
    public AjaxResult getByDeviceId(Long deviceLedgerId){
        return AjaxResult.success(sparePartsService.getByDeviceId(deviceLedgerId));
    }
}