|
|
@@ -44,6 +44,7 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
Get["/allschool"] = GetAllSchools;
|
|
|
|
Get["/allclasslesson"] = GetAllClassLesson;
|
|
|
|
Get["/allelelectivelesson"] = GetAllElectiveLesson;
|
|
|
|
Get["/allteacheruser"] = GetAllTeachersUsers;
|
|
|
|
|
|
|
|
//以下接口不往ArrangeLessonSync里记录已传数据
|
|
|
|
Get["/schoolNotRecord"] = GetSchoolsNotRecord;
|
|
|
@@ -115,6 +116,11 @@ namespace Learun.Application.WebApi.Modules |
|
|
|
var result = empInfoIbll.GetAllList().Where(m => m.CheckMark == true).ToList();
|
|
|
|
return Success(result);
|
|
|
|
}
|
|
|
|
private Response GetAllTeachersUsers(dynamic _)
|
|
|
|
{
|
|
|
|
var result = userIbll.GetAllList().Where(m => m.F_DeleteMark == 0 && m.F_EnabledMark == 1 && m.F_Description == "教师").ToList();
|
|
|
|
return Success(result);
|
|
|
|
}
|
|
|
|
private Response GetAllSchools(dynamic _)
|
|
|
|
{
|
|
|
|
var result = companyIbll.GetList();
|
|
|
|