2026821
This commit is contained in:
+182
@@ -0,0 +1,182 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using GThinking.N_MODEL.Page;
|
||||
|
||||
namespace GThinking.N_XLXSBJ
|
||||
{
|
||||
[TableMap(DB = "DBERP", DbTableName = "XLXSBJDYZZJ", Umid = 100860150, IsWorkFlow = false, IsAttach = false, UseWhr = false,
|
||||
|
||||
QuerySelSql = "select XLXSBJDYZZJ_JGBID, XLXSBJDYZZJ_TZLX,XLXSBJDYZZJ_TZ,XLXSBJDYZZJ_GYFLBM, " + "\r\n"
|
||||
+ " XLXSBJDYZZJ_YZID, XLXSBJDYZZJ_YZZ,XLXSBJDYZZJ_XHBBH, XLXSBJDYZZJ_WHR, XLXSBJDYZZJ_WHRID, XLXSBJDYZZJ_WHSJ " + "\r\n"
|
||||
+ " from XLXSBJDYZZJ " + "\r\n"
|
||||
+ " where 1=1 ",
|
||||
|
||||
EntitySelSql = " select XLXSBJDYZZJ_JGBID, XLXSBJDYZZJ_YZID, XLXSTZYZ_JJFS, "
|
||||
+ " XLXSBJDYZZJ_TZLX,XLXSBJDYZZJ_TZ,XLXSBJDYZZJ_GYFLBM, "
|
||||
+ " XLXSBJDYZZJ_YZZ,XLXSBJDYZZJ_XHBBH, XLXSBJDYZZJ_WHR, XLXSBJDYZZJ_WHRID, XLXSBJDYZZJ_WHSJ "
|
||||
+ " from XLXSBJDYZZJ left join XLXSTZYZ on XLXSTZYZ_YZID=XLXSBJDYZZJ_YZID and XLXSTZYZ_MXBH='BJD' "
|
||||
+ " where XLXSBJDYZZJ_JGBID =:XLXSBJDYZZJ_JGBID and XLXSBJDYZZJ_YZID =:XLXSBJDYZZJ_YZID "
|
||||
+ " and XLXSBJDYZZJ_TZLX=:XLXSBJDYZZJ_TZLX and XLXSBJDYZZJ_TZ=:XLXSBJDYZZJ_TZ and XLXSBJDYZZJ_GYFLBM=:XLXSBJDYZZJ_GYFLBM ",
|
||||
|
||||
UpdateSql = " update XLXSBJDYZZJ "
|
||||
+ " set XLXSBJDYZZJ_JGBID = :XLXSBJDYZZJ_JGBID, "
|
||||
+ " XLXSBJDYZZJ_TZLX=:XLXSBJDYZZJ_TZLX , XLXSBJDYZZJ_TZ=:XLXSBJDYZZJ_TZ,XLXSBJDYZZJ_GYFLBM=:XLXSBJDYZZJ_GYFLBM, "
|
||||
+ " XLXSBJDYZZJ_YZZ=isnull(:XLXSBJDYZZJ_YZZ,0),XLXSBJDYZZJ_XHBBH=:XLXSBJDYZZJ_XHBBH, "
|
||||
+ " XLXSBJDYZZJ_WHR=:XLXSBJDYZZJ_WHR, XLXSBJDYZZJ_WHRID=:XLXSBJDYZZJ_WHRID, XLXSBJDYZZJ_WHSJ=:XLXSBJDYZZJ_WHSJ "
|
||||
+ " where XLXSBJDYZZJ_JGBID =:XLXSBJDYZZJ_JGBID "
|
||||
+ " and XLXSBJDYZZJ_TZLX=:OLD_XLXSBJDYZZJ_TZLX and XLXSBJDYZZJ_TZ=:OLD_XLXSBJDYZZJ_TZ and XLXSBJDYZZJ_GYFLBM=:OLD_XLXSBJDYZZJ_GYFLBM ",
|
||||
|
||||
|
||||
InsertSql = " select XLXSBJDYZZJ_JGBID from XLXSBJDYZZJ where 1 <> 1 ",
|
||||
DeleteSql = " delete from XLXSBJDYZZJ where XLXSBJDYZZJ_JGBID =:XLXSBJDYZZJ_JGBID "
|
||||
+ " and XLXSBJDYZZJ_TZLX=:XLXSBJDYZZJ_TZLX and XLXSBJDYZZJ_TZ=:XLXSBJDYZZJ_TZ and XLXSBJDYZZJ_GYFLBM=:XLXSBJDYZZJ_GYFLBM ")]
|
||||
public class TZYZBJJ : EntityManager
|
||||
{
|
||||
private string _XLXSBJDYZZJ_JGBID;
|
||||
[ColumnMap(DbField = "XLXSBJDYZZJ_JGBID", CtrlName = "txtJGBID", DbTitle = "调价表编号", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = false, IsKey = true, Length = 8)]
|
||||
public string XLXSBJDYZZJ_JGBID
|
||||
{
|
||||
get { return _XLXSBJDYZZJ_JGBID; }
|
||||
set { _XLXSBJDYZZJ_JGBID = value; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private string _XLXSBJDYZZJ_TZLX;
|
||||
[ColumnMap(DbField = "XLXSBJDYZZJ_TZLX", CtrlName = "cbxTZLX", DbTitle = "特征类型", Type = FieldType.CBX, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = true, Length = 20)]
|
||||
public string XLXSBJDYZZJ_TZLX
|
||||
{
|
||||
get { return _XLXSBJDYZZJ_TZLX; }
|
||||
set { _XLXSBJDYZZJ_TZLX = value; }
|
||||
}
|
||||
|
||||
private string _OLD_XLXSBJDYZZJ_TZLX;
|
||||
[ColumnMap(DbField = "OLD_XLXSBJDYZZJ_TZLX", CtrlName = "txtOLD_TZLX", DbTitle = "原特征类型", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 20, PrintVisible = false)]
|
||||
public string OLD_XLXSBJDYZZJ_TZLX
|
||||
{
|
||||
get { return _OLD_XLXSBJDYZZJ_TZLX; }
|
||||
set { _OLD_XLXSBJDYZZJ_TZLX = value; }
|
||||
}
|
||||
|
||||
private string _XLXSBJDYZZJ_TZ;
|
||||
[ColumnMap(DbField = "XLXSBJDYZZJ_TZ", CtrlName = "cbxTZ", DbTitle = "特征", Type = FieldType.CBX, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = true, Length = 20)]
|
||||
public string XLXSBJDYZZJ_TZ
|
||||
{
|
||||
get { return _XLXSBJDYZZJ_TZ; }
|
||||
set { _XLXSBJDYZZJ_TZ = value; }
|
||||
}
|
||||
|
||||
private string _OLD_XLXSBJDYZZJ_TZ;
|
||||
[ColumnMap(DbField = "OLD_XLXSBJDYZZJ_TZ", CtrlName = "txtOLD_TZ", DbTitle = "原特征", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 20, PrintVisible = false)]
|
||||
public string OLD_XLXSBJDYZZJ_TZ
|
||||
{
|
||||
get { return _OLD_XLXSBJDYZZJ_TZ; }
|
||||
set { _OLD_XLXSBJDYZZJ_TZ = value; }
|
||||
}
|
||||
|
||||
|
||||
private string _XLXSBJDYZZJ_GYFLBM;
|
||||
[ColumnMap(DbField = "XLXSBJDYZZJ_GYFLBM", CtrlName = "cbxGYFL", DbTitle = "工艺分类", Type = FieldType.CBX, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = true, Length = 20)]
|
||||
public string XLXSBJDYZZJ_GYFLBM
|
||||
{
|
||||
get { return _XLXSBJDYZZJ_GYFLBM; }
|
||||
set { _XLXSBJDYZZJ_GYFLBM = value; }
|
||||
}
|
||||
|
||||
private string _OLD_XLXSBJDYZZJ_GYFLBM;
|
||||
[ColumnMap(DbField = "OLD_XLXSBJDYZZJ_GYFLBM", CtrlName = "txtOLD_GYFL", DbTitle = "原工艺分类", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 20, PrintVisible = false)]
|
||||
public string OLD_XLXSBJDYZZJ_GYFLBM
|
||||
{
|
||||
get { return _OLD_XLXSBJDYZZJ_GYFLBM; }
|
||||
set { _OLD_XLXSBJDYZZJ_GYFLBM = value; }
|
||||
}
|
||||
|
||||
|
||||
private string _XLXSBJDYZZJ_YZID;
|
||||
[ColumnMap(DbField = "XLXSBJDYZZJ_YZID", CtrlName = "cbxYZID", DbTitle = "调价因子编码", Type = FieldType.CBX, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 10)]
|
||||
public string XLXSBJDYZZJ_YZID
|
||||
{
|
||||
get { return _XLXSBJDYZZJ_YZID; }
|
||||
set { _XLXSBJDYZZJ_YZID = value; }
|
||||
}
|
||||
|
||||
private string _OLD_XLXSBJDYZZJ_YZID;
|
||||
[ColumnMap(DbField = "OLD_XLXSBJDYZZJ_YZID", CtrlName = "txtOLD_YZID", DbTitle = "原调价因子编码", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 10)]
|
||||
public string OLD_XLXSBJDYZZJ_YZID
|
||||
{
|
||||
get { return _OLD_XLXSBJDYZZJ_YZID; }
|
||||
set { _OLD_XLXSBJDYZZJ_YZID = value; }
|
||||
}
|
||||
|
||||
private string _XLXSTZYZ_JJFS;
|
||||
[ColumnMap(DbField = "XLXSTZYZ_JJFS", CtrlName = "cbxJJFS", DbTitle = "调价方式", Type = FieldType.CBX, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 2)]
|
||||
public string XLXSTZYZ_JJFS
|
||||
{
|
||||
get { return _XLXSTZYZ_JJFS; }
|
||||
set { _XLXSTZYZ_JJFS = value; }
|
||||
}
|
||||
|
||||
private string _XLXSBJDYZZJ_YZZ;
|
||||
[ColumnMap(DbField = "XLXSBJDYZZJ_YZZ", CtrlName = "txtYZZ", Type = FieldType.F, DbTitle = "因子值", DefaultValue = "0",
|
||||
IsAllowNull = true, IsKey = false, Length = 0)]
|
||||
public string XLXSBJDYZZJ_YZZ
|
||||
{
|
||||
get { return _XLXSBJDYZZJ_YZZ; }
|
||||
set { _XLXSBJDYZZJ_YZZ = value; }
|
||||
}
|
||||
|
||||
private string _XLXSBJDYZZJ_XHBBH;
|
||||
[ColumnMap(DbField = "XLXSBJDYZZJ_XHBBH", CtrlName = "txtXHBBHZF", DbTitle = "型号不包含", Type = FieldType.C, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 250)]
|
||||
public string XLXSBJDYZZJ_XHBBH
|
||||
{
|
||||
get { return _XLXSBJDYZZJ_XHBBH; }
|
||||
set { _XLXSBJDYZZJ_XHBBH = value; }
|
||||
}
|
||||
|
||||
private string _XLXSBJDYZZJ_WHR;
|
||||
[ColumnMap(DbField = "XLXSBJDYZZJ_WHR", CtrlName = "txtWHR", DbTitle = "维护人", Type = FieldType.C, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 30)]
|
||||
public string XLXSBJDYZZJ_WHR
|
||||
{
|
||||
get { return _XLXSBJDYZZJ_WHR; }
|
||||
set { _XLXSBJDYZZJ_WHR = value; }
|
||||
}
|
||||
|
||||
private string _XLXSBJDYZZJ_WHRID;
|
||||
[ColumnMap(DbField = "XLXSBJDYZZJ_WHRID", CtrlName = "txtWHRID", DbTitle = "维护人工号", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 10)]
|
||||
public string XLXSBJDYZZJ_WHRID
|
||||
{
|
||||
get { return _XLXSBJDYZZJ_WHRID; }
|
||||
set { _XLXSBJDYZZJ_WHRID = value; }
|
||||
}
|
||||
|
||||
private string _XLXSBJDYZZJ_WHSJ;
|
||||
[ColumnMap(DbField = "XLXSBJDYZZJ_WHSJ", CtrlName = "datWHSJ", DbTitle = "维护时间", Type = FieldType.DT, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 10)]
|
||||
public string XLXSBJDYZZJ_WHSJ
|
||||
{
|
||||
get { return _XLXSBJDYZZJ_WHSJ; }
|
||||
set { _XLXSBJDYZZJ_WHSJ = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user