北京安通林JIS系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

46 lines
1.1 KiB

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Stone.WinBiz.BasicData;
using Stone.Entity;
using System.Windows.Forms;
using Stone.Common;
using Stone.WinBiz.SystemData;
namespace Stone.WinBiz.JisData
{
public class F_DELFOR_ALL : F_Base
{
public string address = "";
public F_DELFOR_ALL(string _address)
{
address = _address;
this.type = "DELFOR_ALL";
this.entity = new Entity_t_DELFOR_All();
this.dateWhere = "[StartDate]>='{0}' and [StartDate]<='{1}'";
this.name = $"DELFOR-ALL-{F_Common.GetAddress(_address)}";
this.strOrder = "[StartDate] asc";
}
public override void GetView(DataGridView dgv)
{
base.GetView(dgv);
}
public override void BindPageData(string strWhere)
{
if (entityView == null) entityView = entity;
dsMain = entityView.GetData("", $"({strWhere}) and [Address]='{address}'", strOrder);
dsMain.Tables[0].TableName = "Data";
}
}
}