机场项目推送人员bug修复
This commit is contained in:
parent
a3c37ec58d
commit
243f8aa301
@ -96,6 +96,7 @@ public class JcCall {
|
||||
userSyncRequest.setType(opt);
|
||||
JcHttpUtil.UserSyncRequest.UserForm form = new JcHttpUtil.UserSyncRequest.UserForm();
|
||||
form.setEmpCenterId(Convert.toStr(workerInfo.getId()));
|
||||
form.setIdcardGrantOrg(workerInfo.getIssuingAuthorityForIdcard());
|
||||
form.setEmpName(workerInfo.getWorkerName());
|
||||
Map<String, String> birthdayAgeSexMap = IdCardUtils.getBirthdayAgeSex(workerInfo.getIdCard());
|
||||
form.setAge(Convert.toInt(birthdayAgeSexMap.get("age")));
|
||||
@ -103,8 +104,8 @@ public class JcCall {
|
||||
if (StrUtil.isNotBlank(workerInfo.getPhoneNumber())) {
|
||||
form.setPhone(AESUtil.Encrypt(workerInfo.getPhoneNumber(), AESUtil.SECRET));
|
||||
}
|
||||
if (StrUtil.isNotBlank(workerInfo.getIdCardDownPhotoUrl())) {
|
||||
form.setHeadImg(PathUtil.getServerUrl() + "/image/" + workerInfo.getIdCardDownPhotoUrl());
|
||||
if (StrUtil.isNotBlank(workerInfo.getIdCardUpPhotoUrl())) {
|
||||
form.setHeadImg(PathUtil.getServerUrl() + "/image/" + workerInfo.getIdCardUpPhotoUrl());
|
||||
}
|
||||
form.setNation(workerInfo.getNation());
|
||||
form.setIdcardType(1);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user