Browse Source

网上办事大厅-学生人数异动后部分不纳入统计

临城职教中职
ndbs 2 years ago
parent
commit
dbe00ee234
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs

+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/SSOSystemController.cs View File

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


Loading…
Cancel
Save