구매 0 달러단가 넣기 전 백업
This commit is contained in:
429
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
429
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
@@ -3573,6 +3573,8 @@ namespace FPJ0000 {
|
||||
|
||||
private global::System.Data.DataColumn columntag;
|
||||
|
||||
private global::System.Data.DataColumn columnsvalue;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public JobReportDataTable() {
|
||||
@@ -3790,6 +3792,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 svalueColumn {
|
||||
get {
|
||||
return this.columnsvalue;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -3849,7 +3859,8 @@ namespace FPJ0000 {
|
||||
string process,
|
||||
string gcode,
|
||||
string description2,
|
||||
string tag) {
|
||||
string tag,
|
||||
string svalue) {
|
||||
JobReportRow rowJobReportRow = ((JobReportRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -3874,7 +3885,8 @@ namespace FPJ0000 {
|
||||
process,
|
||||
gcode,
|
||||
description2,
|
||||
tag};
|
||||
tag,
|
||||
svalue};
|
||||
rowJobReportRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowJobReportRow);
|
||||
return rowJobReportRow;
|
||||
@@ -3927,6 +3939,7 @@ namespace FPJ0000 {
|
||||
this.columngcode = base.Columns["gcode"];
|
||||
this.columndescription2 = base.Columns["description2"];
|
||||
this.columntag = base.Columns["tag"];
|
||||
this.columnsvalue = base.Columns["svalue"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -3978,6 +3991,8 @@ namespace FPJ0000 {
|
||||
base.Columns.Add(this.columndescription2);
|
||||
this.columntag = new global::System.Data.DataColumn("tag", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columntag);
|
||||
this.columnsvalue = new global::System.Data.DataColumn("svalue", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnsvalue);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidx}, true));
|
||||
this.columnidx.AutoIncrement = true;
|
||||
@@ -4007,6 +4022,8 @@ namespace FPJ0000 {
|
||||
this.columngcode.MaxLength = 10;
|
||||
this.columndescription2.MaxLength = 2147483647;
|
||||
this.columntag.MaxLength = 255;
|
||||
this.columnsvalue.ReadOnly = true;
|
||||
this.columnsvalue.MaxLength = 255;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -8147,6 +8164,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() {
|
||||
@@ -8452,6 +8471,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)]
|
||||
@@ -8522,7 +8549,8 @@ namespace FPJ0000 {
|
||||
string memo,
|
||||
string BoardVender,
|
||||
string 원인2,
|
||||
string 결과2) {
|
||||
string 결과2,
|
||||
bool refdata) {
|
||||
EETGW_JobReport_EBoardRow rowEETGW_JobReport_EBoardRow = ((EETGW_JobReport_EBoardRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -8558,7 +8586,8 @@ namespace FPJ0000 {
|
||||
memo,
|
||||
BoardVender,
|
||||
원인2,
|
||||
결과2};
|
||||
결과2,
|
||||
refdata};
|
||||
rowEETGW_JobReport_EBoardRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowEETGW_JobReport_EBoardRow);
|
||||
return rowEETGW_JobReport_EBoardRow;
|
||||
@@ -8622,6 +8651,7 @@ namespace FPJ0000 {
|
||||
this.columnBoardVender = base.Columns["BoardVender"];
|
||||
this.column원인2 = base.Columns["원인2"];
|
||||
this.column결과2 = base.Columns["결과2"];
|
||||
this.columnrefdata = base.Columns["refdata"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -8695,6 +8725,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;
|
||||
@@ -13723,6 +13755,22 @@ namespace FPJ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public string svalue {
|
||||
get {
|
||||
try {
|
||||
return ((string)(this[this.tableJobReport.svalueColumn]));
|
||||
}
|
||||
catch (global::System.InvalidCastException e) {
|
||||
throw new global::System.Data.StrongTypingException("\'JobReport\' 테이블의 \'svalue\' 열의 값이 DBNull입니다.", e);
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableJobReport.svalueColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool IspdateNull() {
|
||||
@@ -13950,6 +13998,18 @@ namespace FPJ0000 {
|
||||
public void SettagNull() {
|
||||
this[this.tableJobReport.tagColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool IssvalueNull() {
|
||||
return this.IsNull(this.tableJobReport.svalueColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public void SetsvalueNull() {
|
||||
this[this.tableJobReport.svalueColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -17978,6 +18038,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() {
|
||||
@@ -18337,6 +18413,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>
|
||||
@@ -24588,6 +24676,7 @@ ORDER BY Project, no, ItemGroup, option1, ItemName";
|
||||
tableMapping.ColumnMappings.Add("gcode", "gcode");
|
||||
tableMapping.ColumnMappings.Add("description2", "description2");
|
||||
tableMapping.ColumnMappings.Add("tag", "tag");
|
||||
tableMapping.ColumnMappings.Add("svalue", "svalue");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
@@ -24692,7 +24781,7 @@ SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, r
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = @"SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww,
|
||||
process, gcode, description2, tag
|
||||
process, gcode, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue
|
||||
FROM JobReport
|
||||
WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) AND (gcode = @gcode)
|
||||
ORDER BY pdate DESC";
|
||||
@@ -24713,9 +24802,9 @@ ORDER BY pdate DESC";
|
||||
this._commandCollection[2] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[2].Connection = this.Connection;
|
||||
this._commandCollection[2].CommandText = @"SELECT idx, pidx, pdate, uid, requestpart, package, status, type, description, remark, hrs, import, wuid, wdate, dbo.getUserName(uid) AS username, projectName, ot, dbo.getWorkWeek(pdate) AS ww,
|
||||
process, gcode, description2, tag
|
||||
process, gcode, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue
|
||||
FROM JobReport
|
||||
WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) AND (gcode = @gcode) and isnull(tag,'') <> ''
|
||||
WHERE (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid) AND (gcode = @gcode) AND (ISNULL(tag, '') <> '')
|
||||
ORDER BY pdate DESC";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
|
||||
this._commandCollection[2].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sd", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -24725,7 +24814,7 @@ ORDER BY pdate DESC";
|
||||
this._commandCollection[3] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[3].Connection = this.Connection;
|
||||
this._commandCollection[3].CommandText = @"SELECT description, hrs, idx, import, ot, package, pdate, pidx, process, projectName, remark, requestpart, status, type, uid, dbo.getUserName(uid) AS username, wdate, wuid, dbo.getWorkWeek(pdate)
|
||||
AS ww, gcode, description2, tag
|
||||
AS ww, gcode, description2, tag, dbo.getCodeSValue(gcode, '15', type) AS svalue
|
||||
FROM JobReport
|
||||
WHERE (pdate BETWEEN @sd AND @ed) AND (ISNULL(dbo.getProjectName(pidx), '') LIKE @prjname) AND (gcode = @gcode)
|
||||
ORDER BY pdate DESC";
|
||||
@@ -31228,6 +31317,7 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so
|
||||
tableMapping.ColumnMappings.Add("BoardVender", "BoardVender");
|
||||
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;
|
||||
@@ -31257,7 +31347,8 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so
|
||||
"ull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ((@IsNull_Pro" +
|
||||
"cess = 1 AND [Process] IS NULL) OR ([Process] = @Original_Process)) AND ((@IsNul" +
|
||||
"l_BoardVender = 1 AND [BoardVender] IS NULL) OR ([BoardVender] = @Original_Board" +
|
||||
"Vender)))";
|
||||
"Vender)) AND ((@IsNull_refdata = 1 AND [refdata] IS NULL) OR ([refdata] = @Origi" +
|
||||
"nal_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, "", "", ""));
|
||||
@@ -31311,10 +31402,12 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_BoardVender", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardVender", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BoardVender", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardVender", 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], [요청자], [수리완료일], [Status], [분류], [Line], [Division], [Team], [Model], [BoardName], [SN], [QTY], [NPrice], [OPrice], [RepairCost], [CostReduction], [외주업체], [RepairTime], [import], [wuid], [wdate], [Site], [원인], [결과], [memo], [Process], [BoardVender], [원인2], [결과2]) VALUES (@gcode, @pdate, @uid, @요청자, @수리완료일, @Status, @분류, @Line, @Division, @Team, @Model, @BoardName, @SN, @QTY, @NPrice, @OPrice, @RepairCost, @CostReduction, @외주업체, @RepairTime, @import, @wuid, @wdate, @Site, @원인, @결과, @memo, @Process, @BoardVender, @원인2, @결과2);
|
||||
SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Model, BoardName, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, import, wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, Site, 원인, 결과, memo, Process, BoardVender, 원인2, 결과2 FROM EETGW_JobReport_EBoard WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC";
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_JobReport_EBoard] ([gcode], [pdate], [uid], [요청자], [수리완료일], [Status], [분류], [Line], [Division], [Team], [Model], [BoardName], [SN], [QTY], [NPrice], [OPrice], [RepairCost], [CostReduction], [외주업체], [RepairTime], [import], [wuid], [wdate], [Site], [원인], [결과], [memo], [Process], [BoardVender], [원인2], [결과2], [refdata]) VALUES (@gcode, @pdate, @uid, @요청자, @수리완료일, @Status, @분류, @Line, @Division, @Team, @Model, @BoardName, @SN, @QTY, @NPrice, @OPrice, @RepairCost, @CostReduction, @외주업체, @RepairTime, @import, @wuid, @wdate, @Site, @원인, @결과, @memo, @Process, @BoardVender, @원인2, @결과2, @refdata);
|
||||
SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Model, BoardName, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, import, wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, Site, 원인, 결과, memo, Process, BoardVender, 원인2, 결과2, refdata FROM EETGW_JobReport_EBoard WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate DESC";
|
||||
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, "", "", ""));
|
||||
@@ -31347,6 +31440,7 @@ SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line,
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BoardVender", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardVender", 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] = @" +
|
||||
@@ -31356,37 +31450,39 @@ SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line,
|
||||
"irCost] = @RepairCost, [CostReduction] = @CostReduction, [외주업체] = @외주업체, [Repair" +
|
||||
"Time] = @RepairTime, [import] = @import, [wuid] = @wuid, [wdate] = @wdate, [Site" +
|
||||
"] = @Site, [원인] = @원인, [결과] = @결과, [memo] = @memo, [Process] = @Process, [BoardV" +
|
||||
"ender] = @BoardVender, [원인2] = @원인2, [결과2] = @결과2 WHERE (([idx] = @Original_idx)" +
|
||||
" AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR" +
|
||||
" ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [uid] IS NULL) OR ([uid]" +
|
||||
" = @Original_uid)) AND ((@IsNull_요청자 = 1 AND [요청자] IS NULL) OR ([요청자] = @Origina" +
|
||||
"l_요청자)) AND ((@IsNull_수리완료일 = 1 AND [수리완료일] IS NULL) OR ([수리완료일] = @Original_수리완" +
|
||||
"료일)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Status] = @Original_Sta" +
|
||||
"tus)) AND ((@IsNull_분류 = 1 AND [분류] IS NULL) OR ([분류] = @Original_분류)) AND ((@Is" +
|
||||
"Null_Line = 1 AND [Line] IS NULL) OR ([Line] = @Original_Line)) AND ((@IsNull_Di" +
|
||||
"vision = 1 AND [Division] IS NULL) OR ([Division] = @Original_Division)) AND ((@" +
|
||||
"IsNull_Team = 1 AND [Team] IS NULL) OR ([Team] = @Original_Team)) AND ((@IsNull_" +
|
||||
"Model = 1 AND [Model] IS NULL) OR ([Model] = @Original_Model)) AND ((@IsNull_Boa" +
|
||||
"rdName = 1 AND [BoardName] IS NULL) OR ([BoardName] = @Original_BoardName)) 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_import = 1 AND [import] IS NULL) OR ([" +
|
||||
"import] = @Original_import)) AND ([wuid] = @Original_wuid) AND ([wdate] = @Origi" +
|
||||
"nal_wdate) AND ((@IsNull_Site = 1 AND [Site] IS NULL) OR ([Site] = @Original_Sit" +
|
||||
"e)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND" +
|
||||
" ((@IsNull_Process = 1 AND [Process] IS NULL) OR ([Process] = @Original_Process)" +
|
||||
") AND ((@IsNull_BoardVender = 1 AND [BoardVender] IS NULL) OR ([BoardVender] = @" +
|
||||
"Original_BoardVender)));\r\nSELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류," +
|
||||
" Line, Division, Team, Model, BoardName, SN, QTY, NPrice, OPrice, RepairCost, Co" +
|
||||
"stReduction, 외주업체, RepairTime, import, wuid, wdate, dbo.getUserName(uid) AS user" +
|
||||
"name, dbo.getWorkWeek(pdate) AS ww, Site, 원인, 결과, memo, Process, BoardVender, 원인" +
|
||||
"2, 결과2 FROM EETGW_JobReport_EBoard WHERE (idx = @idx) ORDER BY pdate DESC";
|
||||
"ender] = @BoardVender, [원인2] = @원인2, [결과2] = @결과2, [refdata] = @refdata WHERE ((" +
|
||||
"[idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_pdate = 1 A" +
|
||||
"ND [pdate] IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_uid = 1 AND [u" +
|
||||
"id] IS NULL) OR ([uid] = @Original_uid)) AND ((@IsNull_요청자 = 1 AND [요청자] IS NULL" +
|
||||
") OR ([요청자] = @Original_요청자)) AND ((@IsNull_수리완료일 = 1 AND [수리완료일] IS NULL) OR ([" +
|
||||
"수리완료일] = @Original_수리완료일)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([S" +
|
||||
"tatus] = @Original_Status)) AND ((@IsNull_분류 = 1 AND [분류] IS NULL) OR ([분류] = @O" +
|
||||
"riginal_분류)) AND ((@IsNull_Line = 1 AND [Line] IS NULL) OR ([Line] = @Original_L" +
|
||||
"ine)) AND ((@IsNull_Division = 1 AND [Division] IS NULL) OR ([Division] = @Origi" +
|
||||
"nal_Division)) AND ((@IsNull_Team = 1 AND [Team] IS NULL) OR ([Team] = @Original" +
|
||||
"_Team)) AND ((@IsNull_Model = 1 AND [Model] IS NULL) OR ([Model] = @Original_Mod" +
|
||||
"el)) AND ((@IsNull_BoardName = 1 AND [BoardName] IS NULL) OR ([BoardName] = @Ori" +
|
||||
"ginal_BoardName)) 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 ((@I" +
|
||||
"sNull_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_Re" +
|
||||
"pairCost)) AND ((@IsNull_CostReduction = 1 AND [CostReduction] IS NULL) OR ([Cos" +
|
||||
"tReduction] = @Original_CostReduction)) AND ((@IsNull_외주업체 = 1 AND [외주업체] IS NUL" +
|
||||
"L) OR ([외주업체] = @Original_외주업체)) AND ((@IsNull_RepairTime = 1 AND [RepairTime] I" +
|
||||
"S NULL) OR ([RepairTime] = @Original_RepairTime)) AND ((@IsNull_import = 1 AND [" +
|
||||
"import] IS NULL) OR ([import] = @Original_import)) AND ([wuid] = @Original_wuid)" +
|
||||
" AND ([wdate] = @Original_wdate) AND ((@IsNull_Site = 1 AND [Site] IS NULL) OR (" +
|
||||
"[Site] = @Original_Site)) AND ((@IsNull_memo = 1 AND [memo] IS NULL) OR ([memo] " +
|
||||
"= @Original_memo)) AND ((@IsNull_Process = 1 AND [Process] IS NULL) OR ([Process" +
|
||||
"] = @Original_Process)) AND ((@IsNull_BoardVender = 1 AND [BoardVender] IS NULL)" +
|
||||
" OR ([BoardVender] = @Original_BoardVender)) AND ((@IsNull_refdata = 1 AND [refd" +
|
||||
"ata] IS NULL) OR ([refdata] = @Original_refdata)));\r\nSELECT idx, gcode, pdate, u" +
|
||||
"id, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Model, BoardName, SN, QTY, NPr" +
|
||||
"ice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, import, wuid, wdate, d" +
|
||||
"bo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, Site, 원인, 결과, mem" +
|
||||
"o, Process, BoardVender, 원인2, 결과2, refdata FROM EETGW_JobReport_EBoard WHERE (id" +
|
||||
"x = @idx) ORDER BY pdate DESC";
|
||||
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, "", "", ""));
|
||||
@@ -31419,6 +31515,7 @@ SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line,
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@BoardVender", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardVender", 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, "", "", ""));
|
||||
@@ -31471,6 +31568,8 @@ SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line,
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_Process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_BoardVender", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardVender", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_BoardVender", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "BoardVender", 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, "", "", ""));
|
||||
}
|
||||
|
||||
@@ -31488,7 +31587,7 @@ SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line,
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = @"SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Model, BoardName, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, import,
|
||||
wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, Site, 원인, 결과, memo, Process, BoardVender, 원인2, 결과2
|
||||
wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, Site, 원인, 결과, memo, Process, BoardVender, 원인2, 결과2, refdata
|
||||
FROM EETGW_JobReport_EBoard
|
||||
WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid)
|
||||
ORDER BY pdate DESC";
|
||||
@@ -31641,7 +31740,8 @@ ORDER BY pdate DESC";
|
||||
string Original_Site,
|
||||
string Original_memo,
|
||||
string Original_Process,
|
||||
string Original_BoardVender) {
|
||||
string Original_BoardVender,
|
||||
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");
|
||||
@@ -31848,6 +31948,14 @@ ORDER BY pdate DESC";
|
||||
this.Adapter.DeleteCommand.Parameters[50].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[51].Value = ((string)(Original_BoardVender));
|
||||
}
|
||||
if ((Original_refdata.HasValue == true)) {
|
||||
this.Adapter.DeleteCommand.Parameters[52].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[53].Value = ((bool)(Original_refdata.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[52].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[53].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)) {
|
||||
@@ -31899,7 +32007,8 @@ ORDER BY pdate DESC";
|
||||
string Process,
|
||||
string BoardVender,
|
||||
string 원인2,
|
||||
string 결과2) {
|
||||
string 결과2,
|
||||
global::System.Nullable<bool> refdata) {
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
}
|
||||
@@ -32081,6 +32190,12 @@ ORDER BY pdate DESC";
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[30].Value = ((string)(결과2));
|
||||
}
|
||||
if ((refdata.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[31].Value = ((bool)(refdata.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[31].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)) {
|
||||
@@ -32133,6 +32248,7 @@ ORDER BY pdate DESC";
|
||||
string BoardVender,
|
||||
string 원인2,
|
||||
string 결과2,
|
||||
global::System.Nullable<bool> refdata,
|
||||
int Original_idx,
|
||||
string Original_gcode,
|
||||
string Original_pdate,
|
||||
@@ -32161,6 +32277,7 @@ ORDER BY pdate DESC";
|
||||
string Original_memo,
|
||||
string Original_Process,
|
||||
string Original_BoardVender,
|
||||
global::System.Nullable<bool> Original_refdata,
|
||||
int idx) {
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
@@ -32343,213 +32460,227 @@ ORDER BY pdate DESC";
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(결과2));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_idx));
|
||||
if ((refdata.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((bool)(refdata.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_idx));
|
||||
if ((Original_gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_gcode");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_gcode));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_gcode));
|
||||
}
|
||||
if ((Original_pdate == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_pdate));
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_pdate));
|
||||
}
|
||||
if ((Original_uid == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_uid));
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_uid));
|
||||
}
|
||||
if ((Original_요청자 == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_요청자));
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_요청자));
|
||||
}
|
||||
if ((Original_수리완료일 == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_수리완료일));
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_수리완료일));
|
||||
}
|
||||
if ((Original_Status == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_Status));
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_Status));
|
||||
}
|
||||
if ((Original_분류 == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_분류));
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_분류));
|
||||
}
|
||||
if ((Original_Line == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_Line));
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_Line));
|
||||
}
|
||||
if ((Original_Division == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_Division));
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_Division));
|
||||
}
|
||||
if ((Original_Team == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_Team));
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_Team));
|
||||
}
|
||||
if ((Original_Model == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_Model));
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = ((string)(Original_Model));
|
||||
}
|
||||
if ((Original_BoardName == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_BoardName));
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = ((string)(Original_BoardName));
|
||||
}
|
||||
if ((Original_SN == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_SN));
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_SN));
|
||||
}
|
||||
if ((Original_QTY.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_QTY.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(Original_QTY.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_NPrice.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = ((decimal)(Original_NPrice.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = ((decimal)(Original_NPrice.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_OPrice.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = ((decimal)(Original_OPrice.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = ((decimal)(Original_OPrice.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_RepairCost.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[64].Value = ((decimal)(Original_RepairCost.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[65].Value = ((decimal)(Original_RepairCost.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_CostReduction.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = ((decimal)(Original_CostReduction.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = ((decimal)(Original_CostReduction.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_외주업체 == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Original_외주업체));
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(Original_외주업체));
|
||||
}
|
||||
if ((Original_RepairTime.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = ((double)(Original_RepairTime.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = ((double)(Original_RepairTime.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_import.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[72].Value = ((bool)(Original_import.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[73].Value = ((bool)(Original_import.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_wuid == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_wuid");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(Original_wuid));
|
||||
this.Adapter.UpdateCommand.Parameters[74].Value = ((string)(Original_wuid));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[74].Value = ((System.DateTime)(Original_wdate));
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = ((System.DateTime)(Original_wdate));
|
||||
if ((Original_Site == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_Site));
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Original_Site));
|
||||
}
|
||||
if ((Original_memo == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Original_memo));
|
||||
this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(Original_memo));
|
||||
}
|
||||
if ((Original_Process == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(Original_Process));
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = ((string)(Original_Process));
|
||||
}
|
||||
if ((Original_BoardVender == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[82].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(Original_BoardVender));
|
||||
this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[83].Value = ((string)(Original_BoardVender));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[83].Value = ((int)(idx));
|
||||
if ((Original_refdata.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[85].Value = ((bool)(Original_refdata.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[86].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)) {
|
||||
@@ -32602,6 +32733,7 @@ ORDER BY pdate DESC";
|
||||
string BoardVender,
|
||||
string 원인2,
|
||||
string 결과2,
|
||||
global::System.Nullable<bool> refdata,
|
||||
int Original_idx,
|
||||
string Original_gcode,
|
||||
string Original_pdate,
|
||||
@@ -32629,8 +32761,9 @@ ORDER BY pdate DESC";
|
||||
string Original_Site,
|
||||
string Original_memo,
|
||||
string Original_Process,
|
||||
string Original_BoardVender) {
|
||||
return this.Update(gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Model, BoardName, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, import, wuid, wdate, Site, 원인, 결과, memo, Process, BoardVender, 원인2, 결과2, Original_idx, Original_gcode, Original_pdate, Original_uid, Original_요청자, Original_수리완료일, Original_Status, Original_분류, Original_Line, Original_Division, Original_Team, Original_Model, Original_BoardName, Original_SN, Original_QTY, Original_NPrice, Original_OPrice, Original_RepairCost, Original_CostReduction, Original_외주업체, Original_RepairTime, Original_import, Original_wuid, Original_wdate, Original_Site, Original_memo, Original_Process, Original_BoardVender, Original_idx);
|
||||
string Original_BoardVender,
|
||||
global::System.Nullable<bool> Original_refdata) {
|
||||
return this.Update(gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Model, BoardName, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTime, import, wuid, wdate, Site, 원인, 결과, memo, Process, BoardVender, 원인2, 결과2, refdata, Original_idx, Original_gcode, Original_pdate, Original_uid, Original_요청자, Original_수리완료일, Original_Status, Original_분류, Original_Line, Original_Division, Original_Team, Original_Model, Original_BoardName, Original_SN, Original_QTY, Original_NPrice, Original_OPrice, Original_RepairCost, Original_CostReduction, Original_외주업체, Original_RepairTime, Original_import, Original_wuid, Original_wdate, Original_Site, Original_memo, Original_Process, Original_BoardVender, Original_refdata, Original_idx);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
|
||||
Reference in New Issue
Block a user