update code

dev_xds
haha 2024-03-22 00:25:31 +08:00
parent 346b3e1443
commit 6886d5b521
1 changed files with 9 additions and 1 deletions

View File

@ -200,9 +200,17 @@ public class SurProjectAttendanceUser extends BaseEntity
u.workerId=j.getString("workerId"); u.workerId=j.getString("workerId");
u.name=j.getString("name"); u.name=j.getString("name");
u.ethnic=j.getString("minor"); u.ethnic=j.getString("minor");
u.phone=j.getString("workPhone");
u.nativePlace=j.getString("address"); u.nativePlace=j.getString("address");
u.gender=j.getLong("sex")==0l?1l:0l; u.gender=j.getLong("sex")==0l?1l:0l;
u.birthDate= DateUtil.parse(j.getString("birthday")).getTime(); String tmp=j.getString("birthday");
if(StrUtil.isNotEmpty(tmp)) {
try {
u.birthDate = DateUtil.parse(tmp).getTime();
}catch (Exception ex){
}
}
u.photo=j.getString("headImage"); u.photo=j.getString("headImage");
u.degreeName=j.getString("education"); u.degreeName=j.getString("education");
u.recentPhoto=j.getString("vaildPhoto"); u.recentPhoto=j.getString("vaildPhoto");