Sfoglia il codice sorgente

成本日期格式处理

yuanrf 1 anno fa
parent
commit
ed4642537d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      OASystem/OASystem.Api/Controllers/GroupsController.cs

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

@@ -6990,7 +6990,7 @@ namespace OASystem.API.Controllers
             var groupCostMap = _mapper.Map<List<Grp_GroupCostDto>>(groupCost);
             var hotelNumber = _CostTypeHotelNumberRepository.GetCostTypeHotelNumberByDiid(diid); //酒店数量 可枚举
             var GroupCostParameter = _GroupCostParameterRepository.GetGroupCostParameterListByDiid(diid); //成本系数 可枚举
-            groupCost = groupCost.Select(x =>
+            groupCostMap = groupCostMap.Select(x =>
             {
                 if (DateTime.TryParse(x.Date, out DateTime dataForamt))
                 {