|
|
@@ -263,6 +263,7 @@ public class SyncOrganization {
|
|
|
person.setName(user.getName());
|
|
|
person.setMobile(user.getMobile());
|
|
|
person.setUnique(user.getUserid());
|
|
|
+ person.setEmployee(user.getJobnumber());
|
|
|
person.setMail(user.getEmail());
|
|
|
person.setOfficePhone(user.getMobile());
|
|
|
person.setGenderType(GenderType.d);
|
|
|
@@ -275,7 +276,7 @@ public class SyncOrganization {
|
|
|
person.setName(user.getName());
|
|
|
person.setMobile(user.getMobile());
|
|
|
person.setUnique(user.getUserid());
|
|
|
- // person.setEmployee(user.getJobNumber());
|
|
|
+ person.setEmployee(user.getJobnumber());
|
|
|
person.setMail(user.getEmail());
|
|
|
person.setOfficePhone(user.getMobile());
|
|
|
person.setGenderType(GenderType.d);
|
|
|
@@ -308,7 +309,7 @@ public class SyncOrganization {
|
|
|
EntityManagerContainer emc = business.entityManagerContainer();
|
|
|
emc.beginTransaction(Person.class);
|
|
|
person.setDingdingHash(DigestUtils.sha256Hex(XGsonBuilder.toJson(user)));
|
|
|
- // person.setEmployee(user.getJobNumber());
|
|
|
+ person.setEmployee(user.getJobnumber());
|
|
|
person.setName(user.getName());
|
|
|
person.setMobile(user.getMobile());
|
|
|
person.setMail(user.getEmail());
|