Commit 58f8caa0 authored by liudong1993's avatar liudong1993

1

parent b5d8b648
......@@ -64,7 +64,7 @@ WHERE 1=1
}
if (!string.IsNullOrWhiteSpace(query.StuIds))
{
builder.AppendFormat(" AND A.{0} IN({1}) ", nameof(RB_Course_Student.id), query.StuIds);
builder.AppendFormat(" AND A.{0} IN({1}) ", nameof(RB_Course_Student.uid), query.StuIds);
}
}
builder.AppendFormat(" ORDER BY A.courseId DESC ");
......
......@@ -32,7 +32,7 @@ namespace EduSpider.WebApi.Controllers
var userInfo = base.UserInfo;
var query = new Model.Query.CourseQuery()
{
StuIds = userInfo.Id.ToString()
StuIds = userInfo.AccountId.ToString()
};
List<object> result = new();
var list = CourseService.GetStuCourseList(query);
......
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