From 4f439a02f697c184cd282a6014437ed4fb119669 Mon Sep 17 00:00:00 2001 From: dyy <18335927079@163.com> Date: Mon, 4 Jan 2021 17:16:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E8=BF=8E?= =?UTF-8?q?=E6=96=B0=E7=B3=BB=E7=BB=9F=EF=BC=88=E9=87=91=E9=9A=85=EF=BC=89?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E4=B8=8B=E5=8A=9F=E8=83=BD=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E7=B3=BB=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controllers/StuEnrollController.cs | 30 ++++------ .../Views/StuEnroll/AllocationClass.cshtml | 21 ------- .../Views/StuEnroll/AllocationClass.js | 58 +------------------ .../StuEnroll/AllocationDormitory.cshtml | 7 --- .../Views/StuEnroll/AllocationDormitory.js | 22 ------- .../Views/StuEnroll/CheckIn.cshtml | 4 -- .../Views/StuEnroll/CheckIn.js | 26 +-------- .../Views/StuEnroll/Form.cshtml | 4 -- .../Views/StuEnroll/Form.js | 22 ------- .../Views/StuEnroll/GetArticles.cshtml | 4 -- .../Views/StuEnroll/GetArticles.js | 23 -------- .../Views/StuEnroll/GetCloth.cshtml | 4 -- .../Views/StuEnroll/GetCloth.js | 23 -------- .../Views/StuEnroll/GetClothSize.cshtml | 4 -- .../Views/StuEnroll/GetClothSize.js | 24 +------- .../Views/StuEnroll/Index.cshtml | 4 -- .../Views/StuEnroll/Index.js | 38 +----------- .../Views/StuEnroll/IsHelp.cshtml | 4 -- .../Views/StuEnroll/IsHelp.js | 25 -------- .../Views/StuEnroll/IsPay.cshtml | 10 +--- .../Views/StuEnroll/IsPay.js | 23 -------- .../Views/StuEnroll/IsPhoto.cshtml | 6 +- .../Views/StuEnroll/IsPhoto.js | 32 ++-------- .../Views/StuEnroll/Military.cshtml | 4 -- .../Views/StuEnroll/Military.js | 25 -------- .../Views/StuEnroll/NewAllocationDormitory.js | 11 +--- .../Views/StuEnroll/PayAfter.cshtml | 4 -- .../Views/StuEnroll/PayAfter.js | 25 -------- .../Views/StuEnroll/Report.cshtml | 4 -- .../Views/StuEnroll/Report.js | 23 -------- .../Views/StuEnroll/StudentStatus.cshtml | 4 -- .../Views/StuEnroll/StudentStatus.js | 28 +-------- .../StuEnroll/StuEnrollBLL.cs | 31 ++-------- .../StuEnroll/StuEnrollEntity.cs | 5 -- .../StuEnroll/StuEnrollIBLL.cs | 7 +-- .../StuEnroll/StuEnrollService.cs | 53 +---------------- 36 files changed, 39 insertions(+), 603 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuEnrollController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuEnrollController.cs index 68591a54d..3d8f5b82d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuEnrollController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/StuEnrollController.cs @@ -314,13 +314,13 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers if (string.IsNullOrEmpty(student.PhotoUrl)) { student.PhotoUrl = Guid.NewGuid().ToString(); - stuEnrollIBLL.SaveEntity(student.StuId,student); + stuEnrollIBLL.SaveEntity(student.StuId, student); } var annexEntity = annexesFileIBLL.GetEntityByFolderId(student.PhotoUrl); if (annexEntity == null) { - annexEntity=new AnnexesFileEntity(); + annexEntity = new AnnexesFileEntity(); annexEntity.Create(); annexEntity.F_Id = Guid.NewGuid().ToString(); } @@ -344,11 +344,11 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers public ActionResult GetYearListByClass() { var classList = classInfoIBLL.GetAllClass().ToList(); - var result = classList.GroupBy(a => a.Grade).Select(m=>m.Key).ToList(); - List list=new List(); + var result = classList.GroupBy(a => a.Grade).Select(m => m.Key).ToList(); + List list = new List(); foreach (var item in result) { - list.Add(new{year=item}); + list.Add(new { year = item }); } return Success(list); @@ -375,9 +375,9 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers [HttpPost] [AjaxOnly] - public ActionResult GetCheckInStatistics(string DeptNo, string MajorNo, string ClassNo) + public ActionResult GetCheckInStatistics(string MajorNo, string ClassNo) { - var result = stuEnrollIBLL.GetCheckInStatistics(DeptNo, MajorNo, ClassNo); + var result = stuEnrollIBLL.GetCheckInStatistics(MajorNo, ClassNo); return Success(result); } @@ -385,18 +385,18 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers [HttpPost] [AjaxOnly] - public ActionResult GetHelpStatistics(string DeptNo, string MajorNo, string ClassNo) + public ActionResult GetHelpStatistics(string MajorNo, string ClassNo) { - var result = stuEnrollIBLL.GetHelpStatistics(DeptNo, MajorNo, ClassNo); + var result = stuEnrollIBLL.GetHelpStatistics(MajorNo, ClassNo); return Success(result); } [HttpPost] [AjaxOnly] - public ActionResult GetMilitaryStatistics(string DeptNo, string MajorNo, string ClassNo) + public ActionResult GetMilitaryStatistics(string MajorNo, string ClassNo) { - var result = stuEnrollIBLL.GetMilitaryStatistics(DeptNo, MajorNo, ClassNo); + var result = stuEnrollIBLL.GetMilitaryStatistics(MajorNo, ClassNo); return Success(result); } @@ -519,13 +519,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers return Success("分配成功!"); } - [HttpPost] - [AjaxOnly] - public ActionResult SyncDept() - { - stuEnrollIBLL.SyncDept(); - return Success("同步成功"); - } + [HttpPost] [AjaxOnly] public ActionResult SyncMajor() diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/AllocationClass.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/AllocationClass.cshtml index b438c7a7d..9ca53abf6 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/AllocationClass.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/StuEnroll/AllocationClass.cshtml @@ -57,13 +57,6 @@
-
-
-
系部
-
-
- -
专业
@@ -88,13 +81,6 @@