yuanrf před 4 dny
rodič
revize
e88dcf4a02

+ 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,