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
9900fef6
Commit
9900fef6
authored
Feb 21, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
28e78820
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ClassModule.cs
Edu.Module.Course/ClassModule.cs
+1
-1
No files found.
Edu.Module.Course/ClassModule.cs
View file @
9900fef6
...
...
@@ -5187,7 +5187,7 @@ namespace Edu.Module.Course
foreach
(
var
item
in
planList
.
OrderBy
(
x
=>
x
.
ClassDate
))
{
item
.
PlanTimeList
=
new
List
<
RB_Class_Time_ViewModel
>();
item
.
PlanTimeList
=
timeList
.
Where
(
x
=>
x
.
Class
Id
==
item
.
ClassId
&&
(
x
.
ClassPlanId
==
item
.
ClassPlanId
||
item
.
ClassDate
==
Convert
.
ToDateTime
(
Common
.
ConvertHelper
.
FormatDate
(
x
.
NewPlanDateTime
)))
).
ToList
();
item
.
PlanTimeList
=
timeList
.
Where
(
x
=>
x
.
Class
PlanId
==
item
.
ClassPlanId
).
ToList
();
foreach
(
var
itemTime
in
item
.
PlanTimeList
)
{
...
...
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