This commit is contained in:
邹宗楠
2023-12-29 10:43:19 +08:00
parent 5be520a635
commit f3aff67595
2 changed files with 2 additions and 1 deletions

View File

@@ -2659,6 +2659,7 @@ func UpdateTiktokShopTotalMoney() {
db := dao.GetDB()
var goodsOrders []*model.GoodsOrder
globals.SugarLogger.Debugf("=============time:= %s", utils.Format4Output(time.Now(), false))
sql := `SELECT g.* FROM goods_order g WHERE g.order_created_at >= ? AND g.status = ? AND g.vendor_id = ? AND total_shop_money = ? ORDER BY g.order_created_at desc`
orderCreateTime := time.Now().AddDate(0, 0, -50)
param := []interface{}{orderCreateTime, model.OrderStatusFinished, model.VendorIDDD, model.NO}

View File

@@ -197,7 +197,7 @@ func Init() {
"05:00:00",
"07:00:00",
"09:00:00",
"10:40:00",
"10:46:00",
"11:00:00",
"14:00:00",
"16:00:00",