Browse Source

【增加】增加教师用户接口;

长阳分支中职
dyy 3 weeks ago
parent
commit
823c2f0be6
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs

+ 6
- 0
Learun.Framework.Ultimate V7/Learun.Application.WebApi/Modules/Arrangelesson.cs View File

@@ -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();


Loading…
Cancel
Save