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
cfbfd086
Commit
cfbfd086
authored
May 14, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
ab854e1b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
DutyPlanModule.cs
Edu.Module.Duty/DutyPlanModule.cs
+1
-1
ClassController.cs
Edu.WebApi/Controllers/Course/ClassController.cs
+3
-1
No files found.
Edu.Module.Duty/DutyPlanModule.cs
View file @
cfbfd086
...
...
@@ -409,7 +409,7 @@ namespace Edu.Module.Duty
RB_Duty_Plan_ViewModel
model
=
duty_PlanRepository
.
GetEntity
<
RB_Duty_Plan_ViewModel
>(
Id
);
if
(
model
!=
null
&&
model
.
Id
>
0
)
{
model
.
PlanDetails
=
GetDutyPlanDetailsListModule
(
new
RB_Duty_PlanDetails_ViewModel
()
{
PlanId
=
model
.
Id
});
model
.
PlanDetails
=
GetDutyPlanDetailsListModule
(
new
RB_Duty_PlanDetails_ViewModel
()
{
PlanId
=
model
.
Id
,
QDutyStatus
=-
1
});
}
return
model
;
}
...
...
Edu.WebApi/Controllers/Course/ClassController.cs
View file @
cfbfd086
...
...
@@ -711,8 +711,9 @@ namespace Edu.WebApi.Controllers.Course
{
return
ApiResult
.
Failed
(
"签到总人数错误,请先检查信息"
);
}
//判断今天有课没有
//判断今天有课没有
var
planList
=
classModule
.
GetClassPlanModelRepository
(
new
RB_Class_Plan_ViewModel
{
Group_Id
=
base
.
UserInfo
.
Group_Id
,
...
...
@@ -754,6 +755,7 @@ namespace Edu.WebApi.Controllers.Course
return
result
?
ApiResult
.
Success
()
:
ApiResult
.
Failed
(
"签到失败"
);
}
/// <summary>
/// 获取缺课分页列表
...
...
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