Procházet zdrojové kódy

办事大厅教师人数统计增加审核条件

临城职教中职
坤 梁 před 2 roky
rodič
revize
e57246b9c6
1 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. +5
    -5
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs

+ 5
- 5
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs Zobrazit soubor

@@ -1174,7 +1174,7 @@ namespace Learun.Application.Web.Controllers
ViewBag.StuInfoTotalNum = stuInfoData.Count();
//教师
var teacherData = empInfoIBLL.GetAllList();
ViewBag.TeacherTotalNum = teacherData.Count();
ViewBag.TeacherTotalNum = teacherData.Count(m=>m.CheckMark==true);
//教室
var classRoomData = classroomInfoIBLL.GetAllList();
ViewBag.ClassRoomTotalNum = classRoomData.Count();
@@ -1517,7 +1517,7 @@ namespace Learun.Application.Web.Controllers
ViewBag.StuInfoTotalNum = stuInfoData.Count();
//教师
var teacherData = empInfoIBLL.GetAllList();
ViewBag.TeacherTotalNum = teacherData.Count();
ViewBag.TeacherTotalNum = teacherData.Count(m => m.CheckMark == true);
//教室
var classRoomData = classroomInfoIBLL.GetAllList();
ViewBag.ClassRoomTotalNum = classRoomData.Count();
@@ -1623,9 +1623,9 @@ namespace Learun.Application.Web.Controllers
ViewBag.StuInfoTotalNumOfMan = stuInfoData.Where(x => x.GenderNo == true).Count();
//教师
var teacherData = empInfoIBLL.GetAllList();
ViewBag.TeacherTotalNum = teacherData.Count();
ViewBag.TeacherTotalNumOfMan = teacherData.Where(x => x.GenderNo == true).Count();
ViewBag.TeacherTotalNumOfBianNei = teacherData.Where(x => x.CompilationCategory == "01").Count();
ViewBag.TeacherTotalNum = teacherData.Count(m => m.CheckMark == true);
ViewBag.TeacherTotalNumOfMan = teacherData.Where(x => x.GenderNo == true&&x.CheckMark==true).Count();
ViewBag.TeacherTotalNumOfBianNei = teacherData.Where(x => x.CompilationCategory == "01"&& x.CheckMark == true).Count();
//教室
var classRoomData = classroomInfoIBLL.GetAllList();
ViewBag.ClassRoomTotalNum = classRoomData.Count();


Načítá se…
Zrušit
Uložit