This commit is contained in:
gazebo
2019-07-23 23:52:34 +08:00
parent 44ec485452
commit 73d0976038
2 changed files with 3 additions and 5 deletions

View File

@@ -288,10 +288,8 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, isFull bo
}
}
} else if !dao.IsVendorThingIDEmpty(sku.VendorSkuID) {
if model.IsSyncStatusUpdate(sku.StoreSkuSyncStatus) {
if singleStoreHandler != nil {
updateList = append(updateList, calVendorPrice4StoreSku(sku, storeDetail.PricePercentagePackObj, int(storeDetail.PricePercentage)))
}
if model.IsSyncStatusUpdate(sku.StoreSkuSyncStatus) && singleStoreHandler != nil {
updateList = append(updateList, calVendorPrice4StoreSku(sku, storeDetail.PricePercentagePackObj, int(storeDetail.PricePercentage)))
} else {
if model.IsSyncStatusPrice(sku.StoreSkuSyncStatus) {
bareSku = storeSkuSyncInfo2Bare(calVendorPrice4StoreSku(sku, storeDetail.PricePercentagePackObj, int(storeDetail.PricePercentage)))