|
|
@@ -185,13 +185,15 @@ public class SyncMhUserOrgManage { |
|
|
|
eui.setPolitical(expert.getPolitical()); |
|
|
|
eui.setDuties(expert.getDuties()); |
|
|
|
eui.setAddress(expert.getPlace()); |
|
|
|
|
|
|
|
eui.setUnitAdvice(expert.getUnit()); |
|
|
|
eui.setResume(expert.getRemark()); |
|
|
|
ExpertUserFullInfo oldEui = expertMap.get(eui.getMhExpertNo()); |
|
|
|
if (oldEui == null) { |
|
|
|
UserInfo expertUser = new UserInfo(); |
|
|
|
expertUser.setUsername(expert.getName()); |
|
|
|
expertUser.setMobile(expert.getPhone()); |
|
|
|
expertUser.setRealName(expert.getName()); |
|
|
|
expertUser.setWechatOpenId(expert.getOpenId()); |
|
|
|
userInfoService.save(expertUser); |
|
|
|
eui.setUserId(expertUser.getId()); |
|
|
|
} else { |
|
|
@@ -236,6 +238,7 @@ public class SyncMhUserOrgManage { |
|
|
|
eui.setExpertName(expert.getName()); |
|
|
|
eui.setMhExpertNo(expert.getExpertNo()); |
|
|
|
eui.setExperience(expert.getTextExperience()); |
|
|
|
eui.setResume(expert.getTextNotes()); |
|
|
|
eui.setGender(expert.getGender()); |
|
|
|
eui.setStar(expert.getStar()); |
|
|
|
eui.setIdCard(expert.getIdCard()); |
|
|
@@ -266,6 +269,7 @@ public class SyncMhUserOrgManage { |
|
|
|
expertUser.setUsername(expert.getName()); |
|
|
|
expertUser.setMobile(expert.getPhone()); |
|
|
|
expertUser.setRealName(expert.getName()); |
|
|
|
expertUser.setWechatOpenId(expert.getOpenId()); |
|
|
|
userInfoService.save(expertUser); |
|
|
|
eui.setUserId(expertUser.getId()); |
|
|
|
} else { |
|
|
|