구매 0 달러단가 넣기 전 백업

This commit is contained in:
chi
2021-07-11 12:22:02 +09:00
parent ac45a7429c
commit 5316245ae5
26 changed files with 1811 additions and 725 deletions

View File

@@ -345,6 +345,8 @@ namespace FPJ0000 {
private global::System.Data.DataColumn column결과2;
private global::System.Data.DataColumn columnrefdata;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EETGW_JobReport_EBoardDataTable() {
@@ -642,6 +644,14 @@ namespace FPJ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn refdataColumn {
get {
return this.columnrefdata;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -711,7 +721,8 @@ namespace FPJ0000 {
string wuid,
System.DateTime wdate,
string 2,
string 2) {
string 2,
bool refdata) {
EETGW_JobReport_EBoardRow rowEETGW_JobReport_EBoardRow = ((EETGW_JobReport_EBoardRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -746,7 +757,8 @@ namespace FPJ0000 {
wuid,
wdate,
2,
2};
2,
refdata};
rowEETGW_JobReport_EBoardRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEETGW_JobReport_EBoardRow);
return rowEETGW_JobReport_EBoardRow;
@@ -809,6 +821,7 @@ namespace FPJ0000 {
this.columnwdate = base.Columns["wdate"];
this.column원인2 = base.Columns["원인2"];
this.column결과2 = base.Columns["결과2"];
this.columnrefdata = base.Columns["refdata"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -880,6 +893,8 @@ namespace FPJ0000 {
base.Columns.Add(this.column원인2);
this.column결과2 = new global::System.Data.DataColumn("결과2", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.column결과2);
this.columnrefdata = new global::System.Data.DataColumn("refdata", typeof(bool), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnrefdata);
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -1563,6 +1578,22 @@ namespace FPJ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool refdata {
get {
if (this.IsrefdataNull()) {
return false;
}
else {
return ((bool)(this[this.tableEETGW_JobReport_EBoard.refdataColumn]));
}
}
set {
this[this.tableEETGW_JobReport_EBoard.refdataColumn] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IspdateNull() {
@@ -1910,6 +1941,18 @@ namespace FPJ0000 {
public void Set결과2Null() {
this[this.tableEETGW_JobReport_EBoard.2Column] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsrefdataNull() {
return this.IsNull(this.tableEETGW_JobReport_EBoard.refdataColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetrefdataNull() {
this[this.tableEETGW_JobReport_EBoard.refdataColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -2104,6 +2147,7 @@ namespace FPJ0000.DSEboardTableAdapters {
tableMapping.ColumnMappings.Add("wdate", "wdate");
tableMapping.ColumnMappings.Add("원인2", "원인2");
tableMapping.ColumnMappings.Add("결과2", "결과2");
tableMapping.ColumnMappings.Add("refdata", "refdata");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
@@ -2134,7 +2178,8 @@ namespace FPJ0000.DSEboardTableAdapters {
"LL) OR ([RepairTime] = @Original_RepairTime)) AND ((@IsNull_memo = 1 AND [memo] " +
"IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_import = 1 AND [import] IS " +
"NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdat" +
"e] = @Original_wdate))";
"e] = @Original_wdate) AND ((@IsNull_refdata = 1 AND [refdata] IS NULL) OR ([refd" +
"ata] = @Original_refdata)))";
this._adapter.DeleteCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
@@ -2190,10 +2235,12 @@ namespace FPJ0000.DSEboardTableAdapters {
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_refdata", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "refdata", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_refdata", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "refdata", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.InsertCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.InsertCommand.Connection = this.Connection;
this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_JobReport_EBoard] ([gcode], [pdate], [uid], [Site], [요청자], [수리완료일], [Status], [분류], [Line], [Division], [Team], [Process], [Equipment], [Model], [BoardName], [BoardVender], [원인], [결과], [SN], [QTY], [NPrice], [OPrice], [RepairCost], [CostReduction], [외주업체], [RepairTime], [memo], [import], [wuid], [wdate], [원인2], [결과2]) VALUES (@gcode, @pdate, @uid, @Site, @요청자, @수리완료일, @Status, @분류, @Line, @Division, @Team, @Process, @Equipment, @Model, @BoardName, @BoardVender, @원인, @결과, @SN, @QTY, @NPrice, @OPrice, @RepairCost, @CostReduction, @외주업체, @RepairTime, @memo, @import, @wuid, @wdate, @원인2, @결과2);
SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Process, Equipment, Model, BoardName, BoardVender, 원인, 결과, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, memo, import, wuid, wdate, 원인2, 결과2 FROM EETGW_JobReport_EBoard WHERE (idx = SCOPE_IDENTITY())";
this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_JobReport_EBoard] ([gcode], [pdate], [uid], [Site], [요청자], [수리완료일], [Status], [분류], [Line], [Division], [Team], [Process], [Equipment], [Model], [BoardName], [BoardVender], [원인], [결과], [SN], [QTY], [NPrice], [OPrice], [RepairCost], [CostReduction], [외주업체], [RepairTime], [memo], [import], [wuid], [wdate], [원인2], [결과2], [refdata]) VALUES (@gcode, @pdate, @uid, @Site, @요청자, @수리완료일, @Status, @분류, @Line, @Division, @Team, @Process, @Equipment, @Model, @BoardName, @BoardVender, @원인, @결과, @SN, @QTY, @NPrice, @OPrice, @RepairCost, @CostReduction, @외주업체, @RepairTime, @memo, @import, @wuid, @wdate, @원인2, @결과2, @refdata);
SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Process, Equipment, Model, BoardName, BoardVender, 원인, 결과, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, memo, import, wuid, wdate, 원인2, 결과2, refdata FROM EETGW_JobReport_EBoard WHERE (idx = SCOPE_IDENTITY())";
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -2227,6 +2274,7 @@ SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류,
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@원인2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "원인2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@결과2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "결과2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@refdata", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "refdata", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.UpdateCommand.Connection = this.Connection;
this._adapter.UpdateCommand.CommandText = "UPDATE [EETGW_JobReport_EBoard] SET [gcode] = @gcode, [pdate] = @pdate, [uid] = @" +
@@ -2236,38 +2284,39 @@ SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류,
"ender] = @BoardVender, [원인] = @원인, [결과] = @결과, [SN] = @SN, [QTY] = @QTY, [NPrice" +
"] = @NPrice, [OPrice] = @OPrice, [RepairCost] = @RepairCost, [CostReduction] = @" +
"CostReduction, [외주업체] = @외주업체, [RepairTime] = @RepairTime, [memo] = @memo, [impo" +
"rt] = @import, [wuid] = @wuid, [wdate] = @wdate, [원인2] = @원인2, [결과2] = @결과2 WHER" +
"E (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate =" +
" 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AN" +
"D [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_Site = 1 AND [Site] I" +
"S NULL) OR ([Site] = @Original_Site)) AND ((@IsNull_요청자 = 1 AND [요청자] IS NULL) O" +
"R ([요청자] = @Original_요청자)) AND ((@IsNull_수리완료일 = 1 AND [수리완료일] IS NULL) OR ([수리완" +
"료일] = @Original_수리완료일)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Stat" +
"us] = @Original_Status)) AND ((@IsNull_분류 = 1 AND [분류] IS NULL) OR ([분류] = @Orig" +
"inal_분류)) AND ((@IsNull_Line = 1 AND [Line] IS NULL) OR ([Line] = @Original_Line" +
")) AND ((@IsNull_Division = 1 AND [Division] IS NULL) OR ([Division] = @Original" +
"_Division)) AND ((@IsNull_Team = 1 AND [Team] IS NULL) OR ([Team] = @Original_Te" +
"am)) AND ((@IsNull_Process = 1 AND [Process] IS NULL) OR ([Process] = @Original_" +
"Process)) AND ((@IsNull_Equipment = 1 AND [Equipment] IS NULL) OR ([Equipment] =" +
" @Original_Equipment)) AND ((@IsNull_Model = 1 AND [Model] IS NULL) OR ([Model] " +
"= @Original_Model)) AND ((@IsNull_BoardName = 1 AND [BoardName] IS NULL) OR ([Bo" +
"ardName] = @Original_BoardName)) AND ((@IsNull_BoardVender = 1 AND [BoardVender]" +
" IS NULL) OR ([BoardVender] = @Original_BoardVender)) AND ((@IsNull_SN = 1 AND [" +
"SN] IS NULL) OR ([SN] = @Original_SN)) AND ((@IsNull_QTY = 1 AND [QTY] IS NULL) " +
"OR ([QTY] = @Original_QTY)) AND ((@IsNull_NPrice = 1 AND [NPrice] IS NULL) OR ([" +
"NPrice] = @Original_NPrice)) AND ((@IsNull_OPrice = 1 AND [OPrice] IS NULL) OR (" +
"[OPrice] = @Original_OPrice)) AND ((@IsNull_RepairCost = 1 AND [RepairCost] IS N" +
"ULL) OR ([RepairCost] = @Original_RepairCost)) AND ((@IsNull_CostReduction = 1 A" +
"ND [CostReduction] IS NULL) OR ([CostReduction] = @Original_CostReduction)) AND " +
"((@IsNull_외주업체 = 1 AND [외주업체] IS NULL) OR ([외주업체] = @Original_외주업체)) AND ((@IsNu" +
"ll_RepairTime = 1 AND [RepairTime] IS NULL) OR ([RepairTime] = @Original_RepairT" +
"ime)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) A" +
"ND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import] = @Original_import)) " +
"AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wdate));\r\nSELECT idx, gco" +
"de, pdate, uid, Site, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Process, Equ" +
"ipment, Model, BoardName, BoardVender, 원인, 결과, SN, QTY, NPrice, OPrice, RepairCo" +
"st, CostReduction, 외주업체, RepairTime, memo, import, wuid, wdate, 원인2, 결과2 FROM EE" +
"TGW_JobReport_EBoard WHERE (idx = @idx)";
"rt] = @import, [wuid] = @wuid, [wdate] = @wdate, [원인2] = @원인2, [결과2] = @결과2, [re" +
"fdata] = @refdata WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode)" +
" AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AN" +
"D ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull" +
"_Site = 1 AND [Site] IS NULL) OR ([Site] = @Original_Site)) AND ((@IsNull_요청자 = " +
"1 AND [요청자] IS NULL) OR ([요청자] = @Original_요청자)) AND ((@IsNull_수리완료일 = 1 AND [수리" +
"완료일] IS NULL) OR ([수리완료일] = @Original_수리완료일)) AND ((@IsNull_Status = 1 AND [Stat" +
"us] IS NULL) OR ([Status] = @Original_Status)) AND ((@IsNull_분류 = 1 AND [분류] IS " +
"NULL) OR ([분류] = @Original_분류)) AND ((@IsNull_Line = 1 AND [Line] IS NULL) OR ([" +
"Line] = @Original_Line)) AND ((@IsNull_Division = 1 AND [Division] IS NULL) OR (" +
"[Division] = @Original_Division)) AND ((@IsNull_Team = 1 AND [Team] IS NULL) OR " +
"([Team] = @Original_Team)) AND ((@IsNull_Process = 1 AND [Process] IS NULL) OR (" +
"[Process] = @Original_Process)) AND ((@IsNull_Equipment = 1 AND [Equipment] IS N" +
"ULL) OR ([Equipment] = @Original_Equipment)) AND ((@IsNull_Model = 1 AND [Model]" +
" IS NULL) OR ([Model] = @Original_Model)) AND ((@IsNull_BoardName = 1 AND [Board" +
"Name] IS NULL) OR ([BoardName] = @Original_BoardName)) AND ((@IsNull_BoardVender" +
" = 1 AND [BoardVender] IS NULL) OR ([BoardVender] = @Original_BoardVender)) AND " +
"((@IsNull_SN = 1 AND [SN] IS NULL) OR ([SN] = @Original_SN)) AND ((@IsNull_QTY =" +
" 1 AND [QTY] IS NULL) OR ([QTY] = @Original_QTY)) AND ((@IsNull_NPrice = 1 AND [" +
"NPrice] IS NULL) OR ([NPrice] = @Original_NPrice)) AND ((@IsNull_OPrice = 1 AND " +
"[OPrice] IS NULL) OR ([OPrice] = @Original_OPrice)) AND ((@IsNull_RepairCost = 1" +
" AND [RepairCost] IS NULL) OR ([RepairCost] = @Original_RepairCost)) AND ((@IsNu" +
"ll_CostReduction = 1 AND [CostReduction] IS NULL) OR ([CostReduction] = @Origina" +
"l_CostReduction)) AND ((@IsNull_외주업체 = 1 AND [외주업체] IS NULL) OR ([외주업체] = @Origi" +
"nal_외주업체)) AND ((@IsNull_RepairTime = 1 AND [RepairTime] IS NULL) OR ([RepairTim" +
"e] = @Original_RepairTime)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo" +
"] = @Original_memo)) AND ((@IsNull_import = 1 AND [import] IS NULL) OR ([import]" +
" = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Original_wda" +
"te) AND ((@IsNull_refdata = 1 AND [refdata] IS NULL) OR ([refdata] = @Original_r" +
"efdata)));\r\nSELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류, Line, D" +
"ivision, Team, Process, Equipment, Model, BoardName, BoardVender, 원인, 결과, SN, QT" +
"Y, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, memo, import, wu" +
"id, wdate, 원인2, 결과2, refdata FROM EETGW_JobReport_EBoard WHERE (idx = @idx)";
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
@@ -2301,6 +2350,7 @@ SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류,
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@원인2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "원인2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@결과2", global::System.Data.SqlDbType.NVarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "결과2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@refdata", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "refdata", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_idx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_gcode", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
@@ -2355,6 +2405,8 @@ SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류,
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.SmallDateTime, 0, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_refdata", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "refdata", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_refdata", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "refdata", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -2372,7 +2424,7 @@ SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류,
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT idx, gcode, pdate, uid, Site, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Process, Equipment, Model, BoardName, BoardVender, 원인, 결과, SN, QTY, NPrice, OPrice,
RepairCost, CostReduction, 외주업체, RepairTime, memo, import, wuid, wdate, 원인2, 결과2
RepairCost, CostReduction, 외주업체, RepairTime, memo, import, wuid, wdate, 원인2, 결과2, refdata
FROM EETGW_JobReport_EBoard
WHERE (gcode = @gcode)";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
@@ -2477,7 +2529,8 @@ WHERE (gcode = @gcode)";
string Original_memo,
global::System.Nullable<bool> Original_import,
string Original_wuid,
System.DateTime Original_wdate) {
System.DateTime Original_wdate,
global::System.Nullable<bool> Original_refdata) {
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
if ((Original_gcode == null)) {
throw new global::System.ArgumentNullException("Original_gcode");
@@ -2692,6 +2745,14 @@ WHERE (gcode = @gcode)";
this.Adapter.DeleteCommand.Parameters[52].Value = ((string)(Original_wuid));
}
this.Adapter.DeleteCommand.Parameters[53].Value = ((System.DateTime)(Original_wdate));
if ((Original_refdata.HasValue == true)) {
this.Adapter.DeleteCommand.Parameters[54].Value = ((object)(0));
this.Adapter.DeleteCommand.Parameters[55].Value = ((bool)(Original_refdata.Value));
}
else {
this.Adapter.DeleteCommand.Parameters[54].Value = ((object)(1));
this.Adapter.DeleteCommand.Parameters[55].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.DeleteCommand.Connection.State;
if (((this.Adapter.DeleteCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -2744,7 +2805,8 @@ WHERE (gcode = @gcode)";
string wuid,
System.DateTime wdate,
string 2,
string 2) {
string 2,
global::System.Nullable<bool> refdata) {
if ((gcode == null)) {
throw new global::System.ArgumentNullException("gcode");
}
@@ -2932,6 +2994,12 @@ WHERE (gcode = @gcode)";
else {
this.Adapter.InsertCommand.Parameters[31].Value = ((string)(2));
}
if ((refdata.HasValue == true)) {
this.Adapter.InsertCommand.Parameters[32].Value = ((bool)(refdata.Value));
}
else {
this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value;
}
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -2985,6 +3053,7 @@ WHERE (gcode = @gcode)";
System.DateTime wdate,
string 2,
string 2,
global::System.Nullable<bool> refdata,
int Original_idx,
string Original_gcode,
string Original_pdate,
@@ -3014,6 +3083,7 @@ WHERE (gcode = @gcode)";
global::System.Nullable<bool> Original_import,
string Original_wuid,
System.DateTime Original_wdate,
global::System.Nullable<bool> Original_refdata,
int idx) {
if ((gcode == null)) {
throw new global::System.ArgumentNullException("gcode");
@@ -3202,221 +3272,235 @@ WHERE (gcode = @gcode)";
else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((string)(2));
}
this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_idx));
if ((refdata.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[32].Value = ((bool)(refdata.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_idx));
if ((Original_gcode == null)) {
throw new global::System.ArgumentNullException("Original_gcode");
}
else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_gcode));
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_gcode));
}
if ((Original_pdate == null)) {
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_pdate));
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_pdate));
}
if ((Original_uid == null)) {
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_uid));
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_uid));
}
if ((Original_Site == null)) {
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_Site));
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_Site));
}
if ((Original_요청자 == null)) {
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_요청자));
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_요청자));
}
if ((Original_수리완료일 == null)) {
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_수리완료일));
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_수리완료일));
}
if ((Original_Status == null)) {
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_Status));
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_Status));
}
if ((Original_분류 == null)) {
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_분류));
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_분류));
}
if ((Original_Line == null)) {
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_Line));
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_Line));
}
if ((Original_Division == null)) {
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_Division));
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_Division));
}
if ((Original_Team == null)) {
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_Team));
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_Team));
}
if ((Original_Process == null)) {
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(Original_Process));
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_Process));
}
if ((Original_Equipment == null)) {
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_Equipment));
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[58].Value = ((string)(Original_Equipment));
}
if ((Original_Model == null)) {
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(Original_Model));
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Original_Model));
}
if ((Original_BoardName == null)) {
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(Original_BoardName));
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Original_BoardName));
}
if ((Original_BoardVender == null)) {
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_BoardVender));
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_BoardVender));
}
if ((Original_SN == null)) {
this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[65].Value = ((string)(Original_SN));
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(Original_SN));
}
if ((Original_QTY.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[67].Value = ((int)(Original_QTY.Value));
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[68].Value = ((int)(Original_QTY.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
}
if ((Original_NPrice.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[69].Value = ((decimal)(Original_NPrice.Value));
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[70].Value = ((decimal)(Original_NPrice.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
}
if ((Original_OPrice.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[71].Value = ((decimal)(Original_OPrice.Value));
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[72].Value = ((decimal)(Original_OPrice.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value;
}
if ((Original_RepairCost.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[73].Value = ((decimal)(Original_RepairCost.Value));
this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[74].Value = ((decimal)(Original_RepairCost.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value;
}
if ((Original_CostReduction.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[75].Value = ((decimal)(Original_CostReduction.Value));
this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[76].Value = ((decimal)(Original_CostReduction.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value;
}
if ((Original_외주업체 == null)) {
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Original_외주업체));
this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Original_외주업체));
}
if ((Original_RepairTime.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[79].Value = ((double)(Original_RepairTime.Value));
this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[80].Value = ((double)(Original_RepairTime.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value;
}
if ((Original_memo == null)) {
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[82].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[81].Value = ((string)(Original_memo));
this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(Original_memo));
}
if ((Original_import.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[83].Value = ((bool)(Original_import.Value));
this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[84].Value = ((bool)(Original_import.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value;
this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[84].Value = global::System.DBNull.Value;
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
this.Adapter.UpdateCommand.Parameters[84].Value = ((string)(Original_wuid));
this.Adapter.UpdateCommand.Parameters[85].Value = ((string)(Original_wuid));
}
this.Adapter.UpdateCommand.Parameters[85].Value = ((System.DateTime)(Original_wdate));
this.Adapter.UpdateCommand.Parameters[86].Value = ((int)(idx));
this.Adapter.UpdateCommand.Parameters[86].Value = ((System.DateTime)(Original_wdate));
if ((Original_refdata.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[88].Value = ((bool)(Original_refdata.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[88].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[89].Value = ((int)(idx));
global::System.Data.ConnectionState previousConnectionState = this.Adapter.UpdateCommand.Connection.State;
if (((this.Adapter.UpdateCommand.Connection.State & global::System.Data.ConnectionState.Open)
!= global::System.Data.ConnectionState.Open)) {
@@ -3470,6 +3554,7 @@ WHERE (gcode = @gcode)";
System.DateTime wdate,
string 2,
string 2,
global::System.Nullable<bool> refdata,
int Original_idx,
string Original_gcode,
string Original_pdate,
@@ -3498,8 +3583,9 @@ WHERE (gcode = @gcode)";
string Original_memo,
global::System.Nullable<bool> Original_import,
string Original_wuid,
System.DateTime Original_wdate) {
return this.Update(gcode, pdate, uid, Site, , , Status, , Line, Division, Team, Process, Equipment, Model, BoardName, BoardVender, , , SN, QTY, NPrice, OPrice, RepairCost, CostReduction, , RepairTime, memo, import, wuid, wdate, 2, 2, Original_idx, Original_gcode, Original_pdate, Original_uid, Original_Site, Original_요청자, Original_수리완료일, Original_Status, Original_분류, Original_Line, Original_Division, Original_Team, Original_Process, Original_Equipment, Original_Model, Original_BoardName, Original_BoardVender, Original_SN, Original_QTY, Original_NPrice, Original_OPrice, Original_RepairCost, Original_CostReduction, Original_외주업체, Original_RepairTime, Original_memo, Original_import, Original_wuid, Original_wdate, Original_idx);
System.DateTime Original_wdate,
global::System.Nullable<bool> Original_refdata) {
return this.Update(gcode, pdate, uid, Site, , , Status, , Line, Division, Team, Process, Equipment, Model, BoardName, BoardVender, , , SN, QTY, NPrice, OPrice, RepairCost, CostReduction, , RepairTime, memo, import, wuid, wdate, 2, 2, refdata, Original_idx, Original_gcode, Original_pdate, Original_uid, Original_Site, Original_요청자, Original_수리완료일, Original_Status, Original_분류, Original_Line, Original_Division, Original_Team, Original_Process, Original_Equipment, Original_Model, Original_BoardName, Original_BoardVender, Original_SN, Original_QTY, Original_NPrice, Original_OPrice, Original_RepairCost, Original_CostReduction, Original_외주업체, Original_RepairTime, Original_memo, Original_import, Original_wuid, Original_wdate, Original_refdata, Original_idx);
}
}