This commit is contained in:
jiangyong27 2025-03-03 20:01:08 +08:00
parent ed9232cc2e
commit 2f8381f2e9
2 changed files with 0 additions and 2 deletions

View File

@ -19,7 +19,6 @@ type StaffInfo struct {
EntryDate string EntryDate string
OfficialDate string OfficialDate string
LeaveDate string LeaveDate string
BirthDate string
BankName string BankName string
BankCard string BankCard string
CreateTime int64 CreateTime int64

View File

@ -153,7 +153,6 @@ func (s *Staff) SyncStaffInfo() {
staff.PerfSalary = staffInfo.Extra["20005"] staff.PerfSalary = staffInfo.Extra["20005"]
staff.EntryDate = time.Unix(cast.ToInt64(staffInfo.Extra["12018"]), 0).Format("2006-01-02") 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.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.BankName = staffInfo.Extra["13001"]
staff.BankCard = staffInfo.Extra["13002"] staff.BankCard = staffInfo.Extra["13002"]
staff.AlipayUid = staffInfo.Extra["20004"] staff.AlipayUid = staffInfo.Extra["20004"]