This commit is contained in:
邹宗楠
2024-11-19 14:17:54 +08:00
parent 44afe8dcf6
commit 4033242902

View File

@@ -244,8 +244,7 @@ const (
maxStoreNameBind = 10000 // 最大门店SkuName bind个数
maxStoreNameBind2 = 10000 // 最大门店乘SkuName个数
AutoSaleAtStr = "14:15:00"
//AutoSaleAtStr = "22:00:00"
AutoSaleAtStr = "22:00:00"
)
var (
@@ -3681,7 +3680,6 @@ func AutoSaleStoreSku(ctx *jxcontext.Context, storeIDs []int, isNeedSync bool) (
}
}
if isNeedSync && len(skuIDs) > 0 {
globals.SugarLogger.Debugf("-----AutoSaleStoreSku := %d,%s", storeIDs, utils.Format4Output(skuIDs, false))
if _, err = CurVendorSync.SyncStoresSkus(ctx, nil, model.SyncFlagSaleMask, db, nil, []int{storeID}, skuIDs, true, true, true); err != nil {
return err
}