任务BUG修改

This commit is contained in:
秦鸿展
2026-02-09 16:53:46 +08:00
parent 9cdb5a8896
commit 308f79b804
10 changed files with 188 additions and 34 deletions
@@ -366,6 +366,10 @@ public class UserAPI extends BaseController {
@Log(title = "用户中台管理-删除", description ="批量删除用户",businessType = BusinessType.DELETE)
@DeleteMapping("/removeByIds/{ids}")
public AjaxResult removeByIds(@PathVariable List<Long> ids) {
// 检查ids是否为空
if (ids == null || ids.isEmpty()) {
return error("删除的用户ID列表不能为空");
}
return toAjax(userApplicationService.deleteByIds(ids));
}