瀏覽代碼

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

长阳分支中职
dyy 3 週之前
父節點
當前提交
823c2f0be6
共有 1 個檔案被更改,包括 6 行新增0 行删除
  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 查看文件

@@ -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…
取消
儲存