This commit is contained in:
邹宗楠
2023-09-26 15:36:00 +08:00
parent 065a3fce69
commit e940aba757
3 changed files with 16 additions and 20 deletions

View File

@@ -2703,10 +2703,10 @@ func UpdateTaoSettleInfo() {
db := dao.GetDB()
var count = 0
timeStart := time.Now().Add(-24 * 14 * time.Hour)
timeStart := time.Now().Add(-24 * 4 * time.Hour)
startTime := time.Date(timeStart.Year(), timeStart.Month(), timeStart.Day(), 0, 0, 0, 0, timeStart.Location())
timeEnd := time.Now().Add(-24 * 2 * time.Hour)
timeEnd := time.Now().Add(-24 * 1 * time.Hour)
endTime := time.Date(timeEnd.Year(), timeEnd.Month(), timeEnd.Day()-1, 23, 59, 59, 0, timeStart.Location())
storeMaps, err := dao.GetTaoOrderVendor(db, startTime, endTime)