1
This commit is contained in:
@@ -244,7 +244,7 @@ const (
|
|||||||
maxStoreNameBind = 10000 // 最大门店SkuName bind个数
|
maxStoreNameBind = 10000 // 最大门店SkuName bind个数
|
||||||
maxStoreNameBind2 = 10000 // 最大门店乘SkuName个数
|
maxStoreNameBind2 = 10000 // 最大门店乘SkuName个数
|
||||||
|
|
||||||
AutoSaleAtStr = "09:35:00"
|
AutoSaleAtStr = "09:42:00"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@@ -3677,8 +3677,8 @@ func AutoSaleStoreSku(ctx *jxcontext.Context, storeIDs []int, isNeedSync bool) (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if isNeedSync && len(skuIDs) > 0 {
|
if isNeedSync && len(skuIDs) > 0 {
|
||||||
globals.SugarLogger.Debugf("---------------AutoSaleStoreSku- := %s", utils.Format4Output(skuIDs, false))
|
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, false, true, true); err != nil {
|
if _, err = CurVendorSync.SyncStoresSkus(ctx, nil, model.SyncFlagSaleMask, db, nil, []int{storeID}, skuIDs, true, true, true); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user