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
99857ad9
Commit
99857ad9
authored
Jan 18, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/Kui2/education
parents
9a419340
d2cffb92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
OrderController.cs
Edu.WebApi/Controllers/Course/OrderController.cs
+11
-2
No files found.
Edu.WebApi/Controllers/Course/OrderController.cs
View file @
99857ad9
...
...
@@ -1707,7 +1707,10 @@ namespace Edu.WebApi.Controllers.Course
ExcelRows
=
new
List
<
ExcelColumn
>(
30
)
{
new
ExcelColumn
(
value
:
"订单号"
){
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"下单日期"
){
CellWidth
=
20
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"业务员"
){
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"下单人"
){
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"市场人员"
){
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"课程顾问"
){
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"协助老师"
){
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"班级"
){
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"开班时间"
){
CellWidth
=
20
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
new
ExcelColumn
(
value
:
"课程"
){
CellWidth
=
15
,
HAlignmentEnum
=
HAlignmentEnum
.
CENTER
,
VAlignmentEnum
=
VAlignmentEnum
.
CENTER
},
...
...
@@ -1768,7 +1771,10 @@ namespace Edu.WebApi.Controllers.Course
{
new
ExcelColumn
(
value
:
item
.
OrderId
.
ToString
()){
},
new
ExcelColumn
(
value
:
item
.
CreateTime
.
ToString
(
"yyyy-MM-dd HH:mm"
)){
},
new
ExcelColumn
(
value
:
item
.
EnterName
){
},
new
ExcelColumn
(
value
:
(
item
.
CreateBy
>
0
?
UserReidsCache
.
GetUserLoginInfo
(
item
.
CreateBy
)?.
AccountName
??
""
:
""
)){
},
new
ExcelColumn
(
value
:
(
item
.
EnterID
>
0
?
UserReidsCache
.
GetUserLoginInfo
(
item
.
EnterID
)?.
AccountName
??
""
:
""
)){
},
new
ExcelColumn
(
value
:
(
item
.
CourseConsultantId
>
0
?
UserReidsCache
.
GetUserLoginInfo
(
item
.
CourseConsultantId
)?.
AccountName
??
""
:
""
)){
},
new
ExcelColumn
(
value
:
(
item
.
HelpEnterId
>
0
?
UserReidsCache
.
GetUserLoginInfo
(
item
.
HelpEnterId
)?.
AccountName
??
""
:
""
)){
},
new
ExcelColumn
(
value
:
item
.
ClassName
){
},
new
ExcelColumn
(
value
:
item
.
OpenTime
.
ToString
(
"yyyy-MM-dd"
)){
},
new
ExcelColumn
(
value
:
item
.
CourseName
){
},
...
...
@@ -1803,6 +1809,9 @@ namespace Edu.WebApi.Controllers.Course
new
ExcelColumn
(
value
:
""
){
},
new
ExcelColumn
(
value
:
""
){
},
new
ExcelColumn
(
value
:
""
){
},
new
ExcelColumn
(
value
:
""
){
},
new
ExcelColumn
(
value
:
""
){
},
new
ExcelColumn
(
value
:
""
){
},
new
ExcelColumn
(
value
:
list
.
Sum
(
x
=>
x
.
GuestNum
).
ToString
()){
},
new
ExcelColumn
(
value
:
""
){
},
new
ExcelColumn
(
value
:
""
){
},
...
...
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