vacationDuration2
This commit is contained in:
parent
09c808260a
commit
0b276d1dec
|
@ -3,8 +3,10 @@ package main
|
||||||
import (
|
import (
|
||||||
"enterprise/common/config"
|
"enterprise/common/config"
|
||||||
"enterprise/common/global"
|
"enterprise/common/global"
|
||||||
|
"enterprise/common/model"
|
||||||
_ "enterprise/plugin"
|
_ "enterprise/plugin"
|
||||||
"enterprise/server"
|
"enterprise/server"
|
||||||
|
"enterprise/worker"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -13,6 +15,7 @@ func main() {
|
||||||
config.LoadCorpConfig()
|
config.LoadCorpConfig()
|
||||||
global.InitGlobal()
|
global.InitGlobal()
|
||||||
|
|
||||||
|
worker.NewApproval(1000).Sync("202504", model.ApprovalTypeVacation)
|
||||||
if err := server.Start(); err != nil {
|
if err := server.Start(); err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue