提交所有文件2
This commit is contained in:
+13
-7
@@ -11,10 +11,16 @@ using GThinking.N_MISPRO.Utility;
|
||||
|
||||
namespace GThinking.N_XLXSBJ
|
||||
{
|
||||
[TableMap(DB = "DBERP", DbTableName = "XLXSJGBYZZ1", Umid = 100860017, IsWorkFlow = false, IsAttach = false, UseWhr = false)]
|
||||
|
||||
public class CLQDYZ_XJFY : EntityManager
|
||||
{
|
||||
}
|
||||
|
||||
public partial class CLQDYZ_XJFYView : SingleGridBase
|
||||
{
|
||||
CLQDYZ entity = new CLQDYZ();
|
||||
CLQDYZ_M qryEntity = new CLQDYZ_M();
|
||||
CLQDYZ_XJFY entity = new CLQDYZ_XJFY();
|
||||
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -23,7 +29,6 @@ namespace GThinking.N_XLXSBJ
|
||||
this.CurMaster = Master;
|
||||
this.ModuleGV = ContentGrid;
|
||||
this.CurEntity = entity;
|
||||
this.CurQueryEntity = qryEntity;
|
||||
this.PageHeight = 500;
|
||||
this.PageWidth = 650;
|
||||
this.Master.EnableNewBtn = false;
|
||||
@@ -32,18 +37,18 @@ namespace GThinking.N_XLXSBJ
|
||||
this.Master.EnableEditBtn = false;
|
||||
this.Master.EnableDeleteBtn = false;
|
||||
this.Master.EnableAttachBtn = false;
|
||||
this.Master.EnableQueryBtn = false;
|
||||
base.InitPage();
|
||||
|
||||
if (!IsPostBack)
|
||||
{
|
||||
if (IsDefaultExecute)
|
||||
Master_OnStandardQuery(null, null);
|
||||
Master_OnStandardQuery(null, null);
|
||||
}
|
||||
this.ModuleGV.OnClientDblClick = "return false;";
|
||||
}
|
||||
|
||||
protected override void Master_OnStandardQuery(object sender, EventArgs e)
|
||||
{
|
||||
base.InitEntityByCondition();
|
||||
entity.EntityTable.QuerySelSql = "select 1 from XLXSJGBYZZ1 where 1<>1";
|
||||
base.Master_OnStandardQuery(sender, e);
|
||||
DataSet ds = GetExcelData();
|
||||
@@ -57,10 +62,11 @@ namespace GThinking.N_XLXSBJ
|
||||
|
||||
protected override void moduleGV_PageIndexChanging(object sender, GridViewPageEventArgs e)
|
||||
{
|
||||
base.InitEntityByCondition();
|
||||
|
||||
entity.EntityTable.QuerySelSql = "select 1 from XLXSJGBYZZ1 where 1<>1";
|
||||
base.moduleGV_PageIndexChanging(sender, e);
|
||||
DataSet ds = GetExcelData();
|
||||
ContentGrid.SelectedIndex = -1;
|
||||
if (ds != null)
|
||||
{
|
||||
entity.GridDataBind(ContentGrid, tSession);
|
||||
|
||||
Reference in New Issue
Block a user