copy 完删除数据
This commit is contained in:
@@ -28,6 +28,8 @@ func CopyData() {
|
||||
format := timeNow.Format("2006-01-02")
|
||||
parse, _ := time.Parse("2006-01-02", format)
|
||||
|
||||
fmt.Println("Copy data from", parse)
|
||||
|
||||
for _, db := range dbList {
|
||||
copyOrders(db, parse)
|
||||
copyPayDetails(db, parse)
|
||||
|
||||
Reference in New Issue
Block a user