Browse Source

修改内容:角色操作

shishaosong 1 year ago
parent
commit
10257947da

+ 5 - 5
game-module/game-module-manage/src/main/java/com/zanxiang/game/module/manage/service/impl/RoleAssignRecordServiceImpl.java

@@ -190,17 +190,17 @@ public class RoleAssignRecordServiceImpl extends ServiceImpl<RoleAssignRecordMap
                         .startTime(item.getStartTime())
                         .endTime(item.getEndTime())
                         .gsId(item.getGsId())
-                        .gsName(getNickname(item.getGsId()))
+                        .gsName(null == item.getGsId() ? null : getNickname(item.getGsId()))
                         .operUserId(item.getOperUserId())
-                        .operUserName(getNickname(item.getOperUserId()))
+                        .operUserName(null == item.getOperUserId() ? null : getNickname(item.getOperUserId()))
                         .customerServiceId(item.getCustomerServiceId())
-                        .customerServiceName(getNickname(item.getCustomerServiceId()))
+                        .customerServiceName(null == item.getCustomerServiceId() ? null : getNickname(item.getCustomerServiceId()))
                         .remark(item.getRemark())
                         .createBy(item.getCreateBy())
-                        .createName(getNickname(item.getCreateBy()))
+                        .createName(null == item.getCreateBy() ? null : getNickname(item.getCreateBy()))
                         .createTime(item.getCreateTime())
                         .updateBy(item.getUpdateBy())
-                        .updateName(getNickname(item.getUpdateBy()))
+                        .updateName(null == item.getUpdateBy() ? null : getNickname(item.getUpdateBy()))
                         .updateTime(item.getUpdateTime())
                         .build());
     }