2026821
This commit is contained in:
+155
@@ -0,0 +1,155 @@
|
||||
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 = "XLXSJGBYZZ3", Umid = 100860026, IsWorkFlow = false, IsAttach = false, UseWhr = true,
|
||||
|
||||
EntitySelSql = " select XLXSJGBYZZ3_JGBID,isnull(XLXSJGBYZZ3_XSQYID,' ') as XLXSJGBYZZ3_XSQYID,XLXSJGBYZZ3_DTCLID,isnull(XLXSJGBYZZ3_XLXHID,' ') as XLXSJGBYZZ3_XLXHID,XLXSJGBYZZ3_ZXJM, " + "\r\n"
|
||||
+ " XLXSJGBYZZ3_YZID,XLXSJGBYZZ3_WHR,XLXSJGBYZZ3_WHRID,XLXSJGBYZZ3_WHSJ " + "\r\n"
|
||||
+ " from XLXSJGBYZZ3 " + "\r\n"
|
||||
+ " where XLXSJGBYZZ3_JGBID=:XLXSJGBYZZ3_JGBID and XLXSJGBYZZ3_XSQYID =:XLXSJGBYZZ3_XSQYID and XLXSJGBYZZ3_DTCLID =:XLXSJGBYZZ3_DTCLID and XLXSJGBYZZ3_XLXHID=:XLXSJGBYZZ3_XLXHID "
|
||||
+ " and XLXSJGBYZZ3_ZXJM=:XLXSJGBYZZ3_ZXJM and XLXSJGBYZZ3_YZID=:XLXSJGBYZZ3_YZID",
|
||||
|
||||
UpdateSql = " update XLXSJGBYZZ3 " + "\r\n"
|
||||
+ " set XLXSJGBYZZ3_XSQYID= isnull(:XLXSJGBYZZ3_XSQYID,' '), XLXSJGBYZZ3_DTCLID = :XLXSJGBYZZ3_DTCLID," + "\r\n"
|
||||
+ " XLXSJGBYZZ3_XLXHID = isnull(:XLXSJGBYZZ3_XLXHID,' '), XLXSJGBYZZ3_ZXJM = isnull(:XLXSJGBYZZ3_ZXJM,0) " + "\r\n"
|
||||
+ " where XLXSJGBYZZ3_JGBID=:XLXSJGBYZZ3_JGBID and XLXSJGBYZZ3_XSQYID =:OLD_XLXSJGBYZZ3_XSQYID and XLXSJGBYZZ3_DTCLID =:OLD_XLXSJGBYZZ3_DTCLID and XLXSJGBYZZ3_XLXHID=:OLD_XLXSJGBYZZ3_XLXHID "
|
||||
+ " and XLXSJGBYZZ3_ZXJM=:OLD_XLXSJGBYZZ3_ZXJM and XLXSJGBYZZ3_YZID=:XLXSJGBYZZ3_YZID ",
|
||||
|
||||
InsertSql = " select XLXSJGBYZZ3_XSQYID from XLXSJGBYZZ3 where 1 <> 1 ",
|
||||
|
||||
DeleteSql = " delete from XLXSJGBYZZ3 where XLXSJGBYZZ3_JGBID=:XLXSJGBYZZ3_JGBID and XLXSJGBYZZ3_XSQYID =:XLXSJGBYZZ3_XSQYID and XLXSJGBYZZ3_DTCLID =:XLXSJGBYZZ3_DTCLID and XLXSJGBYZZ3_XLXHID=:XLXSJGBYZZ3_XLXHID and XLXSJGBYZZ3_ZXJM=:XLXSJGBYZZ3_ZXJM ")]
|
||||
|
||||
public class TZYZJJ3 : EntityManager
|
||||
{
|
||||
#region 字段级映射
|
||||
|
||||
private string _XLXSJGBYZZ3_JGBID;
|
||||
[ColumnMap(DbField = "XLXSJGBYZZ3_JGBID", CtrlName = "txtJGBID", DbTitle = "调价表", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = false, IsKey = false, Length = 8)]
|
||||
public string XLXSJGBYZZ3_JGBID
|
||||
{
|
||||
get { return _XLXSJGBYZZ3_JGBID; }
|
||||
set { _XLXSJGBYZZ3_JGBID = value; }
|
||||
}
|
||||
|
||||
private string _XLXSJGBYZZ3_XSQYID;
|
||||
[ColumnMap(DbField = "XLXSJGBYZZ3_XSQYID", CtrlName = "cbxXSQYID", DbTitle = "销售区域", Type = FieldType.CBX, DefaultValue = " ",
|
||||
IsAllowNull = true, IsKey = true, Length = 20)]
|
||||
public string XLXSJGBYZZ3_XSQYID
|
||||
{
|
||||
get { return _XLXSJGBYZZ3_XSQYID; }
|
||||
set { _XLXSJGBYZZ3_XSQYID = value; }
|
||||
}
|
||||
|
||||
private string _OLD_XLXSJGBYZZ3_XSQYID;
|
||||
[ColumnMap(DbField = "OLD_XLXSJGBYZZ3_XSQYID", CtrlName = "txtOLD_XSQYID", DbTitle = "原销售区域", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 20, PrintVisible = false)]
|
||||
public string OLD_XLXSJGBYZZ3_XSQYID
|
||||
{
|
||||
get { return _OLD_XLXSJGBYZZ3_XSQYID; }
|
||||
set { _OLD_XLXSJGBYZZ3_XSQYID = value; }
|
||||
}
|
||||
|
||||
private string _XLXSJGBYZZ3_DTCLID;
|
||||
[ColumnMap(DbField = "XLXSJGBYZZ3_DTCLID", CtrlName = "cbxDTCLID", DbTitle = "导体材料", Type = FieldType.CBX, DefaultValue = "",
|
||||
IsAllowNull = false, IsKey = true, Length = 10)]
|
||||
public string XLXSJGBYZZ3_DTCLID
|
||||
{
|
||||
get { return _XLXSJGBYZZ3_DTCLID; }
|
||||
set { _XLXSJGBYZZ3_DTCLID = value; }
|
||||
}
|
||||
|
||||
private string _OLD_XLXSJGBYZZ3_DTCLID;
|
||||
[ColumnMap(DbField = "OLD_XLXSJGBYZZ3_DTCLID", CtrlName = "txtOLD_DTCLID", DbTitle = "原导体材料", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 10, PrintVisible = false)]
|
||||
public string OLD_XLXSJGBYZZ3_DTCLID
|
||||
{
|
||||
get { return _OLD_XLXSJGBYZZ3_DTCLID; }
|
||||
set { _OLD_XLXSJGBYZZ3_DTCLID = value; }
|
||||
}
|
||||
|
||||
private string _XLXSJGBYZZ3_XLXHID;
|
||||
[ColumnMap(DbField = "XLXSJGBYZZ3_XLXHID", CtrlName = "cbxXLXHID", DbTitle = "型号", Type = FieldType.CBX, DefaultValue = " ",
|
||||
IsAllowNull = true, IsKey = true, Length = 40)]
|
||||
public string XLXSJGBYZZ3_XLXHID
|
||||
{
|
||||
get { return _XLXSJGBYZZ3_XLXHID; }
|
||||
set { _XLXSJGBYZZ3_XLXHID = value; }
|
||||
}
|
||||
|
||||
private string _OLD_XLXSJGBYZZ3_XLXHID;
|
||||
[ColumnMap(DbField = "OLD_XLXSJGBYZZ3_XLXHID", CtrlName = "txtOLD_XLXHID", DbTitle = "原型号", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 40, PrintVisible = false)]
|
||||
public string OLD_XLXSJGBYZZ3_XLXHID
|
||||
{
|
||||
get { return _OLD_XLXSJGBYZZ3_XLXHID; }
|
||||
set { _OLD_XLXSJGBYZZ3_XLXHID = value; }
|
||||
}
|
||||
|
||||
private string _XLXSJGBYZZ3_ZXJM;
|
||||
[ColumnMap(DbField = "XLXSJGBYZZ3_ZXJM", CtrlName = "txtZXJM", DbTitle = "主芯截面", Type = FieldType.F, DefaultValue = "0",
|
||||
IsAllowNull = false, IsKey = true, Length = 0)]
|
||||
public string XLXSJGBYZZ3_ZXJM
|
||||
{
|
||||
get { return _XLXSJGBYZZ3_ZXJM; }
|
||||
set { _XLXSJGBYZZ3_ZXJM = value; }
|
||||
}
|
||||
|
||||
private string _OLD_XLXSJGBYZZ3_ZXJM;
|
||||
[ColumnMap(DbField = "OLD_XLXSJGBYZZ3_ZXJM", CtrlName = "txtOLD_ZXJM", DbTitle = "原主芯截面", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 20, PrintVisible = false)]
|
||||
public string OLD_XLXSJGBYZZ3_ZXJM
|
||||
{
|
||||
get { return _OLD_XLXSJGBYZZ3_ZXJM; }
|
||||
set { _OLD_XLXSJGBYZZ3_ZXJM = value; }
|
||||
}
|
||||
|
||||
private string _XLXSJGBYZZ3_YZID;
|
||||
[ColumnMap(DbField = "XLXSJGBYZZ3_YZID", CtrlName = "txtYZID", DbTitle = "调价因子编码", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = true, Length = 10)]
|
||||
public string XLXSJGBYZZ3_YZID
|
||||
{
|
||||
get { return _XLXSJGBYZZ3_YZID; }
|
||||
set { _XLXSJGBYZZ3_YZID = value; }
|
||||
}
|
||||
|
||||
private string _XLXSJGBYZZ3_WHR;
|
||||
[ColumnMap(DbField = "XLXSJGBYZZ3_WHR", CtrlName = "txtWHR", DbTitle = "维护人", Type = FieldType.C, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 30)]
|
||||
public string XLXSJGBYZZ3_WHR
|
||||
{
|
||||
get { return _XLXSJGBYZZ3_WHR; }
|
||||
set { _XLXSJGBYZZ3_WHR = value; }
|
||||
}
|
||||
|
||||
private string _XLXSJGBYZZ3_WHRID;
|
||||
[ColumnMap(DbField = "XLXSJGBYZZ3_WHRID", CtrlName = "txtWHRID", DbTitle = "维护人工号", Type = FieldType.HiddenField, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 10)]
|
||||
public string XLXSJGBYZZ3_WHRID
|
||||
{
|
||||
get { return _XLXSJGBYZZ3_WHRID; }
|
||||
set { _XLXSJGBYZZ3_WHRID = value; }
|
||||
}
|
||||
|
||||
private string _XLXSJGBYZZ3_WHSJ;
|
||||
[ColumnMap(DbField = "XLXSJGBYZZ3_WHSJ", CtrlName = "datWHSJ", DbTitle = "维护时间", Type = FieldType.DT, DefaultValue = "",
|
||||
IsAllowNull = true, IsKey = false, Length = 10)]
|
||||
public string XLXSJGBYZZ3_WHSJ
|
||||
{
|
||||
get { return _XLXSJGBYZZ3_WHSJ; }
|
||||
set { _XLXSJGBYZZ3_WHSJ = value; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user