From 5397feb087e4430e537ee17adf3be681f60271eb Mon Sep 17 00:00:00 2001 From: ndbs Date: Mon, 10 Apr 2023 10:00:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=83=E5=8A=A1=E7=AE=A1=E7=90=86=20-?= =?UTF-8?q?=E8=80=83=E7=94=9F=E7=AE=A1=E7=90=86=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=AD=A6=E7=B1=8D=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../EducationalAdministration/Views/Exam_ExamStudent/Index.js | 1 + .../Exam_ExamStudent/Exam_ExamStudentEntity.cs | 2 ++ .../Exam_ExamStudent/Exam_ExamStudentService.cs | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamStudent/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamStudent/Index.js index 03958c813..786427633 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamStudent/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Exam_ExamStudent/Index.js @@ -313,6 +313,7 @@ var bootstrap = function ($, learun) { } }, { label: "学生编号", name: "StuNo", width: 140, align: "left" }, + { label: "学籍号", name: "StuCode", width: 140, align: "left" }, { label: "学生姓名", name: "StuName", width: 100, align: "left" }, { label: "身份证号", name: "IdentityCardNo", width: 140, align: "left" }, { label: "年级", name: "Grade", width: 100, align: "left" }, diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentEntity.cs index c42fff7cf..f7a15c46f 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentEntity.cs @@ -94,6 +94,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration public string MajorNo { get; set; } [NotMapped] public string IdentityCardNo { get; set; } + [NotMapped] + public string StuCode { get; set; } #endregion } } diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentService.cs index ff05e4f85..c22f6a208 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Exam_ExamStudent/Exam_ExamStudentService.cs @@ -32,7 +32,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration try { var strSql = new StringBuilder(); - strSql.Append(" select t.*,s.deptno,s.majorno,s.IdentityCardNo from Exam_ExamStudent t left join StuInfoBasic s on t.StuNo = s.stuno "); + strSql.Append(" select t.*,s.deptno,s.majorno,s.IdentityCardNo,s.stucode from Exam_ExamStudent t left join StuInfoBasic s on t.StuNo = s.stuno "); strSql.Append(" WHERE 1=1 "); var queryParam = queryJson.ToJObject(); // 虚拟参数