基线 SVN r240
SVN-Revision: r240
This commit is contained in:
@@ -0,0 +1,102 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace Lskj.Interface.Api
|
||||
{
|
||||
public class ModuleBase : Module
|
||||
{
|
||||
public ModuleBase() : base() { }
|
||||
public ModuleBase(DataRow rowItem)
|
||||
: base(rowItem)
|
||||
{
|
||||
if (rowItem == null) return;
|
||||
if (rowItem.Table.Columns.Contains("ApplyAble")) this.ApplyAble = (rowItem["ApplyAble"]) as bool?;
|
||||
if (rowItem.Table.Columns.Contains("BackSelected")) this.BackSelected = (rowItem["BackSelected"]) as bool?;
|
||||
this.TaskSql = rowItem.Table.Columns.Contains("taskSql") ? rowItem["taskSql"] + "" : string.Empty;
|
||||
this.CountSql = rowItem.Table.Columns.Contains("countSql") ? rowItem["countSql"] + "" : string.Empty;
|
||||
this.OverBackCond = rowItem.Table.Columns.Contains("OverBackCond") ? rowItem["OverBackCond"] + "" : string.Empty;
|
||||
this.OverBackSql = rowItem.Table.Columns.Contains("OverBackSql") ? rowItem["OverBackSql"] + "" : string.Empty;
|
||||
this.OverBackKey = rowItem.Table.Columns.Contains("OverBackKey") ? rowItem["OverBackKey"] + "" : string.Empty;
|
||||
this.OverBackOper = rowItem.Table.Columns.Contains("OverBackOper") ? rowItem["OverBackOper"] + "" : string.Empty;
|
||||
//this.ImportAble = rowItem.Table.Columns.Contains("ImportFlag") ? rowItem["ImportFlag"] as bool : false;
|
||||
this.ImportCond = rowItem.Table.Columns.Contains("ImportCond") ? rowItem["ImportCond"] + "" : string.Empty;
|
||||
this.ExportCond = rowItem.Table.Columns.Contains("ExportCond") ? rowItem["ExportCond"] + "" : string.Empty;
|
||||
this.AddDllName = rowItem.Table.Columns.Contains("adddllname") ? rowItem["adddllname"] + "" : string.Empty;
|
||||
this.DirId = rowItem.Table.Columns.Contains("dirid") ? rowItem["dirid"] + "" : string.Empty;
|
||||
if (rowItem.Table.Columns.Contains("editType")) this.EditType = (rowItem["editType"]) as Int32?;
|
||||
this.FileSpeciesNo = rowItem.Table.Columns.Contains("FileSpeciesNo") ? rowItem["FileSpeciesNo"] + "" : string.Empty;
|
||||
this.AddHint = rowItem.Table.Columns.Contains("addhint") ? rowItem["addhint"] + "" : string.Empty;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public bool OperAble = true;
|
||||
public bool? ApplyAble;
|
||||
public bool? BackSelected;
|
||||
// 待办任务语句
|
||||
public string TaskSql;
|
||||
// 统计语句
|
||||
public string CountSql;
|
||||
// 是否需要统计模块数据
|
||||
public bool NeedCount
|
||||
{
|
||||
get
|
||||
{
|
||||
return !string.IsNullOrEmpty(CountSql);
|
||||
}
|
||||
}
|
||||
|
||||
public bool CondSelect = true;
|
||||
// 回退条件
|
||||
public string OverBackCond;
|
||||
// 回退语句
|
||||
public string OverBackSql;
|
||||
// 回退key
|
||||
public string OverBackKey;
|
||||
// 回退权限
|
||||
public string OverBackOper;
|
||||
// 是否可导入
|
||||
public bool ImportAble;
|
||||
// 导入条件
|
||||
public string ImportCond;
|
||||
// 导出条件
|
||||
public string ExportCond;
|
||||
// 是否可导出
|
||||
public bool ExportAble;
|
||||
|
||||
public string ModuleName;
|
||||
public string AddDllName;
|
||||
public string AddXtype;
|
||||
// 右键调用模块的时候赋值
|
||||
public string ContextMenuI;
|
||||
//右键调用模块的时候赋值
|
||||
// public SysPoPupMenuBtn PopBtn;
|
||||
public int? BillType;
|
||||
// 附件目录
|
||||
public string DirId;
|
||||
// 附件目录
|
||||
public int? EditType;
|
||||
// 附件编码(图档)
|
||||
public string FileSpeciesNo;
|
||||
// 附件显示模式 0:视图,1:表格
|
||||
public int? AttcViewType;
|
||||
// 自定义添加模板
|
||||
public string CusAddTpl;
|
||||
// 自定义添加模板
|
||||
public string AddHint;
|
||||
|
||||
public int? RowHeight;
|
||||
//public Hashtable MasterData;
|
||||
//public ArrayList DetailData;
|
||||
// 新版标记
|
||||
public bool NewVer;
|
||||
// 新版流程标记
|
||||
public bool NewWFVer;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user