diff --git a/common/model/staff_info.go b/common/model/staff_info.go index 0dedbed..569ffb0 100644 --- a/common/model/staff_info.go +++ b/common/model/staff_info.go @@ -19,7 +19,6 @@ type StaffInfo struct { EntryDate string OfficialDate string LeaveDate string - BirthDate string BankName string BankCard string CreateTime int64 diff --git a/worker/staff.go b/worker/staff.go index 9f4b9dd..de96110 100644 --- a/worker/staff.go +++ b/worker/staff.go @@ -153,7 +153,6 @@ func (s *Staff) SyncStaffInfo() { staff.PerfSalary = staffInfo.Extra["20005"] staff.EntryDate = time.Unix(cast.ToInt64(staffInfo.Extra["12018"]), 0).Format("2006-01-02") staff.OfficialDate = time.Unix(cast.ToInt64(staffInfo.Extra["12023"]), 0).Format("2006-01-02") - staff.BirthDate = time.Unix(cast.ToInt64(staffInfo.Extra["11005"]), 0).Format("2006-01-02") staff.BankName = staffInfo.Extra["13001"] staff.BankCard = staffInfo.Extra["13002"] staff.AlipayUid = staffInfo.Extra["20004"]