shanji 2 years ago
parent
commit
ead34c07ae
  1. 2
      BBWY.Server.Business/Sync/OrderSyncBusiness.cs

2
BBWY.Server.Business/Sync/OrderSyncBusiness.cs

@ -610,7 +610,7 @@ namespace BBWY.Server.Business
.SetIf(sellerPreferentialAmount != dbOrder.SellerPreferentialAmount, o => o.SellerPreferentialAmount, sellerPreferentialAmount)
.SetIf(orderSellerPrice != dbOrder.OrderSellerPrice, o => o.OrderSellerPrice, orderSellerPrice)
.SetIf(orderTotalPrice != dbOrder.OrderTotalPrice, o => o.OrderTotalPrice, orderTotalPrice)
.SetIf(orderSellerPrice > 0M, o => o.IsGift, false)
.SetIf(orderSellerPrice > 0M && dbOrder.IsGift == true, o => o.IsGift, false)
.SetIf(storeOrder != dbOrder.StoreOrder, o => o.StoreOrder, storeOrder)
.SetIf(storeOrder != dbOrder.StoreOrder, o => o.StorageType, storageType)
.SetIf(preferentialAmount != dbOrder.PreferentialAmount, o => o.PreferentialAmount, preferentialAmount)

Loading…
Cancel
Save