|
|
@@ -846,9 +846,15 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
|
|
|
List<Long> userIdList = userBindRelationService.getRelationUserIdList(userId, null);
|
|
|
UserCertRecord record = userCertRecordMapper.selectOne(Wrappers.lambdaQuery(UserCertRecord.class)
|
|
|
.in(UserCertRecord::getUserId, userIdList)
|
|
|
+ .select(UserCertRecord::getName)
|
|
|
.last("limit 1"));
|
|
|
+ if (record != null) {
|
|
|
+ record.setIdent(StringUtil.enIndent(record.getIdent()));
|
|
|
+ record.setName(StringUtil.enName(record.getName()));
|
|
|
+ }
|
|
|
UserStudentCertRecord userStudentCertRecord = userStudentCertRecordMapper.selectOne(Wrappers.lambdaQuery(UserStudentCertRecord.class)
|
|
|
.in(UserStudentCertRecord::getUserId, userIdList)
|
|
|
+ .select(UserStudentCertRecord::getSchool)
|
|
|
.last("limit 1"));
|
|
|
UserCertInfoView userCertInfoView = new UserCertInfoView();
|
|
|
userCertInfoView.setIndent(record);
|