@@ -20,15 +20,15 @@ | |||||
<div class="lr-layout-tool-item"> | <div class="lr-layout-tool-item"> | ||||
<div id="multiple_condition_query"> | <div id="multiple_condition_query"> | ||||
<div class="lr-query-formcontent"> | <div class="lr-query-formcontent"> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">姓名</div> | <div class="lr-form-item-title">姓名</div> | ||||
<div id ="qj_name"></div> | <div id ="qj_name"></div> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">联系电话</div> | <div class="lr-form-item-title">联系电话</div> | ||||
<input id="qj_bm" type="text" class="form-control" /> | <input id="qj_bm" type="text" class="form-control" /> | ||||
</div> | </div> | ||||
<div class="col-xs-6 lr-form-item"> | |||||
<div class="col-xs-12 lr-form-item"> | |||||
<div class="lr-form-item-title">请假种类</div> | <div class="lr-form-item-title">请假种类</div> | ||||
<div id="qj_lx"></div> | <div id="qj_lx"></div> | ||||
</div> | </div> | ||||
@@ -124,8 +124,10 @@ var bootstrap = function ($, learun) { | |||||
return "<span class=\"label label-success\">运行中</span>"; | return "<span class=\"label label-success\">运行中</span>"; | ||||
} else if (cellvalue == 2) { | } else if (cellvalue == 2) { | ||||
return "<span class=\"label label-primary\">草稿</span>"; | return "<span class=\"label label-primary\">草稿</span>"; | ||||
} else { | |||||
} else if (cellvalue == 3) { | |||||
return "<span class=\"label label-danger\">作废</span>"; | return "<span class=\"label label-danger\">作废</span>"; | ||||
} else { | |||||
return "<span class=\"label label-danger\">终止</span>"; | |||||
} | } | ||||
} | } | ||||
else { | else { | ||||
@@ -135,7 +137,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}, | }, | ||||
], | ], | ||||
mainId: 'F_Id', | |||||
mainId: 'LC_ID', | |||||
isPage: true, | isPage: true, | ||||
sidx: 'qj_txsj DESC', | sidx: 'qj_txsj DESC', | ||||
dblclick: function () { | dblclick: function () { | ||||
@@ -91,8 +91,10 @@ var bootstrap = function ($, learun) { | |||||
return "<span class=\"label label-success\">运行中</span>"; | return "<span class=\"label label-success\">运行中</span>"; | ||||
} else if (cellvalue == 2) { | } else if (cellvalue == 2) { | ||||
return "<span class=\"label label-primary\">草稿</span>"; | return "<span class=\"label label-primary\">草稿</span>"; | ||||
} else { | |||||
} else if (cellvalue == 3) { | |||||
return "<span class=\"label label-danger\">作废</span>"; | return "<span class=\"label label-danger\">作废</span>"; | ||||
} else { | |||||
return "<span class=\"label label-danger\">终止</span>"; | |||||
} | } | ||||
} | } | ||||
else { | else { | ||||
@@ -102,7 +104,7 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}, | }, | ||||
], | ], | ||||
mainId: 'F_Id', | |||||
mainId: 'LC_ID', | |||||
isPage: true, | isPage: true, | ||||
sidx: 'F_CreateDate DESC', | sidx: 'F_CreateDate DESC', | ||||
dblclick: function () { | dblclick: function () { | ||||
@@ -65,8 +65,10 @@ var bootstrap = function ($, learun) { | |||||
return "<span class=\"label label-success\">运行中</span>"; | return "<span class=\"label label-success\">运行中</span>"; | ||||
} else if (cellvalue == 2) { | } else if (cellvalue == 2) { | ||||
return "<span class=\"label label-primary\">草稿</span>"; | return "<span class=\"label label-primary\">草稿</span>"; | ||||
} else { | |||||
} else if (cellvalue == 3) { | |||||
return "<span class=\"label label-danger\">作废</span>"; | return "<span class=\"label label-danger\">作废</span>"; | ||||
} else { | |||||
return "<span class=\"label label-danger\">终止</span>"; | |||||
} | } | ||||
} | } | ||||
else { | else { | ||||
@@ -76,9 +78,9 @@ var bootstrap = function ($, learun) { | |||||
} | } | ||||
}, | }, | ||||
], | ], | ||||
mainId: 'F_Id', | |||||
mainId: 'LC_ID', | |||||
isPage: true, | isPage: true, | ||||
sidx: 'F_CreateDate DESC', | |||||
sidx: 'LC_ycsj DESC', | |||||
dblclick: function () { | dblclick: function () { | ||||
page.eye(); | page.eye(); | ||||
} | } | ||||
@@ -0,0 +1,29 @@ | |||||
using Learun.Application.TwoDevelopment.LR_LGManager; | |||||
using System.Data.Entity.ModelConfiguration; | |||||
namespace Learun.Application.Mapping | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2020-05-07 14:26 | |||||
/// 描 述:流程用印申请 | |||||
/// </summary> | |||||
public class LC_docx2Map : EntityTypeConfiguration<LC_docx2Entity> | |||||
{ | |||||
public LC_docx2Map() | |||||
{ | |||||
#region 表、主键 | |||||
//表 | |||||
this.ToTable("LC_DOCX2"); | |||||
//主键 | |||||
this.HasKey(t => t.LC_ID); | |||||
#endregion | |||||
#region 配置关系 | |||||
#endregion | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,29 @@ | |||||
using Learun.Application.TwoDevelopment.LR_LGManager; | |||||
using System.Data.Entity.ModelConfiguration; | |||||
namespace Learun.Application.Mapping | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2020-05-07 14:26 | |||||
/// 描 述:流程用印申请 | |||||
/// </summary> | |||||
public class LC_gcsqMap : EntityTypeConfiguration<LC_gcsqEntity> | |||||
{ | |||||
public LC_gcsqMap() | |||||
{ | |||||
#region 表、主键 | |||||
//表 | |||||
this.ToTable("LC_GCSQ"); | |||||
//主键 | |||||
this.HasKey(t => t.LC_ID); | |||||
#endregion | |||||
#region 配置关系 | |||||
#endregion | |||||
} | |||||
} | |||||
} | |||||
@@ -0,0 +1,29 @@ | |||||
using Learun.Application.TwoDevelopment.LR_LGManager; | |||||
using System.Data.Entity.ModelConfiguration; | |||||
namespace Learun.Application.Mapping | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2020-05-07 14:26 | |||||
/// 描 述:流程用印申请 | |||||
/// </summary> | |||||
public class cs_qjMap : EntityTypeConfiguration<cs_qjEntity> | |||||
{ | |||||
public cs_qjMap() | |||||
{ | |||||
#region 表、主键 | |||||
//表 | |||||
this.ToTable("CS_QJ"); | |||||
//主键 | |||||
this.HasKey(t => t.LC_ID); | |||||
#endregion | |||||
#region 配置关系 | |||||
#endregion | |||||
} | |||||
} | |||||
} | |||||
@@ -149,6 +149,9 @@ | |||||
<Compile Include="LR_LGManager\CorporateMaterialApplyMap.cs" /> | <Compile Include="LR_LGManager\CorporateMaterialApplyMap.cs" /> | ||||
<Compile Include="LR_LGManager\CorporateMaterialItemMap.cs" /> | <Compile Include="LR_LGManager\CorporateMaterialItemMap.cs" /> | ||||
<Compile Include="LR_LGManager\LC_meetingMap.cs" /> | <Compile Include="LR_LGManager\LC_meetingMap.cs" /> | ||||
<Compile Include="LR_LGManager\LC_gcsqMap.cs" /> | |||||
<Compile Include="LR_LGManager\cs_qjMap.cs" /> | |||||
<Compile Include="LR_LGManager\LC_docx2.cs" /> | |||||
<Compile Include="LR_LGManager\LC_yyspdMap.cs" /> | <Compile Include="LR_LGManager\LC_yyspdMap.cs" /> | ||||
<Compile Include="LR_LGManager\LC_hetongMap.cs" /> | <Compile Include="LR_LGManager\LC_hetongMap.cs" /> | ||||
<Compile Include="LR_LGManager\StampApplyMap.cs" /> | <Compile Include="LR_LGManager\StampApplyMap.cs" /> | ||||
@@ -0,0 +1,147 @@ | |||||
using Learun.Util; | |||||
using System; | |||||
using System.ComponentModel.DataAnnotations.Schema; | |||||
namespace Learun.Application.TwoDevelopment.LR_LGManager | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2020-05-07 14:26 | |||||
/// 描 述:流程用印申请 | |||||
/// </summary> | |||||
public class LC_docx2Entity | |||||
{ | |||||
#region 实体成员 | |||||
[Column("LC_ID")] | |||||
public string LC_ID { get; set; } | |||||
[Column("F_CreateUserName")] | |||||
public string F_CreateUserName { get; set; } | |||||
[Column("LC_party")] | |||||
public string LC_party { get; set; } | |||||
[Column("LC_accept")] | |||||
public string LC_accept { get; set; } | |||||
[Column("LC_amount")] | |||||
public string LC_amount { get; set; } | |||||
[Column("LC_num")] | |||||
public string LC_num { get; set; } | |||||
[Column("LC_numdoc")] | |||||
public string LC_numdoc { get; set; } | |||||
[Column("LC_name")] | |||||
public string LC_name { get; set; } | |||||
[Column("LC_important")] | |||||
public string LC_important { get; set; } | |||||
[Column("LC_secret")] | |||||
public string LC_secret { get; set; } | |||||
[Column("LC_docx")] | |||||
public string LC_docx { get; set; } | |||||
[Column("LC_other")] | |||||
public string LC_other { get; set; } | |||||
[Column("LC_docx2")] | |||||
public string LC_docx2 { get; set; } | |||||
[Column("LC_docx3")] | |||||
public string LC_docx3 { get; set; } | |||||
[Column("LC_docx4")] | |||||
public string LC_docx4 { get; set; } | |||||
[Column("LC_docx5")] | |||||
public string LC_docx5 { get; set; } | |||||
#endregion | |||||
#region 扩展操作 | |||||
/// <summary> | |||||
/// 新增调用 | |||||
/// </summary> | |||||
public void Create() | |||||
{ | |||||
this.LC_ID = Guid.NewGuid().ToString(); | |||||
} | |||||
/// <summary> | |||||
/// 编辑调用 | |||||
/// </summary> | |||||
/// <param name="keyValue"></param> | |||||
public void Modify(string keyValue) | |||||
{ | |||||
this.LC_ID = keyValue; | |||||
UserInfo userInfo = LoginUserInfo.Get(); | |||||
} | |||||
#endregion | |||||
#region 扩展数据 | |||||
/// <summary> | |||||
/// 主键 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_Id { get; set; } | |||||
/// <summary> | |||||
/// 流程模板主键 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_SchemeId { get; set; } | |||||
/// <summary> | |||||
/// 流程模板编码 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_SchemeCode { get; set; } | |||||
/// <summary> | |||||
/// 流程模板名称 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_SchemeName { get; set; } | |||||
/// <summary> | |||||
/// 流程进程自定义标题 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_Title { get; set; } | |||||
/// <summary> | |||||
/// 流程进程等级 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_Level { get; set; } | |||||
/// <summary> | |||||
/// 流程进程有效标志 1正常2草稿3作废4终止 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_EnabledMark { get; set; } | |||||
/// <summary> | |||||
/// 流程进程是否结束1是0不是 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_IsFinished { get; set; } | |||||
/// <summary> | |||||
/// 是否被催办 1 被催办了 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_IsUrge { get; set; } | |||||
/// <summary> | |||||
/// 创建时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public DateTime? F_CreateDate { get; set; } | |||||
/// <summary> | |||||
/// 创建人主键 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_CreateUserId { get; set; } | |||||
/// <summary> | |||||
/// 创建人名称 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_CreateUserNameInProcess { get; set; } | |||||
#endregion | |||||
} | |||||
} | |||||
@@ -0,0 +1,142 @@ | |||||
using Learun.Util; | |||||
using System; | |||||
using System.ComponentModel.DataAnnotations.Schema; | |||||
namespace Learun.Application.TwoDevelopment.LR_LGManager | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2020-05-07 14:26 | |||||
/// 描 述:流程用印申请 | |||||
/// </summary> | |||||
public class LC_gcsqEntity | |||||
{ | |||||
#region 实体成员 | |||||
[Column("LC_ID")] | |||||
public string LC_ID { get; set; } | |||||
[Column("F_CREATEUSERNAME")] | |||||
public string F_CreateUserName { get; set; } | |||||
[Column("LC_YCBM")] | |||||
public string LC_ycbm { get; set; } | |||||
[Column("LC_YCR")] | |||||
public string LC_ycr { get; set; } | |||||
[Column("LC_CPH")] | |||||
public string LC_cph { get; set; } | |||||
[Column("LC_SY")] | |||||
public string LC_sy { get; set; } | |||||
[Column("LC_LX")] | |||||
public string LC_lx { get; set; } | |||||
[Column("LC_YCSJ")] | |||||
public string LC_ycsj { get; set; } | |||||
[Column("LC_XSLC")] | |||||
public string LC_xslc { get; set; } | |||||
[Column("LC_SJXM")] | |||||
public string LC_sjxm { get; set; } | |||||
[Column("LC_PJ")] | |||||
public string LC_pj { get; set; } | |||||
[Column("LC_FJ")] | |||||
public string LC_fj { get; set; } | |||||
[Column("LC_BY1")] | |||||
public string LC_by1 { get; set; } | |||||
[Column("LC_BY2")] | |||||
public string LC_by2 { get; set; } | |||||
#endregion | |||||
#region 扩展操作 | |||||
/// <summary> | |||||
/// 新增调用 | |||||
/// </summary> | |||||
public void Create() | |||||
{ | |||||
this.LC_ID = Guid.NewGuid().ToString(); | |||||
} | |||||
/// <summary> | |||||
/// 编辑调用 | |||||
/// </summary> | |||||
/// <param name="keyValue"></param> | |||||
public void Modify(string keyValue) | |||||
{ | |||||
this.LC_ID = keyValue; | |||||
UserInfo userInfo = LoginUserInfo.Get(); | |||||
} | |||||
#endregion | |||||
#region 扩展数据 | |||||
/// <summary> | |||||
/// 主键 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_Id { get; set; } | |||||
/// <summary> | |||||
/// 流程模板主键 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_SchemeId { get; set; } | |||||
/// <summary> | |||||
/// 流程模板编码 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_SchemeCode { get; set; } | |||||
/// <summary> | |||||
/// 流程模板名称 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_SchemeName { get; set; } | |||||
/// <summary> | |||||
/// 流程进程自定义标题 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_Title { get; set; } | |||||
/// <summary> | |||||
/// 流程进程等级 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_Level { get; set; } | |||||
/// <summary> | |||||
/// 流程进程有效标志 1正常2草稿3作废4终止 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_EnabledMark { get; set; } | |||||
/// <summary> | |||||
/// 流程进程是否结束1是0不是 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_IsFinished { get; set; } | |||||
/// <summary> | |||||
/// 是否被催办 1 被催办了 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_IsUrge { get; set; } | |||||
/// <summary> | |||||
/// 创建时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public DateTime? F_CreateDate { get; set; } | |||||
/// <summary> | |||||
/// 创建人主键 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_CreateUserId { get; set; } | |||||
/// <summary> | |||||
/// 创建人名称 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_CreateUserNameInProcess { get; set; } | |||||
#endregion | |||||
} | |||||
} | |||||
@@ -0,0 +1,141 @@ | |||||
using Learun.Util; | |||||
using System; | |||||
using System.ComponentModel.DataAnnotations.Schema; | |||||
namespace Learun.Application.TwoDevelopment.LR_LGManager | |||||
{ | |||||
/// <summary> | |||||
/// 版 本 Learun-ADMS-Ultimate V7.0.0 数字化智慧校园 | |||||
/// Copyright (c) 2013-2018 北京泉江科技有限公司 | |||||
/// 创 建:超级管理员 | |||||
/// 日 期:2020-05-07 14:26 | |||||
/// 描 述:流程用印申请 | |||||
/// </summary> | |||||
public class cs_qjEntity | |||||
{ | |||||
#region 实体成员 | |||||
/// <summary> | |||||
/// ID | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[Column("LC_ID")] | |||||
public string LC_ID { get; set; } | |||||
[Column("QJ_NAME")] | |||||
public string qj_name { get; set; } | |||||
[Column("QJ_TXSJ")] | |||||
public DateTime? qj_txsj { get; set; } | |||||
[Column("QJ_BM")] | |||||
public string qj_bm { get; set; } | |||||
[Column("QJ_LX")] | |||||
public string qj_lx { get; set; } | |||||
[Column("QJ_ZW")] | |||||
public string qj_zw { get; set; } | |||||
[Column("QJ_SJKS")] | |||||
public DateTime? qj_sjks { get; set; } | |||||
[Column("QJ_SJJS")] | |||||
public DateTime? qj_sjjs { get; set; } | |||||
[Column("QJ_DH")] | |||||
public string qj_dh { get; set; } | |||||
[Column("QJ_LY")] | |||||
public string qj_ly { get; set; } | |||||
[Column("QJ_SJ")] | |||||
public int? qj_sj { get; set; } | |||||
#endregion | |||||
#region 扩展操作 | |||||
/// <summary> | |||||
/// 新增调用 | |||||
/// </summary> | |||||
public void Create() | |||||
{ | |||||
this.LC_ID = Guid.NewGuid().ToString(); | |||||
} | |||||
/// <summary> | |||||
/// 编辑调用 | |||||
/// </summary> | |||||
/// <param name="keyValue"></param> | |||||
public void Modify(string keyValue) | |||||
{ | |||||
this.LC_ID = keyValue; | |||||
UserInfo userInfo = LoginUserInfo.Get(); | |||||
} | |||||
#endregion | |||||
#region 扩展数据 | |||||
/// <summary> | |||||
/// 主键 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_Id { get; set; } | |||||
/// <summary> | |||||
/// 流程模板主键 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_SchemeId { get; set; } | |||||
/// <summary> | |||||
/// 流程模板编码 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_SchemeCode { get; set; } | |||||
/// <summary> | |||||
/// 流程模板名称 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_SchemeName { get; set; } | |||||
/// <summary> | |||||
/// 流程进程自定义标题 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_Title { get; set; } | |||||
/// <summary> | |||||
/// 流程进程等级 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_Level { get; set; } | |||||
/// <summary> | |||||
/// 流程进程有效标志 1正常2草稿3作废4终止 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_EnabledMark { get; set; } | |||||
/// <summary> | |||||
/// 流程进程是否结束1是0不是 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_IsFinished { get; set; } | |||||
/// <summary> | |||||
/// 是否被催办 1 被催办了 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public int? F_IsUrge { get; set; } | |||||
/// <summary> | |||||
/// 创建时间 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public DateTime? F_CreateDate { get; set; } | |||||
/// <summary> | |||||
/// 创建人主键 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_CreateUserId { get; set; } | |||||
/// <summary> | |||||
/// 创建人名称 | |||||
/// </summary> | |||||
/// <returns></returns> | |||||
[NotMapped] | |||||
public string F_CreateUserNameInProcess { get; set; } | |||||
#endregion | |||||
} | |||||
} | |||||
@@ -363,6 +363,9 @@ | |||||
<Compile Include="LR_LGManager\CorporateMaterialItem\CorporateMaterialItemIBLL.cs" /> | <Compile Include="LR_LGManager\CorporateMaterialItem\CorporateMaterialItemIBLL.cs" /> | ||||
<Compile Include="LR_LGManager\CorporateMaterialItem\CorporateMaterialItemService.cs" /> | <Compile Include="LR_LGManager\CorporateMaterialItem\CorporateMaterialItemService.cs" /> | ||||
<Compile Include="LR_LGManager\LC_meeting\LC_meetingEntity.cs" /> | <Compile Include="LR_LGManager\LC_meeting\LC_meetingEntity.cs" /> | ||||
<Compile Include="LR_LGManager\LC_docx2\LC_docx2Entity.cs" /> | |||||
<Compile Include="LR_LGManager\cs_qj\cs_qjEntity.cs" /> | |||||
<Compile Include="LR_LGManager\LC_gcsq\LC_gcsqEntity.cs" /> | |||||
<Compile Include="LR_LGManager\LC_yyspd\LC_yyspdEntity.cs" /> | <Compile Include="LR_LGManager\LC_yyspd\LC_yyspdEntity.cs" /> | ||||
<Compile Include="LR_LGManager\LC_hetong\LC_hetongEntity.cs" /> | <Compile Include="LR_LGManager\LC_hetong\LC_hetongEntity.cs" /> | ||||
<Compile Include="LR_LGManager\StampApply\StampApplyBLL.cs" /> | <Compile Include="LR_LGManager\StampApply\StampApplyBLL.cs" /> | ||||
@@ -67,15 +67,15 @@ namespace Learun.Application.WorkFlow | |||||
return nWFProcessSerive.GetPageList(pagination, queryJson); | return nWFProcessSerive.GetPageList(pagination, queryJson); | ||||
} | } | ||||
public IEnumerable<NWFProcessEntity> GetUseCar(Pagination pagination, string queryJson) | |||||
public IEnumerable<LC_gcsqEntity> GetUseCar(Pagination pagination, string queryJson) | |||||
{ | { | ||||
return nWFProcessSerive.GetUseCar(pagination, queryJson); | return nWFProcessSerive.GetUseCar(pagination, queryJson); | ||||
} | } | ||||
public IEnumerable<NWFProcessEntity> GetLeaveStatistics(Pagination pagination, string queryJson) | |||||
public IEnumerable<cs_qjEntity> GetLeaveStatistics(Pagination pagination, string queryJson) | |||||
{ | { | ||||
return nWFProcessSerive.GetLeaveStatistics(pagination, queryJson); | return nWFProcessSerive.GetLeaveStatistics(pagination, queryJson); | ||||
} | } | ||||
public IEnumerable<NWFProcessEntity> GetTransceiver(Pagination pagination, string queryJson) | |||||
public IEnumerable<LC_docx2Entity> GetTransceiver(Pagination pagination, string queryJson) | |||||
{ | { | ||||
return nWFProcessSerive.GetTransceiver(pagination, queryJson); | return nWFProcessSerive.GetTransceiver(pagination, queryJson); | ||||
} | } | ||||
@@ -181,63 +181,6 @@ namespace Learun.Application.WorkFlow | |||||
[NotMapped] | [NotMapped] | ||||
public bool? LeaderIsAgree { get; set; } | public bool? LeaderIsAgree { get; set; } | ||||
[NotMapped] | |||||
public string LC_ID { get; set; } | |||||
[NotMapped] | |||||
public string LC_ycbm { get; set; } | |||||
[NotMapped] | |||||
public string LC_ycr { get; set; } | |||||
[NotMapped] | |||||
public string LC_cph { get; set; } | |||||
[NotMapped] | |||||
public string LC_sy { get; set; } | |||||
[NotMapped] | |||||
public string LC_lx { get; set; } | |||||
[NotMapped] | |||||
public string LC_ycsj { get; set; } | |||||
[NotMapped] | |||||
public string LC_xslc { get; set; } | |||||
[NotMapped] | |||||
public string LC_sjxm { get; set; } | |||||
[NotMapped] | |||||
public string LC_pj { get; set; } | |||||
//---------------------------- | |||||
[NotMapped] | |||||
public string qj_name { get; set; } | |||||
[NotMapped] | |||||
public string qj_txsj { get; set; } | |||||
[NotMapped] | |||||
public string qj_bm { get; set; } | |||||
[NotMapped] | |||||
public string qj_lx { get; set; } | |||||
[NotMapped] | |||||
public string qj_sjks { get; set; } | |||||
[NotMapped] | |||||
public string qj_sjjs { get; set; } | |||||
[NotMapped] | |||||
public string qj_dh { get; set; } | |||||
[NotMapped] | |||||
public string qj_ly { get; set; } | |||||
//--------------------------------- | |||||
[NotMapped] | |||||
public string LC_party { get; set; } | |||||
[NotMapped] | |||||
public string LC_accept { get; set; } | |||||
[NotMapped] | |||||
public string LC_amount { get; set; } | |||||
[NotMapped] | |||||
public string LC_num { get; set; } | |||||
[NotMapped] | |||||
public string LC_numdoc { get; set; } | |||||
[NotMapped] | |||||
public string LC_name { get; set; } | |||||
[NotMapped] | |||||
public string LC_important { get; set; } | |||||
[NotMapped] | |||||
public string LC_secret { get; set; } | |||||
[NotMapped] | |||||
public string LC_other { get; set; } | |||||
#endregion | #endregion | ||||
} | } | ||||
} | } |
@@ -28,9 +28,9 @@ namespace Learun.Application.WorkFlow | |||||
/// <param name="queryJson">查询条件</param> | /// <param name="queryJson">查询条件</param> | ||||
/// <returns></returns> | /// <returns></returns> | ||||
IEnumerable<NWFProcessEntity> GetPageList(Pagination pagination, string queryJson); | IEnumerable<NWFProcessEntity> GetPageList(Pagination pagination, string queryJson); | ||||
IEnumerable<NWFProcessEntity> GetUseCar(Pagination pagination, string queryJson); | |||||
IEnumerable<NWFProcessEntity> GetLeaveStatistics(Pagination pagination, string queryJson); | |||||
IEnumerable<NWFProcessEntity> GetTransceiver(Pagination pagination, string queryJson); | |||||
IEnumerable<LC_gcsqEntity> GetUseCar(Pagination pagination, string queryJson); | |||||
IEnumerable<cs_qjEntity> GetLeaveStatistics(Pagination pagination, string queryJson); | |||||
IEnumerable<LC_docx2Entity> GetTransceiver(Pagination pagination, string queryJson); | |||||
string GetFirstTaskByProcessId(string processId); | string GetFirstTaskByProcessId(string processId); | ||||
IEnumerable<NWFProcessEntity> GetAllList(); | IEnumerable<NWFProcessEntity> GetAllList(); | ||||
@@ -166,7 +166,7 @@ namespace Learun.Application.WorkFlow | |||||
/// <param name="pagination">分页参数</param> | /// <param name="pagination">分页参数</param> | ||||
/// <param name="queryJson">查询条件</param> | /// <param name="queryJson">查询条件</param> | ||||
/// <returns></returns> | /// <returns></returns> | ||||
public IEnumerable<NWFProcessEntity> GetUseCar(Pagination pagination, string queryJson) | |||||
public IEnumerable<LC_gcsqEntity> GetUseCar(Pagination pagination, string queryJson) | |||||
{ | { | ||||
try | try | ||||
{ | { | ||||
@@ -175,46 +175,39 @@ namespace Learun.Application.WorkFlow | |||||
var dbMISName = this.BaseRepository("CollegeMIS").getDbConnection().Database; | var dbMISName = this.BaseRepository("CollegeMIS").getDbConnection().Database; | ||||
var dp = new DynamicParameters(new { }); | var dp = new DynamicParameters(new { }); | ||||
var strSql = new StringBuilder(); | var strSql = new StringBuilder(); | ||||
strSql.Append(" select zb.*,cl.* from " + dbName + ".[dbo].LR_NWF_PROCESS zb "); | |||||
strSql.Append(" left join " + dbMISName + ".[dbo].LC_gcsq cl on cl.LC_ID=zb.F_id "); | |||||
strSql.Append(" where 1=1 "); | |||||
strSql.Append(" select zb.*,lnp.* from " + dbMISName + ".[dbo].LC_gcsq zb "); | |||||
strSql.Append(" left join " + dbName + ".[dbo].LR_NWF_PROCESS lnp on lnp.F_id=zb.LC_ID "); | |||||
strSql.Append(" where 1=1 and lnp.F_SchemeCode = 'LC_gcsq' "); | |||||
strSql.Append(" and lnp.F_EnabledMark != '3' and lnp.F_EnabledMark != '2' and lnp.F_IsChild='0' "); | |||||
if (queryParam["categoryId"].ToString() == "1") | if (queryParam["categoryId"].ToString() == "1") | ||||
{ | { | ||||
strSql.Append(" and zb.F_IsFinished= '0' "); | |||||
strSql.Append(" and lnp.F_IsFinished= '0' "); | |||||
} | } | ||||
else | else | ||||
{ | { | ||||
strSql.Append(" and zb.F_IsFinished= '1' "); | |||||
strSql.Append(" and lnp.F_IsFinished= '1' "); | |||||
} | } | ||||
strSql.Append(" and zb.F_SchemeCode = 'LC_gcsq' "); | |||||
strSql.Append(" and zb.F_EnabledMark != '3' and F_EnabledMark != '4' and F_IsChild='0' "); | |||||
//if (!queryParam["StartTime"].IsEmpty() && !queryParam["EndTime"].IsEmpty()) | |||||
//{ | |||||
// DateTime startTime = queryParam["StartTime"].ToDate(); | |||||
// DateTime endTime = queryParam["EndTime"].ToDate(); | |||||
// strSql.Append(" and ( zb.F_CreateDate>= " + startTime + " && F_CreateDate <= " + endTime + " )"); | |||||
//} | |||||
if (!queryParam["LC_ycbm"].IsEmpty()) | if (!queryParam["LC_ycbm"].IsEmpty()) | ||||
{ | { | ||||
strSql.Append(" and cl.LC_ycbm like '%" + queryParam["LC_ycbm"].ToString() + "%' "); | |||||
strSql.Append(" and zb.LC_ycbm like '%" + queryParam["LC_ycbm"].ToString() + "%' "); | |||||
} | } | ||||
if (!queryParam["LC_ycr"].IsEmpty()) | if (!queryParam["LC_ycr"].IsEmpty()) | ||||
{ | { | ||||
strSql.Append(" and cl.LC_ycr like '%" + queryParam["LC_ycr"].ToString() + "%' "); | |||||
strSql.Append(" and zb.LC_ycr like '%" + queryParam["LC_ycr"].ToString() + "%' "); | |||||
} | } | ||||
if (!queryParam["LC_ycsj"].IsEmpty()) | if (!queryParam["LC_ycsj"].IsEmpty()) | ||||
{ | { | ||||
strSql.Append(" and cl.LC_ycsj like '%" + queryParam["LC_ycsj"].ToString() + "%' "); | |||||
strSql.Append(" and zb.LC_ycsj like '%" + queryParam["LC_ycsj"].ToString() + "%' "); | |||||
} | } | ||||
if (!queryParam["LC_sjxm"].IsEmpty()) | if (!queryParam["LC_sjxm"].IsEmpty()) | ||||
{ | { | ||||
strSql.Append(" and cl.LC_sjxm like '%" + queryParam["LC_sjxm"].ToString() + "%' "); | |||||
strSql.Append(" and zb.LC_sjxm like '%" + queryParam["LC_sjxm"].ToString() + "%' "); | |||||
} | } | ||||
if (!queryParam["LC_cph"].IsEmpty()) | if (!queryParam["LC_cph"].IsEmpty()) | ||||
{ | { | ||||
strSql.Append(" and cl.LC_cph like '%" + queryParam["LC_cph"].ToString() + "%' "); | |||||
strSql.Append(" and zb.LC_cph like '%" + queryParam["LC_cph"].ToString() + "%' "); | |||||
} | } | ||||
return this.BaseRepository("CollegeMIS").FindList<NWFProcessEntity>(strSql.ToString(), dp); | |||||
return this.BaseRepository("CollegeMIS").FindList<LC_gcsqEntity>(strSql.ToString(), dp); | |||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||
@@ -236,7 +229,7 @@ namespace Learun.Application.WorkFlow | |||||
/// <param name="pagination">分页参数</param> | /// <param name="pagination">分页参数</param> | ||||
/// <param name="queryJson">查询条件</param> | /// <param name="queryJson">查询条件</param> | ||||
/// <returns></returns> | /// <returns></returns> | ||||
public IEnumerable<NWFProcessEntity> GetLeaveStatistics(Pagination pagination, string queryJson) | |||||
public IEnumerable<cs_qjEntity> GetLeaveStatistics(Pagination pagination, string queryJson) | |||||
{ | { | ||||
try | try | ||||
{ | { | ||||
@@ -247,7 +240,8 @@ namespace Learun.Application.WorkFlow | |||||
var strSql = new StringBuilder(); | var strSql = new StringBuilder(); | ||||
strSql.Append(" select zb.*,lnp.* from " + dbMISName + ".[dbo].cs_qj zb "); | strSql.Append(" select zb.*,lnp.* from " + dbMISName + ".[dbo].cs_qj zb "); | ||||
strSql.Append(" left join " + dbName + ".[dbo].LR_NWF_PROCESS lnp on zb.LC_ID =lnp.F_id "); | strSql.Append(" left join " + dbName + ".[dbo].LR_NWF_PROCESS lnp on zb.LC_ID =lnp.F_id "); | ||||
strSql.Append(" where 1=1 "); | |||||
strSql.Append(" where 1=1 and lnp.F_SchemeCode = 'LC_leave'"); | |||||
strSql.Append(" and lnp.F_EnabledMark != '3' and lnp.F_EnabledMark != '2' and lnp.F_IsChild='0' "); | |||||
if (queryParam["categoryId"].ToString() == "1") | if (queryParam["categoryId"].ToString() == "1") | ||||
{ | { | ||||
strSql.Append(" and lnp.F_IsFinished= '0' "); | strSql.Append(" and lnp.F_IsFinished= '0' "); | ||||
@@ -256,8 +250,7 @@ namespace Learun.Application.WorkFlow | |||||
{ | { | ||||
strSql.Append(" and lnp.F_IsFinished= '1' "); | strSql.Append(" and lnp.F_IsFinished= '1' "); | ||||
} | } | ||||
strSql.Append(" and lnp.F_SchemeCode = 'LC_leave' "); | |||||
strSql.Append(" and lnp.F_EnabledMark != '3' and lnp.F_EnabledMark != '4' and lnp.F_IsChild='0' "); | |||||
if (!queryParam["qj_name"].IsEmpty()) | if (!queryParam["qj_name"].IsEmpty()) | ||||
{ | { | ||||
strSql.Append(" and zb.qj_name = '" + queryParam["qj_name"].ToString() + "' "); | strSql.Append(" and zb.qj_name = '" + queryParam["qj_name"].ToString() + "' "); | ||||
@@ -276,7 +269,7 @@ namespace Learun.Application.WorkFlow | |||||
DateTime endTime = queryParam["EndTime"].ToDate(); | DateTime endTime = queryParam["EndTime"].ToDate(); | ||||
strSql.Append(" and ( zb.qj_txsj>= '" + startTime + "' and zb.qj_txsj <= '" + endTime + "' )"); | strSql.Append(" and ( zb.qj_txsj>= '" + startTime + "' and zb.qj_txsj <= '" + endTime + "' )"); | ||||
} | } | ||||
return this.BaseRepository("CollegeMIS").FindList<NWFProcessEntity>(strSql.ToString(), dp); | |||||
return this.BaseRepository("CollegeMIS").FindList<cs_qjEntity>(strSql.ToString(), dp, pagination); | |||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||
@@ -297,7 +290,7 @@ namespace Learun.Application.WorkFlow | |||||
/// <param name="pagination">分页参数</param> | /// <param name="pagination">分页参数</param> | ||||
/// <param name="queryJson">查询条件</param> | /// <param name="queryJson">查询条件</param> | ||||
/// <returns></returns> | /// <returns></returns> | ||||
public IEnumerable<NWFProcessEntity> GetTransceiver(Pagination pagination, string queryJson) | |||||
public IEnumerable<LC_docx2Entity> GetTransceiver(Pagination pagination, string queryJson) | |||||
{ | { | ||||
try | try | ||||
{ | { | ||||
@@ -308,7 +301,8 @@ namespace Learun.Application.WorkFlow | |||||
var strSql = new StringBuilder(); | var strSql = new StringBuilder(); | ||||
strSql.Append(" select zb.*,lnp.* from " + dbMISName + ".[dbo].LC_docx2 zb "); | strSql.Append(" select zb.*,lnp.* from " + dbMISName + ".[dbo].LC_docx2 zb "); | ||||
strSql.Append(" left join " + dbName + ".[dbo].LR_NWF_PROCESS lnp on zb.LC_ID =lnp.F_id "); | strSql.Append(" left join " + dbName + ".[dbo].LR_NWF_PROCESS lnp on zb.LC_ID =lnp.F_id "); | ||||
strSql.Append(" where 1=1 "); | |||||
strSql.Append(" where 1=1 and lnp.F_SchemeCode = 'LC_docx' "); | |||||
strSql.Append(" and lnp.F_EnabledMark != '3' and lnp.F_EnabledMark != '2' and lnp.F_IsChild='0' "); | |||||
if (queryParam["categoryId"].ToString() == "1") | if (queryParam["categoryId"].ToString() == "1") | ||||
{ | { | ||||
strSql.Append(" and lnp.F_IsFinished= '0' "); | strSql.Append(" and lnp.F_IsFinished= '0' "); | ||||
@@ -317,8 +311,6 @@ namespace Learun.Application.WorkFlow | |||||
{ | { | ||||
strSql.Append(" and lnp.F_IsFinished= '1' "); | strSql.Append(" and lnp.F_IsFinished= '1' "); | ||||
} | } | ||||
strSql.Append(" and lnp.F_SchemeCode = 'LC_docx' "); | |||||
strSql.Append(" and lnp.F_EnabledMark != '3' and lnp.F_EnabledMark != '4' and lnp.F_IsChild='0' "); | |||||
if (!queryParam["LC_party"].IsEmpty()) | if (!queryParam["LC_party"].IsEmpty()) | ||||
{ | { | ||||
strSql.Append(" and zb.LC_party like '%" + queryParam["LC_party"].ToString() + "%' "); | strSql.Append(" and zb.LC_party like '%" + queryParam["LC_party"].ToString() + "%' "); | ||||
@@ -331,9 +323,9 @@ namespace Learun.Application.WorkFlow | |||||
{ | { | ||||
DateTime startTime = queryParam["StartTime"].ToDate(); | DateTime startTime = queryParam["StartTime"].ToDate(); | ||||
DateTime endTime = queryParam["EndTime"].ToDate(); | DateTime endTime = queryParam["EndTime"].ToDate(); | ||||
strSql.Append(" and ( zb.LC_accept>= '" + startTime + "' and zb.LC_accept <= '" + endTime + "' )"); | |||||
strSql.Append(" and CONVERT(varchar, zb.lc_accept) >= CONVERT(varchar, '" + startTime + "') and CONVERT(varchar, zb.LC_accept) <= CONVERT(varchar, '" + endTime + "')"); | |||||
} | } | ||||
return this.BaseRepository("CollegeMIS").FindList<NWFProcessEntity>(strSql.ToString(), dp); | |||||
return this.BaseRepository("CollegeMIS").FindList<LC_docx2Entity>(strSql.ToString(), dp); | |||||
} | } | ||||
catch (Exception ex) | catch (Exception ex) | ||||