This commit is contained in:
苏尹岚
2020-12-04 16:28:17 +08:00
parent c5587d0073
commit e939fa5ab2
2 changed files with 15 additions and 20 deletions

View File

@@ -461,13 +461,6 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
now := jxutils.OperationTime2HourMinuteFormat(time.Now())
var failedList []*partner.StoreSkuInfoWithErr
for _, sku := range skus {
if vendorID == model.VendorIDJDShop && storeID != model.JdShopMainStoreID && storeID != model.JdShopMainStoreID2 {
// if model.IsSyncStatusNew(sku.SkuSyncStatus) {
// sku.SkuSyncStatus = sku.SkuSyncStatus - model.SyncFlagNewMask
// }
storeDetail2, _ := dao.GetStoreDetail(db, storeID, vendorID, sku.VendorOrgCode)
vendorStoreID = storeDetail2.VendorStoreID
}
if !useVendorPriceDirectly &&
!isSkuLockTimeValid(sku) {
sku.VendorPrice = 0