From 2ef15f257736293558e800924171f24cf23b5927 Mon Sep 17 00:00:00 2001
From: dyy <807692433@qq.com>
Date: Thu, 29 Sep 2022 18:23:26 +0800
Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=A2=9E=E5=8A=A0=E3=80=91=E5=AD=A6?=
=?UTF-8?q?=E4=B8=9A=E6=88=90=E7=BB=A9=E8=80=83=E6=A0=B8=E8=AE=B0=E8=BD=BD?=
=?UTF-8?q?=E8=A1=A8=EF=BC=9B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Controllers/ScoreCheckInfoController.cs | 44 ++
.../Views/ScoreCheckInfo/FormTeach.cshtml | 12 +-
.../Views/ScoreCheckInfo/FormTeach.js | 1 +
.../Views/ScoreCheckInfo/Index.cshtml | 3 +-
.../Views/ScoreCheckInfo/Index.js | 103 +++--
.../ScoreCheckInfo/RecordTablePrint.cshtml | 436 ++++++++++++++++++
.../Learun.Application.Web.csproj | 1 +
.../XmlConfig/system.config | 2 +-
.../ScoreCheckInfo/ScoreCheckInfoEntity.cs | 13 +
.../ScoreCheckInfo/ScoreCheckInfoService.cs | 2 +
.../StudentCertificateBLL.cs | 24 +
.../StudentCertificateIBLL.cs | 6 +
.../StudentCertificateService.cs | 24 +
13 files changed, 619 insertions(+), 52 deletions(-)
create mode 100644 Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/RecordTablePrint.cshtml
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ScoreCheckInfoController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ScoreCheckInfoController.cs
index 09f0aecbc..cf442fd8f 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ScoreCheckInfoController.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/ScoreCheckInfoController.cs
@@ -3,6 +3,9 @@ using System.Data;
using Learun.Application.TwoDevelopment.EducationalAdministration;
using System.Web.Mvc;
using System.Collections.Generic;
+using Learun.Application.Base.SystemModule;
+using System;
+using System.Linq;
namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
{
@@ -16,6 +19,11 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
public class ScoreCheckInfoController : MvcControllerBase
{
private ScoreCheckInfoIBLL scoreCheckInfoIBLL = new ScoreCheckInfoBLL();
+ private AnnexesFileIBLL annexesFileIBLL = new AnnexesFileBLL();
+ private StuEncourgementIBLL stuEncourgementIBLL = new StuEncourgementBLL();
+ private StuPunishmentIBLL stuPunishmentIBLL = new StuPunishmentBLL();
+ private StuScoreIBLL stuScoreIBLL = new StuScoreBLL();
+ private StudentCertificateIBLL studentCertificateIBLL = new StudentCertificateBLL();
#region 视图功能
@@ -64,6 +72,42 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
{
return View();
}
+
+ ///
+ /// 学业成绩考核记载表
+ ///
+ ///
+ [HttpGet]
+ public ActionResult RecordTablePrint(string keyValue)
+ {
+ var entity = scoreCheckInfoIBLL.GetScoreCheckInfoEntity(keyValue);
+ if (entity == null)
+ {
+ entity = new ScoreCheckInfoEntity();
+ }
+ //意见盖章
+ var annexesFileEntity = annexesFileIBLL.GetEntityByFolderId(entity.FilePath);
+ if (annexesFileEntity != null)
+ {
+ entity.FilePath = annexesFileEntity.F_FilePath.Substring(annexesFileEntity.F_FilePath.IndexOf("Resource")-1);
+ }
+ else
+ {
+ entity.FilePath = "";
+ }
+ //职业资格证书(-表中无学年学期字段)
+ entity.StudentCertificateList = studentCertificateIBLL.GetList(entity.StuNo).OrderByDescending(x=>x.CreateTime).ToList();
+ //奖罚情况
+ entity.StuEncourgementList = stuEncourgementIBLL.GetEncourgementListByStuNo(entity.AcademicYearNo,entity.Semester,entity.StuNo).ToList();
+ entity.StuPunishmentList = stuPunishmentIBLL.GetPunishmentListByStuNo(entity.AcademicYearNo, entity.Semester, entity.StuNo).ToList();
+ //学习成绩
+ entity.StuScoreList = stuScoreIBLL.GetAllScoreListByStuNo(entity.StuNo).Where(x => x.AcademicYearNo ==entity.AcademicYearNo && x.Semester == entity.Semester && x.CheckMark=="1").ToList();
+ //考勤
+ //todo:
+
+
+ return View(entity);
+ }
#endregion
#region 获取数据
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.cshtml
index 78f1fa403..094f31980 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.cshtml
@@ -13,12 +13,12 @@
+
+
+
+
+
@Html.AppendJsFile("/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.js")
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.js
index ee1dcfda5..4b6f497d9 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/FormTeach.js
@@ -34,6 +34,7 @@ var bootstrap = function ($, learun) {
$('#MajorNo').lrDataSourceSelect({ code: 'CdMajorInfo', value: 'majorno', text: 'majorno' });
$('#ClassNo').lrDataSourceSelect({ code: 'bjsj', value: 'classno', text: 'classname' });
$('#OperatingLevel').lrDataItemSelect({ code: 'OperatingLevel' });
+ $('#FilePath').lrUploader();
},
initData: function () {
if (!!keyValue) {
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.cshtml
index 3150c036e..4d8c623c0 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.cshtml
@@ -56,8 +56,7 @@
教师评语
提交
审核
- 打印
- @* 去审核*@
+ 学业成绩考核记载表打印
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.js
index 9a5fe66f4..00b8c8f8c 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/Index.js
@@ -144,19 +144,15 @@ var bootstrap = function ($, learun) {
});
}
});
- // 打印
- $('#lr_print').on('click', function () {
- $('#gridtable').jqprintTable();
- });
// 审核
$('#lr_lock').on('click', function () {
var keyValue = $('#gridtable').jfGridValue('ID');
if (learun.checkrow(keyValue)) {
var CheckMark = $('#gridtable').jfGridValue('CheckStatus');
- if (CheckMark.indexOf('1') > -1 || CheckMark.indexOf('2') > -1) {
- learun.alert.warning("选中记录中包含已审核项目,请勿重复提交!");
- return;
- }
+ //if (CheckMark.indexOf('1') > -1 || CheckMark.indexOf('2') > -1) {
+ // learun.alert.warning("选中记录中包含已审核项目,请勿重复提交!");
+ // return;
+ //}
learun.layerForm({
id: 'formTeach',
title: '编辑',
@@ -177,11 +173,11 @@ var bootstrap = function ($, learun) {
learun.alert.warning("只能选择一条记录进行编辑!");
return;
}
- var CheckMark = $('#gridtable').jfGridValue('CheckStatus');
- if (CheckMark.indexOf('1') > -1 || CheckMark.indexOf('2') > -1) {
- learun.alert.warning("选中记录中包含已审核项目,请勿重复提交!");
- return;
- }
+ //var CheckMark = $('#gridtable').jfGridValue('CheckStatus');
+ //if (CheckMark.indexOf('1') > -1 || CheckMark.indexOf('2') > -1) {
+ // learun.alert.warning("选中记录中包含已审核项目,请勿重复提交!");
+ // return;
+ //}
learun.layerForm({
id: 'formTeach',
title: '编辑',
@@ -226,10 +222,28 @@ var bootstrap = function ($, learun) {
});
}
});
+
+ //学业成绩考核记载表打印
+ $('#lr_print').on('click', function () {
+ var keyValue = $('#gridtable').jfGridValue('ID');
+ if (learun.checkrow(keyValue)) {
+ learun.layerForm({
+ id: 'recordtableprint',
+ title: '学业成绩考核记载表',
+ url: top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/RecordTablePrint?keyValue=' + keyValue,
+ width: 1200,
+ height: 800,
+ callBack: function (id) {
+ return top[id].acceptClick(refreshGirdData);
+ }
+ });
+ }
+ });
+
},
// 初始化列表
initGird: function () {
- $('#gridtable').lrAuthorizeJfGrid({
+ $('#gridtable').jfGrid({
url: top.$.rootUrl + '/EducationalAdministration/ScoreCheckInfo/GetPageList',
headData: [
{ label: "学年", name: "AcademicYearNo", width: 60, align: "left" },
@@ -275,6 +289,24 @@ var bootstrap = function ($, learun) {
});
}
},
+
+ { label: "班主任评语", name: "TeacherDemo", width: 100, align: "left" },
+ {
+ label: "评语日期", name: "TDate", width: 130, align: "left"
+ },
+ {
+ label: "评语填写人", name: "Signed", width: 100, align: "left",
+ formatterAsync: function (callback, value, row, op, $cell) {
+ learun.clientdata.getAsync('custmerData', {
+ url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser',
+ key: value,
+ keyId: 'f_account',
+ callback: function (_data) {
+ callback(_data['f_realname']);
+ }
+ });
+ }
+ },
{
label: "操作等级", name: "OperatingLevel", width: 60, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
@@ -287,50 +319,29 @@ var bootstrap = function ($, learun) {
});
}
},
+ { label: "学校教务部门审核意见", name: "CheckOpinion", width: 150, align: "left" },
{
- label: "评语填写人", name: "Signed", width: 100, align: "left",
+ label: "意见日期", name: "CheckTime", width: 130, align: "left"
+ },
+ {
+ label: "意见填写人", name: "CheckUser", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
- url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'EmpInfo',
+ url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'BaseUser',
key: value,
- keyId: 'empno',
+ keyId: 'f_userid',
callback: function (_data) {
- callback(_data['empname']);
+ callback(_data['f_realname']);
}
});
}
},
- { label: "班主任评语", name: "TeacherDemo", width: 200, align: "left" },
- {
- label: "评价时间", name: "TDate", width: 100, align: "left",
- formatter: function (cellvalue) {
- return learun.formatDate(cellvalue, 'yyyy-MM-dd');
- }
- },
- { label: "学校教务部门审核意见", name: "CheckOpinion", width: 200, align: "left" },
- {
- label: "审核时间", name: "CheckTime", width: 100, align: "left",
- formatter: function (cellvalue) {
- return learun.formatDate(cellvalue, 'yyyy-MM-dd');
- }
- },
- {
- label: "审核状态", name: "CheckStatus", width: 100, align: "left",
- formatter: function (cellvalue, row) {
- if (cellvalue == 1) {
- return '审核中';
- } else if (cellvalue == 2) {
- return '审核通过';
- } else {
- return '草稿';
- }
- }
- },
+
],
mainId: 'ID',
isPage: true,
- sidx: 'CreateTime desc',
- isMultiselect: true,
+ sidx: 'AcademicYearNo desc,Semester desc,StuNo asc',
+ isMultiselect: false,
});
page.search();
},
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/RecordTablePrint.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/RecordTablePrint.cshtml
new file mode 100644
index 000000000..97c4f6654
--- /dev/null
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/ScoreCheckInfo/RecordTablePrint.cshtml
@@ -0,0 +1,436 @@
+@model Learun.Application.TwoDevelopment.EducationalAdministration.ScoreCheckInfoEntity
+@{
+ ViewBag.Title = "学业成绩考核记载表";
+ Layout = null;
+}
+
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
+
+
+
学生成绩考核记载表( @Model.AcademicYearNo 学年,第 @Model.Semester 学期)
+
+
+
+ 学业成绩
+ |
+ 学科名称 |
+ 成 绩 |
+ 学科名称 |
+ 成 绩 |
+
+
+ 正考 |
+ 补考 |
+ 正考 |
+ 补考 |
+
+
+ 1 |
+ 1 |
+ 1 |
+ 2 |
+ 2 |
+ 2 |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ |
+ |
+ |
+ |
+ |
+ |
+
+
+ 学校教务部门审核意见 |
+
+ @Model.CheckOpinion
+ (盖 章)
+
+
+
+ @{
+ if (Model.CheckTime.HasValue)
+ {
+ @Model.CheckTime.Value.Year 年 @Model.CheckTime.Value.Month 月 @Model.CheckTime.Value.Day 日
+ }
+ else
+ {
+ 年 月 日
+ }
+ }
+
+
+ |
+
+
+ 考勤 |
+ 事假(节) |
+
+
+
+ 病假(节) |
+ 旷课(节) |
+ 迟到(次) |
+ 早退(次) |
+
+
+ |
+
+
+
+ |
+
+
+ |
+
+
+ 职业资格证书获得情况 |
+
+
+ @foreach (var item in Model.StudentCertificateList)
+ {
+ @(Model.StudentCertificateList.IndexOf(item)+1)、@item.SCName @item.CreateTime.Value.ToShortDateString().Replace("/", "-")
+ }
+
+ |
+
+
+ 奖 惩 记 载 |
+
+
+ @foreach (var item in Model.StuEncourgementList)
+ {
+ @(Model.StuEncourgementList.IndexOf(item) + 1)、@item.EncourgeDate.Value.ToShortDateString().Replace("/", "-") @item.EncourgeName @item.Fee
+ }
+ @foreach (var item in Model.StuPunishmentList)
+ {
+ @(Model.StuPunishmentList.IndexOf(item) + 1 + Model.StuEncourgementList.Count())、@item.PunishDate.Value.ToShortDateString().Replace("/", "-") @item.PunishName
+ }
+
+ |
+
+
+
+ 操行鉴定
+ |
+ 操行等级 |
+ @Model.OperatingLevel |
+
+
+ 班主任评估 |
+
+ @Model.TeacherDemo
+ 班主任签名:@Model.Signed
+
+ @{
+ if (Model.TDate.HasValue)
+ {
+ @Model.TDate.Value.Year 年 @Model.TDate.Value.Month 月 @Model.TDate.Value.Day 日
+ }
+ else
+ {
+ 年 月 日
+ }
+ }
+
+
+ |
+
+
+
注:操行等级分优、良、中、差四等
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
index f4907e44a..46cdf18ea 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
@@ -1249,6 +1249,7 @@
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config
index 847cc2703..871d1b737 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/system.config
@@ -65,7 +65,7 @@
-
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ScoreCheckInfo/ScoreCheckInfoEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ScoreCheckInfo/ScoreCheckInfoEntity.cs
index 559514e03..7e737d6da 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ScoreCheckInfo/ScoreCheckInfoEntity.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ScoreCheckInfo/ScoreCheckInfoEntity.cs
@@ -1,5 +1,6 @@
using Learun.Util;
using System;
+using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
namespace Learun.Application.TwoDevelopment.EducationalAdministration
@@ -138,6 +139,9 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
public void Create()
{
this.ID = Guid.NewGuid().ToString();
+ var loginUserInfo = LoginUserInfo.Get();
+ this.CreateUser = loginUserInfo.userId;
+ this.CreateTime = DateTime.Now;
}
///
/// 编辑调用
@@ -146,9 +150,18 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
public void Modify(string keyValue)
{
this.ID = keyValue;
+ var loginUserInfo = LoginUserInfo.Get();
+ this.UpdateUser = loginUserInfo.userId;
+ this.UpdateTime = DateTime.Now;
}
#endregion
#region 扩展字段
+ [NotMapped] public List StuEncourgementList { get; set; }
+ [NotMapped] public List StuPunishmentList { get; set; }
+
+ [NotMapped] public List StuScoreList { get; set; }
+
+ [NotMapped] public List StudentCertificateList { get; set; }
#endregion
}
}
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ScoreCheckInfo/ScoreCheckInfoService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ScoreCheckInfo/ScoreCheckInfoService.cs
index c22d79983..2e4d230e6 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ScoreCheckInfo/ScoreCheckInfoService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/ScoreCheckInfo/ScoreCheckInfoService.cs
@@ -213,6 +213,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
entity.UpdateTime = DateTime.Now;
entity.UpdateUser = userlogin.userId;
entity.Signed = userlogin.account;
+ entity.TDate = DateTime.Now;
this.BaseRepository("CollegeMIS").Update(entity);
}
}
@@ -296,6 +297,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
{
var model = db.FindEntity(x => x.ID == item);
model.CheckStatus = entity.CheckStatus;
+ model.CheckOpinion = entity.CheckOpinion;
model.CheckTime = DateTime.Now;
model.CheckUser = userlogin.userId;
model.UpdateTime = DateTime.Now;
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateBLL.cs
index ccebd9597..3c21d13e7 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateBLL.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateBLL.cs
@@ -67,6 +67,30 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
}
+ ///
+ /// 获取页面显示列表数据
+ ///
+ ///
+ public IEnumerable GetList(string stuNo)
+ {
+ try
+ {
+ return studentCertificateService.GetList(stuNo);
+
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowBusinessException(ex);
+ }
+ }
+ }
+
///
/// 获取主表实体数据
///
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateIBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateIBLL.cs
index df0f17d7e..1440a15cf 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateIBLL.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateIBLL.cs
@@ -28,6 +28,12 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// 主键
///
StudentCertificateEntity GetStudentCertificateEntity(string keyValue);
+
+ ///
+ /// 获取页面显示列表数据
+ ///
+ ///
+ IEnumerable GetList(string stuNo);
///
/// 获取主表实体数据
///
diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateService.cs
index 6c39ee105..73e70a266 100644
--- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateService.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/StudentCertificate/StudentCertificateService.cs
@@ -142,6 +142,30 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
}
+ ///
+ /// 获取页面显示列表数据
+ ///
+ ///
+ public IEnumerable GetList(string stuNo)
+ {
+ try
+ {
+ return this.BaseRepository("CollegeMIS").FindList(x => x.StuNo == stuNo && x.Status==2);
+
+ }
+ catch (Exception ex)
+ {
+ if (ex is ExceptionEx)
+ {
+ throw;
+ }
+ else
+ {
+ throw ExceptionEx.ThrowServiceException(ex);
+ }
+ }
+ }
+
#endregion
#region 提交数据