Commit 5742d63b by mushishixian

物料需要重新导入

parent 094d0cca
Showing with 3 additions and 2 deletions
......@@ -2,6 +2,7 @@ package main
import (
"flag"
"scm_server/cmd/source/goods"
"scm_server/cmd/source/supplier"
"scm_server/configs"
"sync"
......@@ -13,9 +14,9 @@ func main() {
flag.Parse()
configs.Setup(path)
var wg sync.WaitGroup
wg.Add(1)
wg.Add(2)
go supplier.Import(&wg)
//go customer.Import(&wg)
//go goods.Import(&wg)
go goods.Import(&wg)
wg.Wait()
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment