From b4bd0fd02b8561e55f00c2221ed179810813f602 Mon Sep 17 00:00:00 2001 From: nixj Date: Wed, 19 Jun 2024 09:56:17 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=E3=80=91=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E8=A7=92=E8=89=B2=E7=BB=84=E7=BB=87=E6=9D=83?= =?UTF-8?q?=E9=99=90=20=E6=97=A0=E6=B3=95=E4=BF=AE=E6=94=B9=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E5=90=8D=E7=A7=B0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/chint/domain/aggregates/user/Role.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/chint/domain/aggregates/user/Role.java b/src/main/java/com/chint/domain/aggregates/user/Role.java index 8ce77285..2facb295 100644 --- a/src/main/java/com/chint/domain/aggregates/user/Role.java +++ b/src/main/java/com/chint/domain/aggregates/user/Role.java @@ -58,6 +58,9 @@ public class Role implements Serializable { if (roleOrganizationList == null) { roleOrganizationList = new ArrayList<>(); } + if (roleOrgParam.getRoleName() != null) { + this.setRoleName(roleOrgParam.getRoleName()); + } if (roleOrgParam.getSort() != null) { this.setSort(roleOrgParam.getSort()); }