copy 完删除数据

This commit is contained in:
GYJ
2025-03-20 14:34:13 +08:00
parent d8b1f08464
commit 07624c818d
5 changed files with 28 additions and 24 deletions

View File

@@ -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)