This commit is contained in:
jiangyong27 2025-03-14 18:02:02 +08:00
parent 4b9a6e5108
commit 4722471962
1 changed files with 7 additions and 0 deletions

View File

@ -3,6 +3,7 @@ package main
import ( import (
"enterprise/common/config" "enterprise/common/config"
"enterprise/common/global" "enterprise/common/global"
"enterprise/common/model"
_ "enterprise/service/salary_calculator" _ "enterprise/service/salary_calculator"
"enterprise/worker" "enterprise/worker"
) )
@ -14,5 +15,11 @@ func main() {
global.InitGlobal() global.InitGlobal()
worker.InitCorp() 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 {} select {}
} }