diff --git a/blade-core-develop/src/main/resources/templates/controller.java.vm b/blade-core-develop/src/main/resources/templates/controller.java.vm index e479ef9..d241449 100644 --- a/blade-core-develop/src/main/resources/templates/controller.java.vm +++ b/blade-core-develop/src/main/resources/templates/controller.java.vm @@ -159,7 +159,7 @@ public class $!{table.controllerName} { @PostMapping("/remove") @ApiOperationSupport(order = 7) @Operation(summary = "逻辑删除", description = "传入ids") - public R remove(@Parameter(name = "主键集合", required = true) @RequestParam String ids) { + public R remove(@Parameter(description = "主键集合", required = true) @RequestParam String ids) { return R.status($!{table.entityPath}Service.deleteLogic(Func.toLongList(ids))); } @@ -171,7 +171,7 @@ public class $!{table.controllerName} { @PostMapping("/remove") @ApiOperationSupport(order = 8) @Operation(summary = "删除", description = "传入ids") - public R remove(@Parameter(name = "主键集合", required = true) @RequestParam String ids) { + public R remove(@Parameter(description = "主键集合", required = true) @RequestParam String ids) { return R.status($!{table.entityPath}Service.removeByIds(Func.toLongList(ids))); }