From 1496a2640408f000f31e01ebe90b5ef97237f5a1 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期二, 19 八月 2025 19:42:46 +0800 Subject: [PATCH] 修改婚姻bug && 管理员修改用户信息时 同步修改用户姓名、性别、婚姻状态 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZPropertyController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZPropertyController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZPropertyController.java index bb80f76..d2a566d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZPropertyController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/zhang/ZPropertyController.java @@ -152,7 +152,7 @@ { for (Long id: ids) { List<MemoBook> memoBookService1 = memoBookService.selectByIdAFid(id,2026L); - if (!memoBookService.removeByIds(memoBookService1)) + if (memoBookService1.size() != 0 && !memoBookService.removeByIds(memoBookService1)) return AjaxResult.error(); } -- Gitblit v1.9.1