From b13e4769651fd6eca80c2bb7985c66f76fe3b48c Mon Sep 17 00:00:00 2001 From: linbangquan <1437892690@qq.com> Date: Fri, 26 Jan 2024 16:29:17 +0800 Subject: [PATCH] =?UTF-8?q?[=E4=BF=AE=E5=A4=8D]=20=E5=B7=A5=E5=8D=95?= =?UTF-8?q?=E5=A4=84=E7=90=86-=E5=B7=A5=E5=8D=95=E5=A4=84=E7=90=86?= =?UTF-8?q?=E4=BA=BA=E6=98=AF=E5=88=86=E7=BB=84=EF=BC=8C=E5=88=A0=E9=99=A4?= =?UTF-8?q?=E7=BB=84=E5=90=8E=EF=BC=8C=E5=BA=94=E8=AF=A5=E4=BF=9D=E7=95=99?= =?UTF-8?q?=E7=BB=84=E6=95=B0=E6=8D=AE=EF=BC=8C=E6=8F=90=E7=A4=BA=E5=B7=B2?= =?UTF-8?q?=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 关联 #[1070994834292736]工单处理-工单处理人是分组,删除组后,应该保留组数据,提示已删除 http://192.168.0.96:8090/demo/rdm.html#/bug-detail/939050947543040/939050947543057/1070994834292736/939050947543057/1076049247436800 --- .../java/neatlogic/module/tenant/api/role/RoleSaveApi.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/neatlogic/module/tenant/api/role/RoleSaveApi.java b/src/main/java/neatlogic/module/tenant/api/role/RoleSaveApi.java index f4cc4d87..c804a0a8 100644 --- a/src/main/java/neatlogic/module/tenant/api/role/RoleSaveApi.java +++ b/src/main/java/neatlogic/module/tenant/api/role/RoleSaveApi.java @@ -90,13 +90,14 @@ public class RoleSaveApi extends PrivateApiComponentBase { roleVo.setRule(jsonObj.getString("rule")); String uuid = jsonObj.getString("uuid"); if (StringUtils.isNotBlank(uuid)) { + roleVo.setUuid(uuid); if (roleMapper.checkRoleIsExists(uuid) == 0) { throw new RoleNotFoundException(uuid); } if (roleMapper.checkRoleNameIsIsRepeat(roleVo) > 0) { throw new RoleNameRepeatException(roleVo.getName()); } - roleVo.setUuid(uuid); + roleVo.setIsDelete(0); roleMapper.updateRole(roleVo); } else { if (roleMapper.checkRoleNameIsIsRepeat(roleVo) > 0) { -- Gitee