Pārlūkot izejas kodu

部分代码修改

yuanrf 11 mēneši atpakaļ
vecāks
revīzija
83b570eb6d

+ 1 - 1
OASystem/OASystem.Api/Controllers/FinancialController.cs

@@ -3850,7 +3850,7 @@ Group by PriceType ", dto.diId);
                         {
                             var CarCenter = _sqlSugar.Queryable<Grp_CarTouristGuideGroundReservationsContent>().Where(x1 => x1.CTGGRId == x.CarParentId && x1.IsDel == 0
                             && x1.SId == mealsDic.First(x2 => x2.Value == dicSoure[x.PriceDetailType]).Key ).ToList().First(x1=> (DateTime.Compare(x1.DatePrice.ObjToDate(), x.PriceDt) == 0));
-                            costPirce += (CarCenter.Price * CarCenter.Count);
+                            costPirce += (CarCenter.Price * CarCenter.Count * x.Rate);
                             costPirce = costPirce - x.VisitPNumber * cost;
                         }
                         costPirce = Convert.ToInt32(Math.Round(costPirce));