This commit is contained in:
邹宗楠
2024-09-19 09:44:10 +08:00
parent bec588adf6
commit ffe43d627b

View File

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