This commit is contained in:
邹宗楠
2026-03-06 16:07:37 +08:00
parent 31e92ff4f0
commit c075f733a3
2 changed files with 12 additions and 8 deletions

View File

@@ -1729,6 +1729,9 @@ func GetMatterStoreOrderCount(ctx *jxcontext.Context, storeID int) (result *Orde
flag = false
}
orderTime = *orderPay.PayFinishedAt
if time.Now().Sub(orderTime) > 30*24*time.Hour {
orderTime = time.Now().AddDate(0, -1, 0)
}
} else {
orderTime = time.Now().AddDate(0, -1, 0)
flag = true