1
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user