From f2449937cf5421977a6a6d29c7af83d57ca00f2b Mon Sep 17 00:00:00 2001 From: liao Date: Tue, 7 Nov 2023 11:59:36 +0800 Subject: [PATCH] =?UTF-8?q?fix=2077906=20=E4=BC=81=E4=B8=9A=E6=A0=87?= =?UTF-8?q?=E5=87=86--=E5=AF=BC=E5=85=A5=E5=92=8C=E6=96=B0=E5=A2=9E=20?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=9B=B8=E5=90=8C=E7=9A=84=E4=BA=BA=E5=91=98?= =?UTF-8?q?=EF=BC=8C=E5=9B=9E=E6=98=BE=E4=B8=8D=E4=B8=80=E6=A0=B7=EF=BC=8C?= =?UTF-8?q?=E8=A6=81=E5=A6=82=E4=BD=95=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/laws/common/service/impl/LawsCommonServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java b/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java index cff6f953..b3dadc02 100644 --- a/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java +++ b/laws-modules/src/main/java/com/jero/modules/laws/common/service/impl/LawsCommonServiceImpl.java @@ -497,7 +497,7 @@ public class LawsCommonServiceImpl implements ILawsCommonService { LambdaQueryWrapper sysUserLambdaQueryWrapper = new LambdaQueryWrapper<>(); sysUserLambdaQueryWrapper.in(SysUser::getId, valueList); List userList = sysUserService.list(sysUserLambdaQueryWrapper); - List nameList = userList.stream().map(SysUser::getRealname).collect(Collectors.toList()); + List nameList = userList.stream().map(e -> e.getRealname() + "(" + e.getUsername() + ")").collect(Collectors.toList()); resultMap.put(key + FieldCommon._DICT_TEXT, StringUtils.join(nameList, ",")); } else if (LawsFieldTypeEnum.GROUP_SINGLE.getValue().equals(lawsTag.getFieldShowType()) || LawsFieldTypeEnum.GROUP_MANY.getValue().equals(lawsTag.getFieldShowType())) {