Commit 24e16fe7 authored by liudong1993's avatar liudong1993

1

parent c9cc74ca
......@@ -1473,7 +1473,7 @@ namespace REBORN.Module.DMCModule
{
Accommodations.Add(new AccommodationItem()
{
//4、标准间 5、单人间 6、三人间 10、加床 99、其他
Name = item.HotelName,
Address = new Address()
{
......@@ -1481,7 +1481,10 @@ namespace REBORN.Module.DMCModule
},
CheckInDate = item.CheckInDate,
CheckOutDate = item.OutDate,
RoomType = item.RoomType,
RoomType = item.RoomType == "标准间" ? "4" :
item.RoomType == "单人间" ? "5" :
item.RoomType == "三人间" ? "6" :
item.RoomType == "加床" ? "10" : "99",
Rooms = !string.IsNullOrEmpty(item.DoubleRoom) ? Convert.ToInt32(item.DoubleRoom) : !string.IsNullOrEmpty(item.SingleRoom) ? Convert.ToInt32(item.SingleRoom) : !string.IsNullOrEmpty(item.ThirdRoom) ? Convert.ToInt32(item.ThirdRoom) : Convert.ToInt32(item.AdultNum),
RoomPrice = Convert.ToDecimal(item.RoomPrice)
});
......@@ -1514,11 +1517,12 @@ namespace REBORN.Module.DMCModule
{
TransportServices.Add(new TransportServiceItem()
{
//服务类型 1接送机单程 2接送机往返 99其他
Time = item.UseTime,
Model = item.BusType,
Cost = item.BusPrice,
PassengerNumber = Convert.ToInt32(item.UseNum),
ServiceType = Convert.ToInt32(item.UseBusType),
ServiceType = item.UseBusType == "接送机单程" ? 1 : item.UseBusType == "接送机往返" ? 2 : 99,
Source = new City()
{
Description = item.StartPlace,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment