Sfoglia il codice sorgente

酒店预订
酒店预订Init
新增 房间入住人类型

leiy 1 anno fa
parent
commit
3f4c6864b7

+ 5 - 1
OASystem/OASystem.Infrastructure/Repositories/Groups/HotelPriceRepository.cs

@@ -767,6 +767,9 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 List<Sys_SetData> BankCard = _dataSouruce.Where(a => a.STid == 15).ToList();
                 List<SetDataInfoView> _BankCard = _mapper.Map<List<SetDataInfoView>>(BankCard);
 
+                //房间入住人类型 
+                List<Sys_SetData> CheckPerson = _dataSouruce.Where(a => a.STid == 71).ToList();
+                List<SetDataInfoView> _CheckPerson = _mapper.Map<List<SetDataInfoView>>(CheckPerson);
 
                 GeneralTeamRateInfoDto postGroupTeamRatedto = new GeneralTeamRateInfoDto()
                 {
@@ -782,11 +785,12 @@ namespace OASystem.Infrastructure.Repositories.Groups
                 }
                 var data = new
                 {
-                    GuestType = _GuestType,
+                    GuestType = _GuestType, //客人分类
                     Payment = _Payment,
                     CurrencyList = TeamCurrencyRate,
                     BankCard = _BankCard,
                     BookingWebsite = _BookingWebsite,
+                    CheckPerson = _CheckPerson
                 };
 
                 _result.Code = 0;