전자실 report 초안 완료

This commit is contained in:
chi
2021-01-29 21:52:17 +09:00
parent 31d58df5fc
commit 0da91d90a9
16 changed files with 879 additions and 482 deletions

View File

@@ -8280,6 +8280,10 @@ namespace FPJ0000 {
private global::System.Data.DataColumn columnBoardVender;
private global::System.Data.DataColumn column원인2;
private global::System.Data.DataColumn column결과2;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public EETGW_JobReport_EBoardDataTable() {
@@ -8569,6 +8573,22 @@ namespace FPJ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn 2Column {
get {
return this.column원인2;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public global::System.Data.DataColumn 2Column {
get {
return this.column결과2;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Browsable(false)]
@@ -8637,7 +8657,9 @@ namespace FPJ0000 {
string ,
string ,
string memo,
string BoardVender) {
string BoardVender,
string 2,
string 2) {
EETGW_JobReport_EBoardRow rowEETGW_JobReport_EBoardRow = ((EETGW_JobReport_EBoardRow)(this.NewRow()));
object[] columnValuesArray = new object[] {
null,
@@ -8671,7 +8693,9 @@ namespace FPJ0000 {
,
,
memo,
BoardVender};
BoardVender,
2,
2};
rowEETGW_JobReport_EBoardRow.ItemArray = columnValuesArray;
this.Rows.Add(rowEETGW_JobReport_EBoardRow);
return rowEETGW_JobReport_EBoardRow;
@@ -8733,6 +8757,8 @@ namespace FPJ0000 {
this.column결과 = base.Columns["결과"];
this.columnmemo = base.Columns["memo"];
this.columnBoardVender = base.Columns["BoardVender"];
this.column원인2 = base.Columns["원인2"];
this.column결과2 = base.Columns["결과2"];
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -8802,6 +8828,10 @@ namespace FPJ0000 {
base.Columns.Add(this.columnmemo);
this.columnBoardVender = new global::System.Data.DataColumn("BoardVender", typeof(string), null, global::System.Data.MappingType.Element);
base.Columns.Add(this.columnBoardVender);
this.column원인2 = new global::System.Data.DataColumn("원인2", typeof(string), null, global::System.Data.MappingType.Element);
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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
this.columnidx}, true));
this.columnidx.AutoIncrement = true;
@@ -8838,6 +8868,8 @@ namespace FPJ0000 {
this.column결과.MaxLength = 2147483647;
this.columnmemo.MaxLength = 255;
this.columnBoardVender.MaxLength = 100;
this.column원인2.MaxLength = 2147483647;
this.column결과2.MaxLength = 2147483647;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
@@ -17084,6 +17116,38 @@ namespace FPJ0000 {
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string 2 {
get {
if (this.Is원인2Null()) {
return string.Empty;
}
else {
return ((string)(this[this.tableEETGW_JobReport_EBoard.2Column]));
}
}
set {
this[this.tableEETGW_JobReport_EBoard.2Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string 2 {
get {
if (this.Is결과2Null()) {
return string.Empty;
}
else {
return ((string)(this[this.tableEETGW_JobReport_EBoard.2Column]));
}
}
set {
this[this.tableEETGW_JobReport_EBoard.2Column] = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IspdateNull() {
@@ -17419,6 +17483,30 @@ namespace FPJ0000 {
public void SetBoardVenderNull() {
this[this.tableEETGW_JobReport_EBoard.BoardVenderColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool Is원인2Null() {
return this.IsNull(this.tableEETGW_JobReport_EBoard.2Column);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
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 Is결과2Null() {
return this.IsNull(this.tableEETGW_JobReport_EBoard.2Column);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void Set결과2Null() {
this[this.tableEETGW_JobReport_EBoard.2Column] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -30751,6 +30839,8 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so
tableMapping.ColumnMappings.Add("결과", "결과");
tableMapping.ColumnMappings.Add("memo", "memo");
tableMapping.ColumnMappings.Add("BoardVender", "BoardVender");
tableMapping.ColumnMappings.Add("원인2", "원인2");
tableMapping.ColumnMappings.Add("결과2", "결과2");
this._adapter.TableMappings.Add(tableMapping);
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
this._adapter.DeleteCommand.Connection = this.Connection;
@@ -30836,8 +30926,8 @@ SELECT idx, pidx, title, pdate, edate, process, remark, remark2, wuid, wdate, so
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.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]) VALUES (@gcode, @pdate, @uid, @요청자, @수리완료일, @Status, @분류, @Line, @Division, @Team, @Model, @BoardName, @SN, @QTY, @NPrice, @OPrice, @RepairCost, @CostReduction, @외주업체, @RepairTime, @import, @wuid, @wdate, @Site, @원인, @결과, @memo, @Process, @BoardVender);
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 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]) 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.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, "", "", ""));
@@ -30868,6 +30958,8 @@ SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line,
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
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.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] = @" +
@@ -30877,37 +30969,37 @@ 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 WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gc" +
"ode) 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 ((@Is" +
"Null_요청자 = 1 AND [요청자] IS NULL) OR ([요청자] = @Original_요청자)) AND ((@IsNull_수리완료일 " +
"= 1 AND [수리완료일] IS NULL) OR ([수리완료일] = @Original_수리완료일)) AND ((@IsNull_Status = " +
"1 AND [Status] IS NULL) OR ([Status] = @Original_Status)) AND ((@IsNull_분류 = 1 A" +
"ND [분류] 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] I" +
"S NULL) OR ([Team] = @Original_Team)) AND ((@IsNull_Model = 1 AND [Model] IS NUL" +
"L) OR ([Model] = @Original_Model)) AND ((@IsNull_BoardName = 1 AND [BoardName] I" +
"S 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 ([Q" +
"TY] = @Original_QTY)) AND ((@IsNull_NPrice = 1 AND [NPrice] IS NULL) OR ([NPrice" +
"] = @Original_NPrice)) AND ((@IsNull_OPrice = 1 AND [OPrice] IS NULL) OR ([OPric" +
"e] = @Original_OPrice)) AND ((@IsNull_RepairCost = 1 AND [RepairCost] IS NULL) O" +
"R ([RepairCost] = @Original_RepairCost)) AND ((@IsNull_CostReduction = 1 AND [Co" +
"stReduction] IS NULL) OR ([CostReduction] = @Original_CostReduction)) AND ((@IsN" +
"ull_외주업체 = 1 AND [외주업체] IS NULL) OR ([외주업체] = @Original_외주업체)) AND ((@IsNull_Rep" +
"airTime = 1 AND [RepairTime] IS 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_Sit" +
"e = 1 AND [Site] IS NULL) OR ([Site] = @Original_Site)) AND ((@IsNull_memo = 1 A" +
"ND [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\nSE" +
"LECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line, Division, Team, Model" +
", BoardName, SN, QTY, NPrice, OPrice, RepairCost, CostReduction, 외주업체, RepairTim" +
"e, import, wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate)" +
" AS ww, Site, 원인, 결과, memo, Process, BoardVender FROM EETGW_JobReport_EBoard WHE" +
"RE (idx = @idx) ORDER BY pdate DESC";
"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";
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, "", "", ""));
@@ -30938,6 +31030,8 @@ SELECT idx, gcode, pdate, uid, 요청자, 수리완료일, Status, 분류, Line,
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@memo", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Process", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "Process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
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("@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, "", "", ""));
@@ -31007,7 +31101,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
wuid, wdate, dbo.getUserName(uid) AS username, dbo.getWorkWeek(pdate) AS ww, Site, , , memo, Process, BoardVender, 2, 2
FROM EETGW_JobReport_EBoard
WHERE (gcode = @gcode) AND (pdate BETWEEN @sd AND @ed) AND (uid LIKE @uid)
ORDER BY pdate DESC";
@@ -31416,7 +31510,9 @@ ORDER BY pdate DESC";
string ,
string memo,
string Process,
string BoardVender) {
string BoardVender,
string 2,
string 2) {
if ((gcode == null)) {
throw new global::System.ArgumentNullException("gcode");
}
@@ -31586,6 +31682,18 @@ ORDER BY pdate DESC";
else {
this.Adapter.InsertCommand.Parameters[28].Value = ((string)(BoardVender));
}
if ((2 == null)) {
this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[29].Value = ((string)(2));
}
if ((2 == null)) {
this.Adapter.InsertCommand.Parameters[30].Value = global::System.DBNull.Value;
}
else {
this.Adapter.InsertCommand.Parameters[30].Value = ((string)(2));
}
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)) {
@@ -31636,6 +31744,8 @@ ORDER BY pdate DESC";
string memo,
string Process,
string BoardVender,
string 2,
string 2,
int Original_idx,
string Original_gcode,
string Original_pdate,
@@ -31834,213 +31944,225 @@ ORDER BY pdate DESC";
else {
this.Adapter.UpdateCommand.Parameters[28].Value = ((string)(BoardVender));
}
this.Adapter.UpdateCommand.Parameters[29].Value = ((int)(Original_idx));
if ((2 == null)) {
this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[29].Value = ((string)(2));
}
if ((2 == null)) {
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(2));
}
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_idx));
if ((Original_gcode == null)) {
throw new global::System.ArgumentNullException("Original_gcode");
}
else {
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(Original_gcode));
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_gcode));
}
if ((Original_pdate == null)) {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[31].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[32].Value = ((string)(Original_pdate));
}
if ((Original_uid == null)) {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[34].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[33].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_uid));
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_pdate));
}
if ((Original_요청자 == null)) {
if ((Original_uid == null)) {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_요청자));
this.Adapter.UpdateCommand.Parameters[36].Value = ((string)(Original_uid));
}
if ((Original_수리완료일 == null)) {
if ((Original_요청자 == null)) {
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[38].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 = ((string)(Original_요청자));
}
if ((Original_Status == null)) {
if ((Original_수리완료일 == null)) {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_Status));
this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_수리완료일));
}
if ((Original_분류 == null)) {
if ((Original_Status == null)) {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_분류));
this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_Status));
}
if ((Original_Line == null)) {
if ((Original_분류 == null)) {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_Line));
this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_분류));
}
if ((Original_Division == null)) {
if ((Original_Line == null)) {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_Division));
this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_Line));
}
if ((Original_Team == null)) {
if ((Original_Division == null)) {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_Team));
this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_Division));
}
if ((Original_Model == null)) {
if ((Original_Team == null)) {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_Model));
this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_Team));
}
if ((Original_BoardName == null)) {
if ((Original_Model == null)) {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_BoardName));
this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_Model));
}
if ((Original_SN == null)) {
if ((Original_BoardName == null)) {
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_SN));
this.Adapter.UpdateCommand.Parameters[54].Value = ((string)(Original_BoardName));
}
if ((Original_QTY.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[56].Value = ((int)(Original_QTY.Value));
}
else {
if ((Original_SN == null)) {
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
}
if ((Original_NPrice.HasValue == true)) {
else {
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[56].Value = ((string)(Original_SN));
}
if ((Original_QTY.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[58].Value = ((decimal)(Original_NPrice.Value));
this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_QTY.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
}
if ((Original_OPrice.HasValue == true)) {
if ((Original_NPrice.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[60].Value = ((decimal)(Original_OPrice.Value));
this.Adapter.UpdateCommand.Parameters[60].Value = ((decimal)(Original_NPrice.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
}
if ((Original_RepairCost.HasValue == true)) {
if ((Original_OPrice.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[62].Value = ((decimal)(Original_RepairCost.Value));
this.Adapter.UpdateCommand.Parameters[62].Value = ((decimal)(Original_OPrice.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
}
if ((Original_CostReduction.HasValue == true)) {
if ((Original_RepairCost.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[64].Value = ((decimal)(Original_CostReduction.Value));
this.Adapter.UpdateCommand.Parameters[64].Value = ((decimal)(Original_RepairCost.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
}
if ((Original_외주업체 == null)) {
if ((Original_CostReduction.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[66].Value = ((decimal)(Original_CostReduction.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[66].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[65].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[66].Value = ((string)(Original_외주업체));
}
if ((Original_RepairTime.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[68].Value = ((double)(Original_RepairTime.Value));
}
else {
if ((Original_외주업체 == null)) {
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
}
if ((Original_import.HasValue == true)) {
else {
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Original_외주업체));
}
if ((Original_RepairTime.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[70].Value = ((bool)(Original_import.Value));
this.Adapter.UpdateCommand.Parameters[70].Value = ((double)(Original_RepairTime.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[70].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));
}
else {
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value;
}
if ((Original_wuid == null)) {
throw new global::System.ArgumentNullException("Original_wuid");
}
else {
this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_wuid));
this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(Original_wuid));
}
this.Adapter.UpdateCommand.Parameters[72].Value = ((System.DateTime)(Original_wdate));
this.Adapter.UpdateCommand.Parameters[74].Value = ((System.DateTime)(Original_wdate));
if ((Original_Site == null)) {
this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[74].Value = ((string)(Original_Site));
}
if ((Original_memo == null)) {
this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_memo));
this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_Site));
}
if ((Original_Process == null)) {
if ((Original_memo == null)) {
this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Original_Process));
this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Original_memo));
}
if ((Original_BoardVender == null)) {
if ((Original_Process == null)) {
this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value;
}
else {
this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0));
this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(Original_BoardVender));
this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(Original_Process));
}
this.Adapter.UpdateCommand.Parameters[81].Value = ((int)(idx));
if ((Original_BoardVender == null)) {
this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(1));
this.Adapter.UpdateCommand.Parameters[82].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[83].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)) {
@@ -32091,6 +32213,8 @@ ORDER BY pdate DESC";
string memo,
string Process,
string BoardVender,
string 2,
string 2,
int Original_idx,
string Original_gcode,
string Original_pdate,
@@ -32119,7 +32243,7 @@ ORDER BY pdate DESC";
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, 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);
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);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]