yuanrf 4 일 전
부모
커밋
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,