|
@@ -573,8 +573,9 @@ public class SysUserSignCertServiceImpl implements SysUserSignCertService {
|
|
|
}
|
|
|
// 查询认证数据
|
|
|
SysUserExtRecord userExtRecord = sysUserExtRecordService.getOne(Wrappers.<SysUserExtRecord>lambdaQuery()
|
|
|
- .eq(SysUserExtRecord::getUserId, userId)
|
|
|
- .eq(SysUserExtRecord::getDelFlag, DelEnum.NOT_DEL.val()));
|
|
|
+ .eq(SysUserExtRecord::getIdCardNumber, sysUser.getIdCardNumber())
|
|
|
+ .eq(SysUserExtRecord::getDelFlag, DelEnum.NOT_DEL.val())
|
|
|
+ .last("limit 1"));
|
|
|
if (userExtRecord == null) {
|
|
|
log.warn("{}用户的userExtRecord为空", userId);
|
|
|
if (!SubjectLocation.REN_LI_JIA.equals(userSignCertDTO.getSubjectLocation())
|