|
|
@ -72,7 +72,8 @@ public class NonEnforcementRegistrationServiceImpl implements INonEnforcementReg |
|
|
if (user != null) { |
|
|
if (user != null) { |
|
|
String temp = user.getLawCertificateNum(); |
|
|
String temp = user.getLawCertificateNum(); |
|
|
if (StringUtils.isEmpty(temp)) { |
|
|
if (StringUtils.isEmpty(temp)) { |
|
|
temp = CommonUtil.encryptPhone(user.getPhonenumber()); |
|
|
// 修复: 双轨改造后 phonenumber 为 HSM 密文, 走备份字段解密后脱敏
|
|
|
|
|
|
temp = CommonUtil.encryptPhone(user.getPhonenumber(), user.getCryptoRemarkTwo()); |
|
|
} |
|
|
} |
|
|
nonReg.setLawEnforcer(user.getUserName() + " " + temp); |
|
|
nonReg.setLawEnforcer(user.getUserName() + " " + temp); |
|
|
} |
|
|
} |
|
|
@ -90,7 +91,8 @@ public class NonEnforcementRegistrationServiceImpl implements INonEnforcementReg |
|
|
if (ub != null) { |
|
|
if (ub != null) { |
|
|
String t = ub.getLawCertificateNum(); |
|
|
String t = ub.getLawCertificateNum(); |
|
|
if(StringUtils.isEmpty(t)){ |
|
|
if(StringUtils.isEmpty(t)){ |
|
|
t = CommonUtil.encryptPhone(ub.getPhonenumber()); |
|
|
// 修复: 双轨改造后 phonenumber 为 HSM 密文, 走备份字段解密后脱敏
|
|
|
|
|
|
t = CommonUtil.encryptPhone(ub.getPhonenumber(), ub.getCryptoRemarkTwo()); |
|
|
} |
|
|
} |
|
|
tmpUserShow += ub.getUserName() + " " + t + ","; |
|
|
tmpUserShow += ub.getUserName() + " " + t + ","; |
|
|
} |
|
|
} |
|
|
|