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
0d523f36
Commit
0d523f36
authored
Jan 10, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
733c02d8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
13 deletions
+4
-13
RB_StudentRepository.cs
Edu.Repository/User/RB_StudentRepository.cs
+4
-0
AppletCenterController.cs
Edu.WebApi/Controllers/Applet/AppletCenterController.cs
+0
-9
AppletIndexController.cs
Edu.WebApi/Controllers/Applet/AppletIndexController.cs
+0
-4
No files found.
Edu.Repository/User/RB_StudentRepository.cs
View file @
0d523f36
...
...
@@ -111,6 +111,10 @@ WHERE 1=1
{
builder
.
AppendFormat
(
" AND t.{0}={1} "
,
nameof
(
RB_Student_ViewModel
.
CustomerId
),
query
.
CustomerId
);
}
if
(
query
.
StuId
>
0
)
{
builder
.
AppendFormat
(
" AND t.{0}={1} "
,
nameof
(
RB_Student_ViewModel
.
StuId
),
query
.
StuId
);
}
if
(!
string
.
IsNullOrEmpty
(
query
.
StuIds
))
{
builder
.
AppendFormat
(
" AND t.{0} in({1}) "
,
nameof
(
RB_Student_ViewModel
.
StuId
),
query
.
StuIds
);
...
...
Edu.WebApi/Controllers/Applet/AppletCenterController.cs
View file @
0d523f36
...
...
@@ -43,19 +43,10 @@ namespace Edu.WebApi.Controllers.Applet
/// </summary>
private
readonly
OrderModule
orderModule
=
new
OrderModule
();
/// <summary>
/// 班级管理处理类
/// </summary>
private
readonly
ClassModule
classModule
=
new
ClassModule
();
/// <summary>
/// 课程处理类对象
/// </summary>
private
readonly
CourseModule
courseModule
=
AOP
.
AOPHelper
.
CreateAOPObject
<
CourseModule
>();
/// <summary>
/// 学习园地处理类对象
/// </summary>
private
readonly
LearningGardenModule
learningGardenModule
=
AOP
.
AOPHelper
.
CreateAOPObject
<
LearningGardenModule
>();
#
region
获取个人中心数据
...
...
Edu.WebApi/Controllers/Applet/AppletIndexController.cs
View file @
0d523f36
...
...
@@ -207,10 +207,6 @@ namespace Edu.WebApi.Controllers.Applet
var
appletUserInfo
=
base
.
AppletUserInfo
;
//判断学员是否退学
var
studentList
=
studentModule
.
GetStudentInfo
(
appletUserInfo
.
AccountId
,
appletUserInfo
.
Group_Id
);
//if (studentList == null || !studentList.Any())
//{
// return ApiResult.Failed(message: $"很抱歉,由于你已经退学,无法继续使用本系统", new { Error = 3 });
//}
//获取正在学习的班级 /未开班/已结班
RB_Student_ViewModel
studentModel
=
new
RB_Student_ViewModel
();
...
...
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