From d177a351ac4664add2bdc4c7540de43719f21461 Mon Sep 17 00:00:00 2001 From: wangliwen Date: Tue, 13 Dec 2022 17:56:17 +0800 Subject: [PATCH] ... --- .../modules/audit_team/controller/SysAuditTeamController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renren-admin/src/main/java/io/renren/modules/audit_team/controller/SysAuditTeamController.java b/renren-admin/src/main/java/io/renren/modules/audit_team/controller/SysAuditTeamController.java index 40de33dd..30c2554f 100644 --- a/renren-admin/src/main/java/io/renren/modules/audit_team/controller/SysAuditTeamController.java +++ b/renren-admin/src/main/java/io/renren/modules/audit_team/controller/SysAuditTeamController.java @@ -100,7 +100,7 @@ public class SysAuditTeamController { ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class); dto.setIndex(CommonUtils.getPinYinHeadChar(dto.getName())); // 索引设置为名称拼音 dto.setMember(dto.getMember().stream().map(index -> { - Optional sysUserDTO = Optional.ofNullable(sysUserService.get((long) index.get("id"))); + Optional sysUserDTO = Optional.ofNullable(sysUserService.get(Long.parseLong(index.get("id").toString()))); if (sysUserDTO.isPresent()) { index.put("name", sysUserDTO.get().getRealName()); index.put("dept_name", sysUserDTO.get().getDeptName());