From f8c791fb7dbc9c58d211e2e2ae161f8092957834 Mon Sep 17 00:00:00 2001 From: zhichao lei <442149704@qq.com> Date: Mon, 28 Dec 2020 14:52:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E6=96=87=E6=8E=A5=E6=94=B6=E6=96=B0?= =?UTF-8?q?=E7=89=88=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Sys_ReceiveDocumentController.cs | 26 ++++ .../Controllers/Sys_ReceiveFileController.cs | 8 +- .../Views/EmpInfo/Index.js | 11 +- .../Views/Sys_ReceiveDocument/Form.cshtml | 8 + .../Views/Sys_ReceiveDocument/FormView.cshtml | 8 + .../Views/Sys_ReceiveDocument/Index.cshtml | 1 + .../Views/Sys_ReceiveDocument/Index.js | 21 ++- .../Sys_ReceiveDocument/PrintView.cshtml | 147 ++++++++++++++++++ .../Views/Sys_ReceiveDocument/PrintView.js | 73 +++++++++ .../Learun.Application.Web.csproj | 3 + .../Views/Shared/_SimpleForm.cshtml | 99 ++++++++++++ .../Sys_ReceiveDocumentEntity.cs | 16 ++ .../Sys_ReceiveDocumentService.cs | 4 +- .../Sys_ReceiveFile/Sys_ReceiveFileBLL.cs | 18 +++ .../Sys_ReceiveFile/Sys_ReceiveFileIBLL.cs | 1 + .../Sys_ReceiveFile/Sys_ReceiveFileService.cs | 19 +++ 16 files changed, 455 insertions(+), 8 deletions(-) create mode 100644 Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.cshtml create mode 100644 Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js create mode 100644 Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Shared/_SimpleForm.cshtml diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveDocumentController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveDocumentController.cs index 41439a148..5c00658b7 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveDocumentController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveDocumentController.cs @@ -3,6 +3,7 @@ using System.Data; using Learun.Application.TwoDevelopment.EducationalAdministration; using System.Web.Mvc; using System.Collections.Generic; +using System.Linq; namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers { @@ -16,6 +17,7 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers public class SYS_ReceiveDocumentController : MvcControllerBase { private SYS_ReceiveDocumentIBLL sYS_ReceiveDocumentIBLL = new SYS_ReceiveDocumentBLL(); + private Sys_ReceiveFileIBLL receiveFileIbll=new Sys_ReceiveFileBLL(); #region 视图功能 @@ -66,6 +68,15 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers { return View(); } + /// + /// 打印页面 + /// + /// + [HttpGet] + public ActionResult PrintView() + { + return View(); + } #endregion #region 获取数据 @@ -120,6 +131,21 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers }; return Success(jsonData); } + + + + public ActionResult PrintInfo(string keyValue) + { + var entity = sYS_ReceiveDocumentIBLL.GetSys_ReceiveDocumentEntity(keyValue); + var entityItem = receiveFileIbll.GetPageListBySendId(keyValue).ToList().Where(a=>a.ReadTime!=null).OrderBy(a=>a.ReadTime); + object data = new + { + entity, + entityItem + }; + + return Success(data); + } #endregion #region 提交数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveFileController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveFileController.cs index d29ebadd3..32bac3040 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveFileController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveFileController.cs @@ -252,8 +252,8 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers public ActionResult ZhuRenP(string strEntity) { Sys_IssueEntity entity = strEntity.ToObject(); - //entity.SpecifyReceiver = sys_ReceiveFileIBLL.ZhuRenP(); - entity.SpecifyReceiver = "System"; + entity.SpecifyReceiver = sys_ReceiveFileIBLL.ZhuRenP(); + //entity.SpecifyReceiver = "System"; sys_ReceiveFileIBLL.ReceiveDocumentIssue(entity); return Success("发送成功"); } @@ -267,8 +267,8 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers public ActionResult XiaoZhangP(string strEntity) { Sys_IssueEntity entity = strEntity.ToObject(); - //entity.SpecifyReceiver = sys_ReceiveFileIBLL.XiaoZhangP(); - entity.SpecifyReceiver = "System"; + entity.SpecifyReceiver = sys_ReceiveFileIBLL.XiaoZhangP(); + //entity.SpecifyReceiver = "System"; sys_ReceiveFileIBLL.ReceiveDocumentIssue(entity); return Success("发送成功"); } diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js index 95d546df3..cf8448181 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js @@ -15,7 +15,7 @@ var bootstrap = function ($, learun) { bind: function () { $('#multiple_condition_query').lrMultipleQuery(function (queryJson) { page.search(queryJson); - }, 280, 400); + }, 280, 700); $('#DeptNo').lrDataSourceSelect({ code: 'CdDeptInfo', value: 'deptno', text: 'deptname' }); $('#ProvinceNo').lrDataSourceSelect({ code: 'DIC_PROVINCE', value: 'pcode', text: 'pname', @@ -64,7 +64,14 @@ var bootstrap = function ($, learun) { //职称 $('#ProfessionalTitle').lrDataItemSelect({ code: 'jszc' }); // 部门选择 - $('#F_DepartmentId').lrselect(); + $('#F_DepartmentId').lrselect({ + type: 'tree', + // 是否允许搜索 + allowSearch: true, + // 访问数据接口地址 + url: top.$.rootUrl + '/LR_OrganizationModule/Department/GetTree', + // 访问数据接口参数 + }); // 刷新 $('#lr_refresh').on('click', function () { location.reload(); diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Form.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Form.cshtml index 7b23cf9a0..44d5eb1c6 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Form.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Form.cshtml @@ -7,10 +7,18 @@
来文单位
+
+
字第(号)
+ +
收文单位
+
+
字第(号)
+ +
缓急程度
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/FormView.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/FormView.cshtml index 3e54c1652..4e7e93318 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/FormView.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/FormView.cshtml @@ -7,10 +7,18 @@
来文单位
+
+
字第(号)
+ +
收文单位
+
+
字第(号)
+ +
缓急程度
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.cshtml index 8d710de48..0b4583258 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.cshtml @@ -44,6 +44,7 @@  部门签字办理  结束下发  查阅情况 +  打印
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.js index b3dd34cde..6f642083a 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.js @@ -226,6 +226,23 @@ var bootstrap = function ($, learun) { }); } }); + + //打印 + $('#lr_print').on('click', + function() { + var keyValue = $('#gridtable').jfGridValue('RID'); + if (learun.checkrow(keyValue)) { + learun.layerFormForPercent({ + id: 'form', + title: '查阅情况', + url: top.$.rootUrl + '/EducationalAdministration/Sys_ReceiveDocument/PrintView?keyValue=' + keyValue, + width: '100%', + height: '100%', + btn: null + }); + } + + }); }, // 初始化列表 initGird: function () { @@ -244,8 +261,9 @@ var bootstrap = function ($, learun) { }); } }, - { label: "接收时间", name: "RReceiveTime", width: 100, align: "left" }, + { label: "收文时间", name: "RReceiveTime", width: 100, align: "left" }, { label: "来文单位", name: "RSourceUnit", width: 100, align: "left" }, + { label: "字第(号)", name: "lwz", width: 100, align: "left" }, { label: "收文单位", name: "RReceiveUnit", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { @@ -257,6 +275,7 @@ var bootstrap = function ($, learun) { }); } }, + { label: "字第(号)", name: "swz", width: 100, align: "left" }, { label: "缓急程度", name: "RUrgencyDegree", width: 100, align: "left", formatterAsync: function (callback, value, row, op, $cell) { diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.cshtml new file mode 100644 index 000000000..f4ed65a1f --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.cshtml @@ -0,0 +1,147 @@ +@{ + ViewBag.Title = "公文发送"; + Layout = "~/Views/Shared/_SimpleForm.cshtml"; +} + + + + + + + + +
+
+
北京金隅科技学校
+
收文处理专用纸(收文登记)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
收文字第收文日期
来文字第
收文标题
处理意见
领导批示 +
+
+
部门处理情况 +
经办人办结日期
+
+
+ + + +
打印
+ + + + + + +@Html.AppendJsFile("/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js") diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js new file mode 100644 index 000000000..5684ecbba --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js @@ -0,0 +1,73 @@ +/* * 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园(http://www.learun.cn) + * Copyright (c) 2013-2018 北京泉江科技有限公司 + * 创建人:超级管理员 + * 日 期:2019-04-11 10:31 + * 描 述:公文发送 + */ +var refreshGirdData; +var keyValue = request('keyValue'); +var bootstrap = function ($, learun) { + "use strict"; + var processId = ''; + var page = { + init: function () { + console.log(keyValue); + page.bind(); + }, + bind: function () { + $.get(top.$.rootUrl + '/EducationalAdministration/Sys_ReceiveDocument/PrintInfo?keyValue=' + keyValue, + function(data) { + var data = JSON.parse(data).data; + var entityItem = data.entityItem; + console.log(data); + $('#RReceiveUnit').html(data.entity.RReceiveUnit); + $('#swz').html(data.entity.swz); + $('#RReceiveTime').html(data.entity.RReceiveTime.substr(0,10)); + $('#RSourceUnit').html(data.entity.RSourceUnit); + $('#lwz').html(data.entity.lwz); + $('#RTitle').html(data.entity.RTitle); + $('#yj1').html(entityItem[0].SpecifyReceiver); + $('#yj2').html(entityItem[1].SpecifyReceiver); + learun.clientdata.getAsync('user', { + key: entityItem[1].ReceiverId, + callback: function (_data) { + console.log(_data); + $('#xiaozhanginfo').html(_data.name + ' ' + (entityItem[1].ReadTime || '').substr(0, 10)); + } + }); + + + learun.clientdata.getAsync('user', { + key: data.entity.SenderId, + callback: function (_data) { + $('#SenderId').html(_data.name); + } + }); + + + + var text = ''; + $.each(entityItem, + function(i, item) { + if (i < 2) {return true;} + learun.clientdata.getAsync('user', { + key: item.ReceiverId, + callback: function (_data) { + + text += '
' + + item.SpecifyReceiver + + '
'+_data.name+' '+(item.ReadTime || '').substr(0,10)+'
'; + } + }); + + + }); + $('#yj3').html(text); + + $('#overDate').html(data.entityItem[data.entityItem.length - 1].ReadTime.substr(0,10)); + }); + + }, + }; + page.init(); +} 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 1a7577104..798ea8a6f 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 @@ -997,6 +997,7 @@ + @@ -6895,6 +6896,7 @@ + @@ -6965,6 +6967,7 @@ + diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Shared/_SimpleForm.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Shared/_SimpleForm.cshtml new file mode 100644 index 000000000..84988f3bc --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Shared/_SimpleForm.cshtml @@ -0,0 +1,99 @@ + + + + + + + + + + + @ViewBag.Title|力软信息|快速开发平台|Learun敏捷开发框架 + + + + + @**@ + + + + + + + + + + +
+
+ + @RenderBody() + @Html.AppendJsFile( + "/Views/LR_Content/plugin/resize/resize.js", + "/Views/LR_Content/plugin/mousewheel/mousewheel.js", + "/Views/LR_Content/plugin/scroll/scroll.js", + + "/Views/LR_Content/script/lr-validator.js", + "/Views/LR_Content/script/lr-form.js", + "/Views/LR_Content/plugin/wizard/wizard.js", + "/Views/LR_Content/plugin/tree/lr-tree.js", + "/Views/LR_Content/plugin/select/lr-select.js", + "/Views/LR_Content/plugin/layerselect/lr-layerselect.js", + "/Views/LR_Content/plugin/timeline/lr-timeline.js", + "/Views/LR_Content/plugin/timeline/lr-timelineEsc.js", + "/Views/LR_Content/plugin/formselect/lr-formselect.js", + "/Views/LR_Content/plugin/inputsearch/lr-isearch.js", + "/Views/LR_Content/plugin/uploader/lr-uploader.js", + "/Views/LR_Content/plugin/date/lr-datepicker.js", + "/Views/LR_Content/plugin/grid/jfgrid.js" + ) + + + + diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentEntity.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentEntity.cs index 1dc980ae9..3c43a8a04 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentEntity.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentEntity.cs @@ -90,6 +90,22 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration [NotMapped] [Column("HasDispose")] public int? HasDispose { get; set; } + + + /// + /// 收文(字) + /// + [Column("SWZ")] + public string swz { get; set; } + + /// + /// 来文(字) + /// + [Column("LWZ")] + public string lwz { get; set; } + + + #endregion #region 扩展操作 diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentService.cs index 71f56c304..08998f8d9 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentService.cs @@ -43,6 +43,8 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration t.SpecifyReceiver, t.RContent, t.RSendFlag, + t.swz, + t.lwz, t.RReceiveTime, t.RProcessId "); @@ -71,7 +73,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration { if(!item.RSendFlag.Equals("4")) { - var listentity=this.BaseRepository().FindList(a => a.SFileId == item.RID).Count(); + var listentity=this.BaseRepository().FindList(a => a.SFileId == item.RID && a.RStatus==0).Count(); if(listentity>0) { item.HasDispose = 1; diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileBLL.cs index 62aa0282f..5e32f9e53 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileBLL.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileBLL.cs @@ -108,6 +108,24 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration } } } + public IEnumerable GetPageListBySendId(string senderId) + { + try + { + return sys_ReceiveFileService.GetPageListBySendId(senderId); + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowBusinessException(ex); + } + } + } /// /// 获取Sys_ReceiveFile表实体数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileIBLL.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileIBLL.cs index 5390d5fc1..0609efcc9 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileIBLL.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileIBLL.cs @@ -41,6 +41,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration /// IEnumerable GetPageListByUserId(Pagination pagination, string queryJson, string userId); IEnumerable GetPageListBySenderId(string senderId); + IEnumerable GetPageListBySendId(string senderId); #endregion #region 提交数据 diff --git a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileService.cs b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileService.cs index ea7fa1154..5ed5c2d61 100644 --- a/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileService.cs +++ b/Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileService.cs @@ -159,6 +159,25 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration } } } + public IEnumerable GetPageListBySendId(string SFileId) + { + try + { + var list = this.BaseRepository().FindList(a => a.SFileId == SFileId); + return list; + } + catch (Exception ex) + { + if (ex is ExceptionEx) + { + throw; + } + else + { + throw ExceptionEx.ThrowServiceException(ex); + } + } + } /// /// 获取页面显示列表数据