sync
This commit is contained in:
parent
4b9a6e5108
commit
4722471962
|
@ -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 {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue