|
|
@@ -1182,7 +1182,7 @@ namespace Learun.Application.Web.Controllers |
|
|
|
ViewBag.StuInfoTotalNum = stuInfoData.Count(); |
|
|
|
//教师 |
|
|
|
var teacherData = empInfoIBLL.GetAllList(); |
|
|
|
ViewBag.TeacherTotalNum = teacherData.Count(m=>m.CheckMark==true); |
|
|
|
ViewBag.TeacherTotalNum = teacherData.Count(m => m.CheckMark == true); |
|
|
|
//教室 |
|
|
|
var classRoomData = classroomInfoIBLL.GetAllList(); |
|
|
|
ViewBag.ClassRoomTotalNum = classRoomData.Count(); |
|
|
@@ -1634,14 +1634,14 @@ namespace Learun.Application.Web.Controllers |
|
|
|
var classInfoData = classInfoIBLL.GetAllClass(); |
|
|
|
ViewBag.ClassInfoTotalNum = classInfoData.Count(); |
|
|
|
//学生 |
|
|
|
var stuInfoData = stuInfoBasicIBLL.GetAllList(); |
|
|
|
var stuInfoData = stuInfoBasicIBLL.GetAllList("1"); |
|
|
|
ViewBag.StuInfoTotalNum = stuInfoData.Count(); |
|
|
|
ViewBag.StuInfoTotalNumOfMan = stuInfoData.Where(x => x.GenderNo == true).Count(); |
|
|
|
//教师 |
|
|
|
var teacherData = empInfoIBLL.GetAllList(); |
|
|
|
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(); |
|
|
|
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(); |
|
|
|