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
34188ad7
Commit
34188ad7
authored
Sep 06, 2024
by
吴春
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
db70f5b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
OrderModule.cs
Edu.Module.Course/OrderModule.cs
+8
-1
No files found.
Edu.Module.Course/OrderModule.cs
View file @
34188ad7
...
...
@@ -1913,9 +1913,16 @@ namespace Edu.Module.Course
}
//课程信息
List
<
RB_Course_ViewModel
>
courseList
=
new
List
<
RB_Course_ViewModel
>();
List
<
int
>
courseIdsList
=
new
List
<
int
>();
courseIdsList
.
Add
(
demodel
.
CourseId
);
if
(
demodel
?.
OrderCourseList
!=
null
&&
demodel
.
OrderCourseList
.
Any
())
{
string
courseIds
=
string
.
Join
(
","
,
demodel
?.
OrderCourseList
?.
Where
(
x
=>
x
.
CourseId
>
0
)?.
Select
(
x
=>
x
.
CourseId
));
courseIdsList
.
AddRange
(
demodel
.
OrderCourseList
?.
Where
(
x
=>
x
.
CourseId
>
0
)?.
Select
(
x
=>
x
.
CourseId
));
}
string
courseIds
=
string
.
Join
(
","
,
courseIdsList
.
Select
(
x
=>
x
).
Distinct
());
if
(
true
)
{
if
(!
string
.
IsNullOrWhiteSpace
(
courseIds
))
{
courseList
=
courseRepository
.
GetCourseListRepository
(
new
RB_Course_ViewModel
{
QCourseIds
=
courseIds
});
...
...
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