Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
huatu_API
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liudong1993
huatu_API
Commits
24e16fe7
Commit
24e16fe7
authored
Sep 16, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c9cc74ca
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
TravelContractModule.cs
REBORN.Module.DMCModule/TravelContractModule.cs
+7
-3
No files found.
REBORN.Module.DMCModule/TravelContractModule.cs
View file @
24e16fe7
...
@@ -1473,7 +1473,7 @@ namespace REBORN.Module.DMCModule
...
@@ -1473,7 +1473,7 @@ namespace REBORN.Module.DMCModule
{
{
Accommodations
.
Add
(
new
AccommodationItem
()
Accommodations
.
Add
(
new
AccommodationItem
()
{
{
//4、标准间 5、单人间 6、三人间 10、加床 99、其他
Name
=
item
.
HotelName
,
Name
=
item
.
HotelName
,
Address
=
new
Address
()
Address
=
new
Address
()
{
{
...
@@ -1481,7 +1481,10 @@ namespace REBORN.Module.DMCModule
...
@@ -1481,7 +1481,10 @@ namespace REBORN.Module.DMCModule
},
},
CheckInDate
=
item
.
CheckInDate
,
CheckInDate
=
item
.
CheckInDate
,
CheckOutDate
=
item
.
OutDate
,
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
),
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
)
RoomPrice
=
Convert
.
ToDecimal
(
item
.
RoomPrice
)
});
});
...
@@ -1514,11 +1517,12 @@ namespace REBORN.Module.DMCModule
...
@@ -1514,11 +1517,12 @@ namespace REBORN.Module.DMCModule
{
{
TransportServices
.
Add
(
new
TransportServiceItem
()
TransportServices
.
Add
(
new
TransportServiceItem
()
{
{
//服务类型 1接送机单程 2接送机往返 99其他
Time
=
item
.
UseTime
,
Time
=
item
.
UseTime
,
Model
=
item
.
BusType
,
Model
=
item
.
BusType
,
Cost
=
item
.
BusPrice
,
Cost
=
item
.
BusPrice
,
PassengerNumber
=
Convert
.
ToInt32
(
item
.
UseNum
),
PassengerNumber
=
Convert
.
ToInt32
(
item
.
UseNum
),
ServiceType
=
Convert
.
ToInt32
(
item
.
UseBusType
)
,
ServiceType
=
item
.
UseBusType
==
"接送机单程"
?
1
:
item
.
UseBusType
==
"接送机往返"
?
2
:
99
,
Source
=
new
City
()
Source
=
new
City
()
{
{
Description
=
item
.
StartPlace
,
Description
=
item
.
StartPlace
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment