yuanrf пре 1 дан
родитељ
комит
a9d88166be

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

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