Browse Source

修改手机号加密

v6
Chendy 1 year ago
parent
commit
cb213e293c
  1. 7
      lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppEnterpriseLawEnforcementController.java

7
lib/EmergencyService/zdxtEmergencyAppService/src/main/java/com/zdxt/app/controller/AppEnterpriseLawEnforcementController.java

@ -444,8 +444,11 @@ public class AppEnterpriseLawEnforcementController extends BaseController
} }
String tmpUserShow = ""; String tmpUserShow = "";
for (UserBean ub : userBeans) { for (UserBean ub : userBeans) {
String lawCertificateNum = StringUtils.isEmpty(ub.getLawCertificateNum())?"":ub.getLawCertificateNum(); String temp = ub.getLawCertificateNum();
tmpUserShow += ub.getUserName() +" "+ lawCertificateNum + ","; if(StringUtils.isEmpty(temp)){
temp=CommonUtil.encryptPhone(ub.getPhonenumber());
}
tmpUserShow += ub.getUserName() +" "+ temp + ",";
} }
if (tmpUserShow.length() > 0) { if (tmpUserShow.length() > 0) {
tmpUserShow = tmpUserShow.substring(0, tmpUserShow.length()-1); tmpUserShow = tmpUserShow.substring(0, tmpUserShow.length()-1);

Loading…
Cancel
Save