2 Commits 34a852ca9e ... 544c255c31

Author SHA1 Message Date
  lzk 544c255c31 Merge branch 'master' of http://47.244.232.78:3000/FLH/XYY.Core 4 days ago
  lzk 5cf4e03797 删除调整 4 days ago
1 changed files with 1 additions and 1 deletions
  1. 1 1
      3.Service/XYY.Service.Standard.Order/FBA/FBAOrderService.cs

+ 1 - 1
3.Service/XYY.Service.Standard.Order/FBA/FBAOrderService.cs

@@ -298,7 +298,7 @@ namespace XYY.Service.Standard.Order.FBA
         /// <param name="otherFee"></param>
         private async Task AddFbaHeavyCargoOtherFee(int OrderId, decimal otherFee)
         {
-            string sql = $@"delete FBA_Incidental where OrderId={OrderId} and FBAOtherFeeId=(select SMPOtherFeeId from FBA_OtherFee(nolock) where Name='重货优惠' )
+            string sql = $@"delete FBA_Incidental where OrderId={OrderId} and FBAOtherFeeId=(select Id from FBA_OtherFee(nolock) where Name='重货优惠' )
 insert into FBA_Incidental(OrderId,CalculateType,Target,Fee,FBAOtherFeeId,CustomerRemark,JSRemark,SysncJS)
 select {OrderId},0,0,{otherFee},Id,CustomerRemark,JSRemark,SysncJS from FBA_OtherFee(nolock) where Name='重货优惠' ";
             await _unitOfWork.ExecuteAsync(sql);