Sfoglia il codice sorgente

修复城市机票费用明细金额来源及groupSize默认值

修正了城市机票费用明细金额来源,避免误用火车费用明细;同时取消了groupSize字段的注释,明确其默认值为0。
Lyyyi 1 settimana fa
parent
commit
3d065caf10
1 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 3 3
      OASystem/OASystem.Api/Controllers/GroupsController.cs

+ 3 - 3
OASystem/OASystem.Api/Controllers/GroupsController.cs

@@ -13757,7 +13757,7 @@ FROM
             var view = new
             {
                 visitCountries = string.Join("、", countries),
-                //groupSize = 0,                 //出访人数
+                groupSize = 0,                                      //出访人数
                 defAirportTransferCoeff = Def_AirportTransferCoeff, //接送机默认报价系数
                 defServiceCount = Def_ServiceCount,                 //接送机默认服务次数
                 defTrainCoeff = Def_TrainCoeff,                     //火车默认报价系数
@@ -13992,7 +13992,7 @@ FROM
 
             if (dto.CityAirTicketFeeDetails.Any())
             {
-                var amounts = dto.TrainFeeDetails.Select(item => $"{item.Quote:#0.00}");
+                var amounts = dto.CityAirTicketFeeDetails.Select(item => $"{item.Quote:#0.00}");
                 string subLabel = $"城市机票({string.Join("、", amounts)});";
                 label.AppendLine(subLabel);
             }
@@ -17719,7 +17719,7 @@ FROM
 
             if (dto.CityAirTicketFeeDetails.Any())
             {
-                var amounts = dto.TrainFeeDetails.Select(item => $"{item.Quote:#0.00}");
+                var amounts = dto.CityAirTicketFeeDetails.Select(item => $"{item.Quote:#0.00}");
                 string subLabel = $"城市机票({string.Join("、", amounts)});";
                 label.AppendLine(subLabel);
             }