同步商品库错误修改
This commit is contained in:
@@ -262,6 +262,23 @@ func GetErrMsg2FailedSingleList(storeSkuList interface{}, err error, storeID, ve
|
|||||||
SyncType: syncType,
|
SyncType: syncType,
|
||||||
}
|
}
|
||||||
failedList = append(failedList, storeSkuInfoWithErr)
|
failedList = append(failedList, storeSkuInfoWithErr)
|
||||||
|
} else if storeSku, ok := storeSkuList.(*dao.StoreSkuSyncInfo); ok {
|
||||||
|
storeSkuInfo := &partner.StoreSkuInfo{
|
||||||
|
SkuID: storeSku.SkuID,
|
||||||
|
VendorSkuID: storeSku.VendorSkuID,
|
||||||
|
NameID: storeSku.NameID,
|
||||||
|
VendorNameID: storeSku.VendorNameID,
|
||||||
|
VendorPrice: storeSku.VendorPrice,
|
||||||
|
Status: storeSku.Status,
|
||||||
|
}
|
||||||
|
storeSkuInfoWithErr := &partner.StoreSkuInfoWithErr{
|
||||||
|
StoreSkuInfo: storeSkuInfo,
|
||||||
|
ErrMsg: errExt.ErrMsg(),
|
||||||
|
StoreID: storeID,
|
||||||
|
VendoreID: vendorID,
|
||||||
|
SyncType: syncType,
|
||||||
|
}
|
||||||
|
failedList = append(failedList, storeSkuInfoWithErr)
|
||||||
} else {
|
} else {
|
||||||
storeSkuInfoWithErr := &partner.StoreSkuInfoWithErr{
|
storeSkuInfoWithErr := &partner.StoreSkuInfoWithErr{
|
||||||
ErrMsg: errExt.ErrMsg(),
|
ErrMsg: errExt.ErrMsg(),
|
||||||
|
|||||||
Reference in New Issue
Block a user