zhangherong
2025-05-15 8fb8d37784ce6c466f7142275e1eace2cb012e44
lxzn-module-dnc/src/main/java/org/jeecg/modules/dnc/controller/ComponentInfoController.java
@@ -78,8 +78,8 @@
    @AutoLog(value = "借用部件(可批量)")
    @ApiOperation(value = "借用部件(可批量)", notes = "借用部件(可批量)")
    @PostMapping("/borrow")
    public Result<?> borrowComponent(@RequestParam("oldId") String oldId, @RequestParam("newIds") String newIds) {
    @GetMapping("/borrow")
    public Result<?> borrowComponent(String oldId, String newIds) {
        return componentInfoService.borrowComponent(oldId,newIds);
    }
}