2 次代碼提交 34a852ca9e ... 544c255c31

作者 SHA1 備註 提交日期
  lzk 544c255c31 Merge branch 'master' of http://47.244.232.78:3000/FLH/XYY.Core 4 天之前
  lzk 5cf4e03797 删除调整 4 天之前
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);