sync
This commit is contained in:
parent
4b9a6e5108
commit
4722471962
|
@ -3,6 +3,7 @@ package main
|
|||
import (
|
||||
"enterprise/common/config"
|
||||
"enterprise/common/global"
|
||||
"enterprise/common/model"
|
||||
_ "enterprise/service/salary_calculator"
|
||||
"enterprise/worker"
|
||||
)
|
||||
|
@ -14,5 +15,11 @@ func main() {
|
|||
global.InitGlobal()
|
||||
|
||||
worker.InitCorp()
|
||||
|
||||
approve := worker.NewApproval(1002)
|
||||
approve.Sync("202503", model.ApprovalTypeCheckin)
|
||||
approve.Sync("202503", model.ApprovalTypeVacation)
|
||||
approve.Sync("202503", model.ApprovalTypeRefund)
|
||||
approve.Sync("202503", model.ApprovalTypePayment)
|
||||
select {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue