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
aea228ee
Commit
aea228ee
authored
Sep 12, 2025
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
邮轮加了一个出发地
parent
8aa08f24
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
RB_Customer_TicketOrder.cs
REBORN.Model/Entity/Dmc/RB_Customer_TicketOrder.cs
+5
-0
CustomerOrderModule.cs
REBORN.Module.SellModule/CustomerOrderModule.cs
+7
-2
CustomerOrderService.cs
REBORN.Services.SellService/CustomerOrderService.cs
+5
-0
No files found.
REBORN.Model/Entity/Dmc/RB_Customer_TicketOrder.cs
View file @
aea228ee
...
@@ -283,6 +283,11 @@ namespace REBORN.Model.Entity.Dmc
...
@@ -283,6 +283,11 @@ namespace REBORN.Model.Entity.Dmc
/// 旅客信息
/// 旅客信息
/// </summary>
/// </summary>
public
string
GuestInfo
{
get
;
set
;
}
public
string
GuestInfo
{
get
;
set
;
}
/// <summary>
/// 出发地
/// </summary>
public
int
PlacplaceDeparture
{
get
;
set
;
}
#
endregion
#
endregion
}
}
...
...
REBORN.Module.SellModule/CustomerOrderModule.cs
View file @
aea228ee
...
@@ -3607,6 +3607,10 @@ namespace REBORN.Module.SellModule
...
@@ -3607,6 +3607,10 @@ namespace REBORN.Module.SellModule
{
{
logContent
+=
$"销售由【
{
oldOrderModel
.
EnterID
}
】修改为【
{
demodel
.
EnterID
}
】,"
;
logContent
+=
$"销售由【
{
oldOrderModel
.
EnterID
}
】修改为【
{
demodel
.
EnterID
}
】,"
;
}
}
if
(
demodel
.
PlacplaceDeparture
!=
oldOrderModel
.
PlacplaceDeparture
)
{
logContent
+=
$"出发地由【
{
oldOrderModel
.
PlacplaceDeparture
}
】修改为【
{
demodel
.
PlacplaceDeparture
}
】,"
;
}
#
endregion
#
endregion
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
Dictionary
<
string
,
object
>
keyValues
=
new
Dictionary
<
string
,
object
>()
{
...
@@ -3631,8 +3635,9 @@ namespace REBORN.Module.SellModule
...
@@ -3631,8 +3635,9 @@ namespace REBORN.Module.SellModule
{
nameof
(
RB_Customer_TicketOrder_Extend
.
UseDate
),
demodel
.
UseDate
},
{
nameof
(
RB_Customer_TicketOrder_Extend
.
UseDate
),
demodel
.
UseDate
},
{
nameof
(
RB_Customer_TicketOrder_Extend
.
UseDay
),
demodel
.
UseDay
},
{
nameof
(
RB_Customer_TicketOrder_Extend
.
UseDay
),
demodel
.
UseDay
},
{
nameof
(
RB_Customer_TicketOrder_Extend
.
GuestInfo
),
demodel
.
GuestInfo
},
{
nameof
(
RB_Customer_TicketOrder_Extend
.
GuestInfo
),
demodel
.
GuestInfo
},
{
nameof
(
RB_Customer_TicketOrder_Extend
.
EnterID
),
demodel
.
EnterID
},
{
nameof
(
RB_Customer_TicketOrder_Extend
.
EnterID
),
demodel
.
EnterID
},
{
nameof
(
RB_Customer_TicketOrder_Extend
.
EmpBranchId
),
demodel
.
EmpBranchId
},
{
nameof
(
RB_Customer_TicketOrder_Extend
.
PlacplaceDeparture
),
demodel
.
PlacplaceDeparture
},
{
nameof
(
RB_Customer_TicketOrder_Extend
.
EmpBranchId
),
demodel
.
EmpBranchId
},
};
};
List
<
WhereHelper
>
wheres
=
new
List
<
WhereHelper
>()
{
List
<
WhereHelper
>
wheres
=
new
List
<
WhereHelper
>()
{
new
WhereHelper
(){
new
WhereHelper
(){
...
...
REBORN.Services.SellService/CustomerOrderService.cs
View file @
aea228ee
...
@@ -1703,6 +1703,8 @@ namespace REBORN.Services.SellService
...
@@ -1703,6 +1703,8 @@ namespace REBORN.Services.SellService
x
.
OtherContractList
,
x
.
OtherContractList
,
x
.
UseDay
,
x
.
UseDay
,
ContractType
=
Common
.
Enum
.
ResourceTypeEnum
.
TicketCoupons
,
ContractType
=
Common
.
Enum
.
ResourceTypeEnum
.
TicketCoupons
,
x
.
PlacplaceDeparture
,
PlacplaceDepartureStr
=
x
.
PlacplaceDeparture
==
1
?
"国内"
:
(
x
.
PlacplaceDeparture
==
2
?
"国外"
:
""
),
OrderGuestList
=
x
.
OrderGuestList
.
Select
(
subItem
=>
new
{
GuestId
=
subItem
.
Id
,
Tel
=
subItem
?.
Tel
??
""
,
IdCard
=
subItem
?.
IdCard
??
""
,
PassportNo
=
subItem
?.
PassportNo
??
""
,
PassportExpiry
=
StringHelper
.
FormatDate
(
subItem
.
PassportExpiry
),
PassportIssued
=
StringHelper
.
FormatDate
(
subItem
.
PassportIssued
),
Birthday
=
StringHelper
.
FormatDate
(
subItem
.
Birthday
),
subItem
.
OrderId
,
Name
=
subItem
?.
Name
??
""
,
Age
=
subItem
.
Birthday
.
HasValue
?
System
.
DateTime
.
Now
.
Year
-
subItem
.
Birthday
.
Value
.
Year
:
0
,
subItem
.
MobilePhone
}),
OrderGuestList
=
x
.
OrderGuestList
.
Select
(
subItem
=>
new
{
GuestId
=
subItem
.
Id
,
Tel
=
subItem
?.
Tel
??
""
,
IdCard
=
subItem
?.
IdCard
??
""
,
PassportNo
=
subItem
?.
PassportNo
??
""
,
PassportExpiry
=
StringHelper
.
FormatDate
(
subItem
.
PassportExpiry
),
PassportIssued
=
StringHelper
.
FormatDate
(
subItem
.
PassportIssued
),
Birthday
=
StringHelper
.
FormatDate
(
subItem
.
Birthday
),
subItem
.
OrderId
,
Name
=
subItem
?.
Name
??
""
,
Age
=
subItem
.
Birthday
.
HasValue
?
System
.
DateTime
.
Now
.
Year
-
subItem
.
Birthday
.
Value
.
Year
:
0
,
subItem
.
MobilePhone
}),
// OrderGuestList = x.OrderGuestList?.Select(z => new { PassportIssued = StringHelper.FormatDate(z?.PassportIssued), PassportExpiry = StringHelper.FormatDate(z?.PassportExpiry), IdCard = z?.IdCard ?? "", Name = z?.Name ?? "", Tel = z?.Tel ?? "", PassportNo = z?.PassportNo ?? "", Birthday = StringHelper.FormatDate(z.Birthday) }),
// OrderGuestList = x.OrderGuestList?.Select(z => new { PassportIssued = StringHelper.FormatDate(z?.PassportIssued), PassportExpiry = StringHelper.FormatDate(z?.PassportExpiry), IdCard = z?.IdCard ?? "", Name = z?.Name ?? "", Tel = z?.Tel ?? "", PassportNo = z?.PassportNo ?? "", Birthday = StringHelper.FormatDate(z.Birthday) }),
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
...
@@ -2272,6 +2274,7 @@ namespace REBORN.Services.SellService
...
@@ -2272,6 +2274,7 @@ namespace REBORN.Services.SellService
OrderStatus
=
CustomerOrderStatusEnum
.
Confirm
,
OrderStatus
=
CustomerOrderStatusEnum
.
Confirm
,
CurrencyId
=
1
,
CurrencyId
=
1
,
OrderId
=
parms
.
GetInt
(
"OrderId"
),
OrderId
=
parms
.
GetInt
(
"OrderId"
),
PlacplaceDeparture
=
parms
.
GetInt
(
"PlacplaceDeparture"
,
0
),
};
};
//出行人员名单(姓名、电话、出生年月日是必须的、护照号、身份证号、护照有效期非必填)
//出行人员名单(姓名、电话、出生年月日是必须的、护照号、身份证号、护照有效期非必填)
string
guestInfoStr
=
parms
.
GetStringValue
(
"GuestList"
);
string
guestInfoStr
=
parms
.
GetStringValue
(
"GuestList"
);
...
@@ -2686,6 +2689,8 @@ namespace REBORN.Services.SellService
...
@@ -2686,6 +2689,8 @@ namespace REBORN.Services.SellService
x
.
OtherContractList
,
x
.
OtherContractList
,
ContractType
=
Common
.
Enum
.
ResourceTypeEnum
.
TicketCoupons
,
ContractType
=
Common
.
Enum
.
ResourceTypeEnum
.
TicketCoupons
,
x
.
UseDay
,
x
.
UseDay
,
x
.
PlacplaceDeparture
,
PlacplaceDepartureStr
=
x
.
PlacplaceDeparture
==
1
?
"国内"
:
(
x
.
PlacplaceDeparture
==
2
?
"国外"
:
""
),
OrderGuestList
=
x
.
OrderGuestList
.
Select
(
subItem
=>
new
{
GuestId
=
subItem
.
Id
,
Tel
=
subItem
?.
Tel
??
""
,
IdCard
=
subItem
?.
IdCard
??
""
,
PassportNo
=
subItem
?.
PassportNo
??
""
,
PassportExpiry
=
StringHelper
.
FormatDate
(
subItem
.
PassportExpiry
),
PassportIssued
=
StringHelper
.
FormatDate
(
subItem
.
PassportIssued
),
Birthday
=
StringHelper
.
FormatDate
(
subItem
.
Birthday
),
subItem
.
OrderId
,
Name
=
subItem
?.
Name
??
""
,
Age
=
subItem
.
Birthday
.
HasValue
?
System
.
DateTime
.
Now
.
Year
-
subItem
.
Birthday
.
Value
.
Year
:
0
,
subItem
.
MobilePhone
}),
OrderGuestList
=
x
.
OrderGuestList
.
Select
(
subItem
=>
new
{
GuestId
=
subItem
.
Id
,
Tel
=
subItem
?.
Tel
??
""
,
IdCard
=
subItem
?.
IdCard
??
""
,
PassportNo
=
subItem
?.
PassportNo
??
""
,
PassportExpiry
=
StringHelper
.
FormatDate
(
subItem
.
PassportExpiry
),
PassportIssued
=
StringHelper
.
FormatDate
(
subItem
.
PassportIssued
),
Birthday
=
StringHelper
.
FormatDate
(
subItem
.
Birthday
),
subItem
.
OrderId
,
Name
=
subItem
?.
Name
??
""
,
Age
=
subItem
.
Birthday
.
HasValue
?
System
.
DateTime
.
Now
.
Year
-
subItem
.
Birthday
.
Value
.
Year
:
0
,
subItem
.
MobilePhone
}),
// OrderGuestList = x.OrderGuestList?.Select(z => new { PassportIssued = StringHelper.FormatDate(z?.PassportIssued), PassportExpiry = StringHelper.FormatDate(z?.PassportExpiry), IdCard = z?.IdCard ?? "", Name = z?.Name ?? "", Tel = z?.Tel ?? "", PassportNo = z?.PassportNo ?? "", Birthday = StringHelper.FormatDate(z.Birthday) }),
// OrderGuestList = x.OrderGuestList?.Select(z => new { PassportIssued = StringHelper.FormatDate(z?.PassportIssued), PassportExpiry = StringHelper.FormatDate(z?.PassportExpiry), IdCard = z?.IdCard ?? "", Name = z?.Name ?? "", Tel = z?.Tel ?? "", PassportNo = z?.PassportNo ?? "", Birthday = StringHelper.FormatDate(z.Birthday) }),
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
SupplierModel
=
new
{
SupplierId
=
x
?.
SupplierModel
?.
ID
??
0
,
SupplierName
=
x
?.
SupplierModel
?.
Name
??
""
,
Tel
=
x
?.
SupplierModel
?.
Tel
??
""
,
Contact
=
x
?.
SupplierModel
?.
Contact
??
""
,
CompanyName
=
x
?.
SupplierModel
?.
CompanyName
??
""
,
DutyParagraph
=
x
?.
SupplierModel
?.
DutyParagraph
??
""
,
CompanyPhone
=
x
?.
SupplierModel
?.
CompanyPhone
??
""
,
OpeningBank
=
x
?.
SupplierModel
?.
OpeningBank
??
""
,
BankNo
=
x
?.
SupplierModel
?.
BankNo
??
""
},
...
...
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