This commit is contained in:
邹宗楠
2022-12-15 18:07:47 +08:00
parent 4f55e66ca4
commit 202e2b7cc8
3 changed files with 34 additions and 5 deletions

View File

@@ -489,8 +489,7 @@ func syncStoreSkuNew(ctx *jxcontext.Context, parentTask tasksch.ITask, causeFlag
now := jxutils.OperationTime2HourMinuteFormat(time.Now())
var failedList []*partner.StoreSkuInfoWithErr
for _, sku := range skus {
if !useVendorPriceDirectly &&
!isSkuLockTimeValid(sku) {
if !useVendorPriceDirectly && !isSkuLockTimeValid(sku) {
sku.VendorPrice = 0
}
sku.MergedStatus = MergeSkuSaleStatusWithStoreOpTime(sku, storeDetail, now)