zoujiajian 2 tahun lalu
induk
melakukan
95b12e7888

+ 0 - 2
netflix-dao/src/main/java/com/cyksj/model/entity/UserStudentCertRecord.java

@@ -14,7 +14,5 @@ import lombok.Setter;
 public class UserStudentCertRecord extends BaseEntity{
 	private Long userId;
 
-	private String name;
-
 	private String school;
 }

+ 1 - 1
netflix-service/src/main/java/com/cyksj/service/user/impl/UserIdentCertServiceImpl.java

@@ -90,7 +90,7 @@ public class UserIdentCertServiceImpl implements UserIdentCertService {
 		List<Long> userIdList = userBindRelationService.getRelationUserIdList(userId, null);
 		UserStudentCertRecord record = userStudentCertRecordMapper.selectOne(Wrappers.lambdaQuery(UserStudentCertRecord.class)
 				.in(UserStudentCertRecord::getUserId, userIdList)
-				.select(UserStudentCertRecord::getName, UserStudentCertRecord::getSchool, UserStudentCertRecord::getCreatedTime)
+				.select(UserStudentCertRecord::getSchool, UserStudentCertRecord::getCreatedTime)
 				.last("limit 1"));
 		if (record == null) {
 			return null;