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
6d2ede49
Commit
6d2ede49
authored
Jul 26, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
24bfeda7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
ClassModule.cs
Edu.Module.Course/ClassModule.cs
+8
-1
No files found.
Edu.Module.Course/ClassModule.cs
View file @
6d2ede49
...
@@ -613,7 +613,14 @@ namespace Edu.Module.Course
...
@@ -613,7 +613,14 @@ namespace Edu.Module.Course
var
guestList
=
order_GuestRepository
.
GetOrderGuestListRepository
(
new
RB_Order_Guest_ViewModel
()
var
guestList
=
order_GuestRepository
.
GetOrderGuestListRepository
(
new
RB_Order_Guest_ViewModel
()
{
{
ClassId
=
model
.
ClassId
ClassId
=
model
.
ClassId
});
}).
Where
(
qitem
=>
qitem
.
GuestState
!=
2
||
qitem
.
GuestState
!=
5
).
ToList
();
foreach
(
var
item
in
guestList
)
{
if
(
item
.
ValidClassHours
>
item
.
CompleteHours
)
{
message
=
"注意,该班级下面任然存在未消耗完课时的学员,请核对学员课时,进行补课处理!"
;
}
}
}
}
return
classRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Class_ViewModel
.
ClassId
),
model
.
ClassId
));
return
classRepository
.
Update
(
fileds
,
new
WhereHelper
(
nameof
(
RB_Class_ViewModel
.
ClassId
),
model
.
ClassId
));
}
}
...
...
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