update code
parent
346b3e1443
commit
6886d5b521
|
@ -200,9 +200,17 @@ public class SurProjectAttendanceUser extends BaseEntity
|
|||
u.workerId=j.getString("workerId");
|
||||
u.name=j.getString("name");
|
||||
u.ethnic=j.getString("minor");
|
||||
u.phone=j.getString("workPhone");
|
||||
u.nativePlace=j.getString("address");
|
||||
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.degreeName=j.getString("education");
|
||||
u.recentPhoto=j.getString("vaildPhoto");
|
||||
|
|
Loading…
Reference in New Issue