Parcourir la source

公文接收新版开发

金隅分支
zhichao lei il y a 3 ans
Parent
révision
f8c791fb7d
16 fichiers modifiés avec 455 ajouts et 8 suppressions
  1. +26
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveDocumentController.cs
  2. +4
    -4
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveFileController.cs
  3. +9
    -2
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js
  4. +8
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Form.cshtml
  5. +8
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/FormView.cshtml
  6. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.cshtml
  7. +20
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.js
  8. +147
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.cshtml
  9. +73
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js
  10. +3
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj
  11. +99
    -0
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Shared/_SimpleForm.cshtml
  12. +16
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentEntity.cs
  13. +3
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentService.cs
  14. +18
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileBLL.cs
  15. +1
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileIBLL.cs
  16. +19
    -0
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileService.cs

+ 26
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveDocumentController.cs Voir le fichier

@@ -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();
}
/// <summary>
/// 打印页面
/// <summary>
/// <returns></returns>
[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 提交数据


+ 4
- 4
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Controllers/Sys_ReceiveFileController.cs Voir le fichier

@@ -252,8 +252,8 @@ namespace Learun.Application.Web.Areas.EducationalAdministration.Controllers
public ActionResult ZhuRenP(string strEntity)
{
Sys_IssueEntity entity = strEntity.ToObject<Sys_IssueEntity>();
//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<Sys_IssueEntity>();
//entity.SpecifyReceiver = sys_ReceiveFileIBLL.XiaoZhangP();
entity.SpecifyReceiver = "System";
entity.SpecifyReceiver = sys_ReceiveFileIBLL.XiaoZhangP();
//entity.SpecifyReceiver = "System";
sys_ReceiveFileIBLL.ReceiveDocumentIssue(entity);
return Success("发送成功");
}


+ 9
- 2
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/EmpInfo/Index.js Voir le fichier

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


+ 8
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Form.cshtml Voir le fichier

@@ -7,10 +7,18 @@
<div class="lr-form-item-title">来文单位</div>
<input id="RSourceUnit" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Sys_ReceiveDocument" >
<div class="lr-form-item-title">字第(号)</div>
<input id="lwz" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Sys_ReceiveDocument" >
<div class="lr-form-item-title">收文单位</div>
<div id="RReceiveUnit" ></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Sys_ReceiveDocument" >
<div class="lr-form-item-title">字第(号)</div>
<input id="swz" type="text" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Sys_ReceiveDocument" >
<div class="lr-form-item-title">缓急程度</div>
<div id="RUrgencyDegree" ></div>


+ 8
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/FormView.cshtml Voir le fichier

@@ -7,10 +7,18 @@
<div class="lr-form-item-title">来文单位</div>
<input id="RSourceUnit" type="text" readonly="readonly" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Sys_ReceiveDocument">
<div class="lr-form-item-title">字第(号)</div>
<input id="lwz" type="text" readonly="readonly" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Sys_ReceiveDocument">
<div class="lr-form-item-title">收文单位</div>
<div id="RReceiveUnit" readonly="readonly"></div>
</div>
<div class="col-xs-6 lr-form-item" data-table="Sys_ReceiveDocument">
<div class="lr-form-item-title">字第(号)</div>
<input id="swz" type="text" readonly="readonly" class="form-control" />
</div>
<div class="col-xs-6 lr-form-item" data-table="Sys_ReceiveDocument">
<div class="lr-form-item-title">缓急程度</div>
<div id="RUrgencyDegree" readonly="readonly"></div>


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.cshtml Voir le fichier

@@ -44,6 +44,7 @@
<a id="lr_IssueSpecifyReceiver" class="btn btn-default"><i class="fa fa-envelope"></i>&nbsp;部门签字办理</a>
<a id="lr_OverIssue" class="btn btn-default"><i class="fa fa-minus-square"></i>&nbsp;结束下发</a>
<a id="lr_read" class="btn btn-default"><i class="fa fa-calendar-minus-o"></i>&nbsp;查阅情况</a>
<a id="lr_print" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;打印</a>
</div>
</div>
</div>


+ 20
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/Index.js Voir le fichier

@@ -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) {


+ 147
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.cshtml Voir le fichier

@@ -0,0 +1,147 @@
@{
ViewBag.Title = "公文发送";
Layout = "~/Views/Shared/_SimpleForm.cshtml";
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style>
table,
tr,
td {
padding: 0;
margin: 0;
border-collapse: collapse;
}

table {
/* table-layout: fixed; */
font-size: 13px;
}
.tableBox {
width: 90%;
margin: 30px auto;
}
.table {
width: 100%;
border-top: 1px solid #000;
border-right: 1px solid #000;
}
.table th{
font-size: 18px;
border-left: 1px solid #000;
padding: 5px 0;
}
.table tr {
border-bottom: 1px solid #000;
}

.table td {
border-left: 1px solid #000;
line-height: 20px;
padding: 5px 5px;
}
.tableT {
text-align: center;
font-size: 18px;
margin-bottom: 5px;
letter-spacing: 4px;
}
.tableTxt1,.tableTxt2{
border-left: 1px solid #000;
border-right: 1px solid #000;
border-bottom: 1px solid #000;
padding: 5px 10px;
}
.tableTxt1:first-child{
border-top: 1px solid #000;
}
.tableTxt2{
text-align: right;
}



.btn {
width: 100px;
height: 34px;
line-height: 34px;
text-align: center;
margin: 30px auto;
border: 1px solid #ccc;
cursor: pointer;
border-radius: 4px;
}
</style>
</head>
<body>
<div id="table">
<div class="tableBox">
<div class="tableT">北京金隅科技学校</div>
<div class="tableT">收文处理专用纸(收文登记)</div>
<table class="table">
<tr>
<td style="width: 80px;">收文</td>
<td id="RReceiveUnit"></td>
<td style="width: 80px;">字第</td>
<td id="swz"></td>
<td style="width: 80px;">号</td>
<td>收文日期</td>
<td id="RReceiveTime"></td>
</tr>
<tr>
<td>来文</td>
<td id="RSourceUnit"></td>
<td>字第</td>
<td id="lwz"></td>
<td>号</td>
<td></td>
<td></td>
</tr>
<tr>
<td>收文标题</td>
<td colspan="6" id="RTitle"></td>
</tr>
<tr>
<td>处理意见</td>
<td colspan="6" id="yj1"></td>
</tr>
<tr>
<td>领导批示</td>
<td colspan="6">
<div class="tableTxt1" id="yj2"></div>
<div class="tableTxt2" id="xiaozhanginfo"></div>
</td>
</tr>
<tr>
<td>部门处理情况</td>
<td colspan="6" id="yj3">
</td>
</tr>
<tr>
<td>经办人</td>
<td colspan="4" id="SenderId"></td>
<td>办结日期</td>
<td id="overDate"></td>
</tr>
</table>
</div>
</div>
<div class="btn">打印</div>
<script src="js/jquery-1.4.4.min.js"></script>
<script src="js/jquery.jqprint-0.3.js"></script>
<script>
$('.btn').click(function(){
$('.tableBox').jqprint();
})
</script>
</body>
</html>

@Html.AppendJsFile("/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js")

+ 73
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/Sys_ReceiveDocument/PrintView.js Voir le fichier

@@ -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 += '<div class="tableTxt1">' +
item.SpecifyReceiver +
'</div> <div class="tableTxt2"> '+_data.name+' '+(item.ReadTime || '').substr(0,10)+'</div>';
}
});
});
$('#yj3').html(text);

$('#overDate').html(data.entityItem[data.entityItem.length - 1].ReadTime.substr(0,10));
});

},
};
page.init();
}

+ 3
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Learun.Application.Web.csproj Voir le fichier

@@ -997,6 +997,7 @@
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\Index.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\Index.js" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\IssueForm.js" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\PrintView.js" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\ReadList.js" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveFile\FormParty.js" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveFile\FormReadDocument.js" />
@@ -6895,6 +6896,7 @@
<Content Include="Areas\EducationalAdministration\Views\StuLeaveManagement\CheckForm.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\StuLeaveManagement\CheckIndex.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\Thermography\IndexResult.cshtml" />
<Content Include="Areas\EducationalAdministration\Views\Sys_ReceiveDocument\PrintView.cshtml" />
<None Include="Properties\PublishProfiles\FolderProfile.pubxml" />
<Content Include="Views\Login\Default-beifen.cshtml" />
<None Include="Properties\PublishProfiles\FolderProfile1.pubxml" />
@@ -6965,6 +6967,7 @@
<Content Include="Views\Login\PageTwoWxLogin.cshtml" />
<Content Include="Views\Home\SSOApplication.cshtml" />
<Content Include="Views\Home\GoToApplication.cshtml" />
<Content Include="Views\Shared\_SimpleForm.cshtml" />
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Connected Services\" />


+ 99
- 0
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Shared/_SimpleForm.cshtml Voir le fichier

@@ -0,0 +1,99 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="renderer" content="webkit">
<link rel="icon" href="~/favicon.ico">

<title>@ViewBag.Title|力软信息|快速开发平台|Learun敏捷开发框架</title>
<script src="~/Content/jquery/jquery-1.10.2.min.js"></script>
<script src="~/Content/jquery/jquery.md5.min.js"></script>
<script src="~/Content/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
<script src="~/Content/laydate/laydate.js"></script>
@*<script src="~/Content/datepicker/WdatePicker.js"></script>*@
<script src="~/Content/ueditor/ueditor.config.js"></script>
<script src="~/Content/jquery/plugin/jqprint/jQuery.print.js"></script>
<script src="~/Content/ueditor/ueditor.all.min.js"></script>
<script src="~/Content/ueditor/lang/zh-cn/zh-cn.js"></script>

<!--[if lt IE 9]>
<script src="~/Content/bootstrap/html5shiv.min.js"></script>
<script src="~/Content/bootstrap/respond.min.js"></script>
<![endif]-->
<script>
function request(d) { for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) { var b = c[a].split("="); if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1]) } return "" };
</script>

</head>
<body class="@Learun.Util.Net.Browser @Learun.Util.WebHelper.GetUITheme()">
<div id="lr_form_bg" class="lr-form-bg">
</div>

@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"
)
<script>
$.lrToken = $('@Html.AntiForgeryToken()').val();
$(function () {
$('#lr_form_bg').fadeOut();
$('#form').lrscroll();

// 翻译指定标签
$('.lrlg').each(function () {
var $this = $(this);
top.learun.language.get($this.text(), function (text) {
$this.text(text);
});
});
// 翻译表单标题
$('.lr-form-item-title').each(function () {
var $this = $(this);
var $font = $this.find('font');
$font.remove();
top.learun.language.get($this.text(), function (text) {
if ($font.length > 0) {
$this.html(text + '<font face="宋体">*</font>');
}
else {
$this.text(text);
}

});
});
// input placeholder 翻译
$('input[placeholder]').each(function () {
var $this = $(this);
var _text = $this.attr('placeholder');
top.learun.language.get(_text, function (text) {
$this.attr('placeholder', text);
});
});

if (!!window.bootstrap) {
bootstrap(jQuery, top.learun);
}
});
</script>

</body>
</html>

+ 16
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentEntity.cs Voir le fichier

@@ -90,6 +90,22 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
[NotMapped]
[Column("HasDispose")]
public int? HasDispose { get; set; }


/// <summary>
/// 收文(字)
/// </summary>
[Column("SWZ")]
public string swz { get; set; }

/// <summary>
/// 来文(字)
/// </summary>
[Column("LWZ")]
public string lwz { get; set; }



#endregion

#region 扩展操作


+ 3
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveDocument/Sys_ReceiveDocumentService.cs Voir le fichier

@@ -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<Sys_ReceiveFileEntity>(a => a.SFileId == item.RID).Count();
var listentity=this.BaseRepository().FindList<Sys_ReceiveFileEntity>(a => a.SFileId == item.RID && a.RStatus==0).Count();
if(listentity>0)
{
item.HasDispose = 1;


+ 18
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileBLL.cs Voir le fichier

@@ -108,6 +108,24 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
}
}
public IEnumerable<Sys_ReceiveFileEntity> GetPageListBySendId(string senderId)
{
try
{
return sys_ReceiveFileService.GetPageListBySendId(senderId);
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowBusinessException(ex);
}
}
}

/// <summary>
/// 获取Sys_ReceiveFile表实体数据


+ 1
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileIBLL.cs Voir le fichier

@@ -41,6 +41,7 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
/// <returns></returns>
IEnumerable<Sys_ReceiveFileEntity> GetPageListByUserId(Pagination pagination, string queryJson, string userId);
IEnumerable<Sys_ReceiveFileEntity> GetPageListBySenderId(string senderId);
IEnumerable<Sys_ReceiveFileEntity> GetPageListBySendId(string senderId);
#endregion

#region 提交数据


+ 19
- 0
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/EducationalAdministration/Sys_ReceiveFile/Sys_ReceiveFileService.cs Voir le fichier

@@ -159,6 +159,25 @@ namespace Learun.Application.TwoDevelopment.EducationalAdministration
}
}
}
public IEnumerable<Sys_ReceiveFileEntity> GetPageListBySendId(string SFileId)
{
try
{
var list = this.BaseRepository().FindList<Sys_ReceiveFileEntity>(a => a.SFileId == SFileId);
return list;
}
catch (Exception ex)
{
if (ex is ExceptionEx)
{
throw;
}
else
{
throw ExceptionEx.ThrowServiceException(ex);
}
}
}

/// <summary>
/// 获取页面显示列表数据


Chargement…
Annuler
Enregistrer