Commit 0d523f36 authored by liudong1993's avatar liudong1993

1

parent 733c02d8
...@@ -111,6 +111,10 @@ WHERE 1=1 ...@@ -111,6 +111,10 @@ WHERE 1=1
{ {
builder.AppendFormat(" AND t.{0}={1} ", nameof(RB_Student_ViewModel.CustomerId), query.CustomerId); 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)) if (!string.IsNullOrEmpty(query.StuIds))
{ {
builder.AppendFormat(" AND t.{0} in({1}) ", nameof(RB_Student_ViewModel.StuId), query.StuIds); builder.AppendFormat(" AND t.{0} in({1}) ", nameof(RB_Student_ViewModel.StuId), query.StuIds);
......
...@@ -43,19 +43,10 @@ namespace Edu.WebApi.Controllers.Applet ...@@ -43,19 +43,10 @@ namespace Edu.WebApi.Controllers.Applet
/// </summary> /// </summary>
private readonly OrderModule orderModule = new OrderModule(); private readonly OrderModule orderModule = new OrderModule();
/// <summary> /// <summary>
/// 班级管理处理类
/// </summary>
private readonly ClassModule classModule = new ClassModule();
/// <summary>
/// 课程处理类对象 /// 课程处理类对象
/// </summary> /// </summary>
private readonly CourseModule courseModule = AOP.AOPHelper.CreateAOPObject<CourseModule>(); private readonly CourseModule courseModule = AOP.AOPHelper.CreateAOPObject<CourseModule>();
/// <summary>
/// 学习园地处理类对象
/// </summary>
private readonly LearningGardenModule learningGardenModule = AOP.AOPHelper.CreateAOPObject<LearningGardenModule>();
#region 获取个人中心数据 #region 获取个人中心数据
......
...@@ -207,10 +207,6 @@ namespace Edu.WebApi.Controllers.Applet ...@@ -207,10 +207,6 @@ namespace Edu.WebApi.Controllers.Applet
var appletUserInfo = base.AppletUserInfo; var appletUserInfo = base.AppletUserInfo;
//判断学员是否退学 //判断学员是否退学
var studentList = studentModule.GetStudentInfo(appletUserInfo.AccountId, appletUserInfo.Group_Id); 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(); RB_Student_ViewModel studentModel = new RB_Student_ViewModel();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment