Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
e8e87a70
Commit
e8e87a70
authored
Sep 09, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e31e717b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
EducationContractModule.cs
Edu.Module.Course/EducationContractModule.cs
+2
-2
No files found.
Edu.Module.Course/EducationContractModule.cs
View file @
e8e87a70
...
@@ -120,7 +120,7 @@ namespace Edu.Module.Course
...
@@ -120,7 +120,7 @@ namespace Edu.Module.Course
{
{
var
obj
=
new
object
();
var
obj
=
new
object
();
var
orderModel
=
orderRepository
.
GetOrderListRepository_V2
(
new
RB_Order_ViewModel
{
OrderId
=
OrderId
})?.
FirstOrDefault
()
??
new
RB_Order_ViewModel
();
var
orderModel
=
orderRepository
.
GetOrderListRepository_V2
(
new
RB_Order_ViewModel
{
OrderId
=
OrderId
})?.
FirstOrDefault
()
??
new
RB_Order_ViewModel
();
var
guestModel
=
order_GuestRepository
.
Get
Entity
<
RB_Order_Guest_ViewModel
>(
GuestId
);
var
guestModel
=
order_GuestRepository
.
Get
CommonOrderGuestListRepository
(
new
RB_Order_Guest_ViewModel
{
Id
=
GuestId
})?.
FirstOrDefault
()??
new
RB_Order_Guest_ViewModel
(
);
var
classModel
=
new
RB_Class_ViewModel
();
var
classModel
=
new
RB_Class_ViewModel
();
var
courseModel
=
new
RB_Course_ViewModel
();
var
courseModel
=
new
RB_Course_ViewModel
();
decimal
PreferPrice
=
0
;
//总金额
decimal
PreferPrice
=
0
;
//总金额
...
@@ -160,7 +160,7 @@ namespace Edu.Module.Course
...
@@ -160,7 +160,7 @@ namespace Edu.Module.Course
StuBirth
=
Common
.
ConvertHelper
.
FormatDate
(
guestModel
?.
BirthDate
),
StuBirth
=
Common
.
ConvertHelper
.
FormatDate
(
guestModel
?.
BirthDate
),
StuSex
=
(
guestModel
?.
Sex
??
0
)
==
1
?
0
:
1
,
StuSex
=
(
guestModel
?.
Sex
??
0
)
==
1
?
0
:
1
,
StuAddress
=
guestModel
?.
ContactAddress
??
""
,
StuAddress
=
guestModel
?.
ContactAddress
??
""
,
StuTel
=
guestModel
?.
Contact
Mobile
??
""
,
StuTel
=
guestModel
?.
StuReal
Mobile
??
""
,
StuEmail
=
""
,
StuEmail
=
""
,
CourseName
=
orderModel
?.
CourseSubjectName
??
""
,
CourseName
=
orderModel
?.
CourseSubjectName
??
""
,
StartLevel
=
string
.
Join
(
"、"
,
classList
.
Select
(
x
=>
x
.
CourseName
)),
// guestModel?.Basics ?? "",
StartLevel
=
string
.
Join
(
"、"
,
classList
.
Select
(
x
=>
x
.
CourseName
)),
// guestModel?.Basics ?? "",
...
...
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