Excel 一版
This commit is contained in:
@@ -53,6 +53,9 @@ type LoopStoreMapInfo struct {
|
||||
type VendorSync struct {
|
||||
}
|
||||
|
||||
type ComparePlatform struct {
|
||||
}
|
||||
|
||||
type SyncError struct {
|
||||
Original error `json:"original"`
|
||||
Message string `json:"message"`
|
||||
@@ -73,7 +76,8 @@ type SingleStoreHandlerWrapper struct {
|
||||
}
|
||||
|
||||
var (
|
||||
CurVendorSync VendorSync
|
||||
CurVendorSync VendorSync
|
||||
CurComparePlatform ComparePlatform
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -549,6 +553,12 @@ func (v *VendorSync) SyncStoresSkus(ctx *jxcontext.Context, parentTask tasksch.I
|
||||
return v.SyncStoresSkus2(ctx, parentTask, causeFlag, db, vendorIDs, storeIDs, true, skuIDs, nil, setSyncStatus, isAsync, isContinueWhenError)
|
||||
}
|
||||
|
||||
//执行比较店铺与运营商的sku差异
|
||||
func (c *ComparePlatform) CompareStoreWithOperator(ctx *jxcontext.Context, db *dao.DaoDB, vendorIDs []int, storeIDs []int, syncDisabled bool, excludeSkuIDs []int, isAsync, isContinueWhenError bool) (hint string, err error) {
|
||||
globals.SugarLogger.Debug("开始执行CompareStoreWithOperator")
|
||||
return hint, makeSyncError(err)
|
||||
}
|
||||
|
||||
func (v *VendorSync) FullSyncStoresSkus(ctx *jxcontext.Context, db *dao.DaoDB, vendorIDs []int, storeIDs []int, syncDisabled bool, excludeSkuIDs []int, isAsync, isContinueWhenError bool) (hint string, err error) {
|
||||
globals.SugarLogger.Debug("FullSyncStoresSkus")
|
||||
hint, err = v.LoopStoresMap(ctx, db, fmt.Sprintf("初始化门店商品信息:%v", storeIDs), isAsync, true, vendorIDs, storeIDs,
|
||||
|
||||
Reference in New Issue
Block a user