yuanrf 3 天之前
父節點
當前提交
e88dcf4a02
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      OASystem/OASystem.Infrastructure/Repositories/Groups/DecreasePaymentsRepository.cs

+ 1 - 1
OASystem/OASystem.Infrastructure/Repositories/Groups/DecreasePaymentsRepository.cs

@@ -658,7 +658,7 @@ namespace OASystem.Infrastructure.Repositories.Groups
                                     //检索历史金额
                                     var histyPrice = _sqlSugar.Queryable<Grp_DecreasePayments>()
                                         .LeftJoin<Grp_CreditCardPayment>((x, a) => a.IsDel == 0 && a.CTable == 98 && a.CId == x.Id)
-                                        .Where((x, a) => x.IsDel == 0 && x.PriceName == dto.PriceName && x.Id != grp_Decrease.Id)
+                                        .Where((x, a) => x.IsDel == 0 && x.DiId == dto.DiId && x.PriceName == dto.PriceName && x.Id != grp_Decrease.Id)
                                         .Select((x, a) => new
                                         {
                                             x.FeeTotal,