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
b2fb76dc
Commit
b2fb76dc
authored
Sep 16, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b09d5bac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
43 deletions
+35
-43
Models.cs
REBORN.Common/ContractAPI/Models.cs
+5
-5
TravelContractModule.cs
REBORN.Module.DMCModule/TravelContractModule.cs
+30
-38
No files found.
REBORN.Common/ContractAPI/Models.cs
View file @
b2fb76dc
...
@@ -710,15 +710,15 @@ namespace OneTwoThreeZeroOne.EContracts {
...
@@ -710,15 +710,15 @@ namespace OneTwoThreeZeroOne.EContracts {
/// <summary>机票预定相关</summary>
/// <summary>机票预定相关</summary>
[
JsonPropertyName
(
"airTickets"
)]
public
AirTicket
[]
AirTickets
{
get
;
set
;
}
[
JsonPropertyName
(
"airTickets"
)]
public
AirTicket
[]
AirTickets
{
get
;
set
;
}
/// <summary>酒店预定代办</summary>
/// <summary>酒店预定代办</summary>
[
JsonPropertyName
(
"accommodation"
)]
public
Accommodation
[]
Accommodation
{
get
;
set
;
}
[
JsonPropertyName
(
"accommodation"
)]
public
Accommodation
Accommodation
{
get
;
set
;
}
/// <summary>用车代办</summary>
/// <summary>用车代办</summary>
[
JsonPropertyName
(
"transportService"
)]
public
TransportService
[]
TransportService
{
get
;
set
;
}
[
JsonPropertyName
(
"transportService"
)]
public
TransportService
TransportService
{
get
;
set
;
}
/// <summary>导游服务代办</summary>
/// <summary>导游服务代办</summary>
[
JsonPropertyName
(
"tourGuideService"
)]
public
TourGuideService
[]
TourGuideService
{
get
;
set
;
}
[
JsonPropertyName
(
"tourGuideService"
)]
public
TourGuideService
TourGuideService
{
get
;
set
;
}
/// <summary>签证代办</summary>
/// <summary>签证代办</summary>
[
JsonPropertyName
(
"visaService"
)]
public
VisaService
[]
VisaService
{
get
;
set
;
}
[
JsonPropertyName
(
"visaService"
)]
public
VisaService
VisaService
{
get
;
set
;
}
/// <summary>其他服务</summary>
/// <summary>其他服务</summary>
[
JsonPropertyName
(
"otherService"
)]
public
OtherService
[]
OtherService
{
get
;
set
;
}
[
JsonPropertyName
(
"otherService"
)]
public
OtherService
OtherService
{
get
;
set
;
}
}
}
/// <summary>机票预定信息</summary>
/// <summary>机票预定信息</summary>
...
...
REBORN.Module.DMCModule/TravelContractModule.cs
View file @
b2fb76dc
...
@@ -1476,13 +1476,13 @@ namespace REBORN.Module.DMCModule
...
@@ -1476,13 +1476,13 @@ namespace REBORN.Module.DMCModule
});
});
}
}
req
.
Entrustment
.
Order
.
Accommodation
=
new
Accommodation
[]
{
req
.
Entrustment
.
Order
.
Accommodation
=
new
Accommodation
()
new
Accommodation
()
{
{
Accommodations
=
Accommodations
.
ToArray
(),
Accommodations
=
Accommodations
.
ToArray
(),
TotalPrice
=
htModel
.
HotelTotalPrice
,
TotalPrice
=
htModel
.
HotelTotalPrice
,
Memo
=
htModel
.
HotelDescription
Memo
=
htModel
.
HotelDescription
}
};
};
}
}
#
endregion
#
endregion
...
@@ -1510,14 +1510,14 @@ namespace REBORN.Module.DMCModule
...
@@ -1510,14 +1510,14 @@ namespace REBORN.Module.DMCModule
});
});
}
}
req
.
Entrustment
.
Order
.
TransportService
=
new
TransportService
[]
{
req
.
Entrustment
.
Order
.
TransportService
=
new
TransportService
()
new
TransportService
()
{
{
TransportServices
=
TransportServices
.
ToArray
(),
TransportServices
=
TransportServices
.
ToArray
(),
TotalCost
=
htModel
.
PickUpTotalPrice
,
TotalCost
=
htModel
.
PickUpTotalPrice
,
Memo
=
htModel
.
PickUpDescription
,
Memo
=
htModel
.
PickUpDescription
,
TotalNumber
=
htModel
.
PickUpTNumber
TotalNumber
=
htModel
.
PickUpTNumber
}
};
};
}
}
#
endregion
#
endregion
...
@@ -1544,36 +1544,28 @@ namespace REBORN.Module.DMCModule
...
@@ -1544,36 +1544,28 @@ namespace REBORN.Module.DMCModule
});
});
}
}
req
.
Entrustment
.
Order
.
VisaService
=
new
VisaService
[]
{
req
.
Entrustment
.
Order
.
VisaService
=
new
VisaService
()
new
VisaService
(){
{
VisaServices
=
VisaServices
.
ToArray
(),
VisaServices
=
VisaServices
.
ToArray
(),
TotalCost
=
htModel
.
VisaTotalPrice
,
TotalCost
=
htModel
.
VisaTotalPrice
,
Memo
=
htModel
.
VisaDescription
,
Memo
=
htModel
.
VisaDescription
,
TotalNumber
=
htModel
.
VisaTNumber
,
TotalNumber
=
htModel
.
VisaTNumber
,
VisaDeadline
=
htModel
.
VisaDeadline
VisaDeadline
=
htModel
.
VisaDeadline
}
};
}
#
endregion
#
region
机
+
酒
};
if
(
htModel
.
TicketAndHotelTotalPrice
>
0
)
{
//暂时不用了 一年多都没合同
}
}
#
endregion
#
endregion
#
region
其他服务
#
region
其他服务
if
(
htModel
.
OtherConventionPrice
>
0
)
if
(
htModel
.
OtherConventionPrice
>
0
)
{
{
req
.
Entrustment
.
Order
.
OtherService
=
new
OtherService
[
1
]
{
req
.
Entrustment
.
Order
.
OtherService
=
new
OtherService
new
OtherService
(){
{
Item
=
ReplaceParagraphTagsWithNewlines2
(
htModel
.
OtherConvention
),
// htModel.OtherConvention,
Item
=
ReplaceParagraphTagsWithNewlines2
(
htModel
.
OtherConvention
),
// htModel.OtherConvention,
TotalCost
=
htModel
.
OtherConventionPrice
??
0
,
TotalCost
=
htModel
.
OtherConventionPrice
??
0
,
TotalNumber
=
htModel
.
OtherTNumber
TotalNumber
=
htModel
.
OtherTNumber
}
};
};
}
}
#
endregion
#
endregion
...
...
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