From 2f8381f2e99bfecd28512d07f932197066fd98ff Mon Sep 17 00:00:00 2001 From: jiangyong27 Date: Mon, 3 Mar 2025 20:01:08 +0800 Subject: [PATCH] info --- common/model/staff_info.go | 1 - worker/staff.go | 1 - 2 files changed, 2 deletions(-) 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"]