비용절감에 sfi 항목 추가
This commit is contained in:
408
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
408
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
@@ -6101,6 +6101,8 @@ namespace FPJ0000 {
|
||||
|
||||
private global::System.Data.DataColumn columnaft_time;
|
||||
|
||||
private global::System.Data.DataColumn columnsfi;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public EETGW_SaveCostDataTable() :
|
||||
@@ -6415,6 +6417,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 sfiColumn {
|
||||
get {
|
||||
return this.columnsfi;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -6485,7 +6495,8 @@ namespace FPJ0000 {
|
||||
bool fanout,
|
||||
bool weekly,
|
||||
double bef_time,
|
||||
double aft_time) {
|
||||
double aft_time,
|
||||
double sfi) {
|
||||
EETGW_SaveCostRow rowEETGW_SaveCostRow = ((EETGW_SaveCostRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -6521,7 +6532,8 @@ namespace FPJ0000 {
|
||||
fanout,
|
||||
weekly,
|
||||
bef_time,
|
||||
aft_time};
|
||||
aft_time,
|
||||
sfi};
|
||||
rowEETGW_SaveCostRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowEETGW_SaveCostRow);
|
||||
return rowEETGW_SaveCostRow;
|
||||
@@ -6561,7 +6573,8 @@ namespace FPJ0000 {
|
||||
bool fanout,
|
||||
bool weekly,
|
||||
double bef_time,
|
||||
double aft_time) {
|
||||
double aft_time,
|
||||
double sfi) {
|
||||
EETGW_SaveCostRow rowEETGW_SaveCostRow = ((EETGW_SaveCostRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -6597,7 +6610,8 @@ namespace FPJ0000 {
|
||||
fanout,
|
||||
weekly,
|
||||
bef_time,
|
||||
aft_time};
|
||||
aft_time,
|
||||
sfi};
|
||||
rowEETGW_SaveCostRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowEETGW_SaveCostRow);
|
||||
return rowEETGW_SaveCostRow;
|
||||
@@ -6661,6 +6675,7 @@ namespace FPJ0000 {
|
||||
this.columnweekly = base.Columns["weekly"];
|
||||
this.columnbef_time = base.Columns["bef_time"];
|
||||
this.columnaft_time = base.Columns["aft_time"];
|
||||
this.columnsfi = base.Columns["sfi"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -6734,6 +6749,8 @@ namespace FPJ0000 {
|
||||
base.Columns.Add(this.columnbef_time);
|
||||
this.columnaft_time = new global::System.Data.DataColumn("aft_time", typeof(double), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnaft_time);
|
||||
this.columnsfi = new global::System.Data.DataColumn("sfi", typeof(double), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnsfi);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidx}, true));
|
||||
this.columnidx.AutoIncrement = true;
|
||||
@@ -17294,6 +17311,22 @@ namespace FPJ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public double sfi {
|
||||
get {
|
||||
if (this.IssfiNull()) {
|
||||
return 0D;
|
||||
}
|
||||
else {
|
||||
return ((double)(this[this.tableEETGW_SaveCost.sfiColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableEETGW_SaveCost.sfiColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool IsisdelNull() {
|
||||
@@ -17653,6 +17686,18 @@ namespace FPJ0000 {
|
||||
public void Setaft_timeNull() {
|
||||
this[this.tableEETGW_SaveCost.aft_timeColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool IssfiNull() {
|
||||
return this.IsNull(this.tableEETGW_SaveCost.sfiColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public void SetsfiNull() {
|
||||
this[this.tableEETGW_SaveCost.sfiColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -31026,6 +31071,7 @@ WHERE (gcode = @gcode) AND (ISNULL(share, 0) = 1) AND (pdate BETWEEN @sd AND @e
|
||||
tableMapping.ColumnMappings.Add("weekly", "weekly");
|
||||
tableMapping.ColumnMappings.Add("bef_time", "bef_time");
|
||||
tableMapping.ColumnMappings.Add("aft_time", "aft_time");
|
||||
tableMapping.ColumnMappings.Add("sfi", "sfi");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
@@ -31058,7 +31104,8 @@ WHERE (gcode = @gcode) AND (ISNULL(share, 0) = 1) AND (pdate BETWEEN @sd AND @e
|
||||
"] IS NULL) OR ([fanout] = @Original_fanout)) AND ((@IsNull_weekly = 1 AND [weekl" +
|
||||
"y] IS NULL) OR ([weekly] = @Original_weekly)) AND ((@IsNull_bef_time = 1 AND [be" +
|
||||
"f_time] IS NULL) OR ([bef_time] = @Original_bef_time)) AND ((@IsNull_aft_time = " +
|
||||
"1 AND [aft_time] IS NULL) OR ([aft_time] = @Original_aft_time)))";
|
||||
"1 AND [aft_time] IS NULL) OR ([aft_time] = @Original_aft_time)) AND ((@IsNull_sf" +
|
||||
"i = 1 AND [sfi] IS NULL) OR ([sfi] = @Original_sfi)))";
|
||||
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, "", "", ""));
|
||||
@@ -31118,10 +31165,12 @@ WHERE (gcode = @gcode) AND (ISNULL(share, 0) = 1) AND (pdate BETWEEN @sd AND @e
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bef_time", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bef_time", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_aft_time", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "aft_time", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_aft_time", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "aft_time", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sfi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sfi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi", 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_SaveCost] ([gcode], [isdel], [asset], [process], [part], [pdate], [name], [userManager], [usermain], [reqstaff], [costo], [costn], [cnt], [remark_req], [remark_ans], [edate], [progress], [memo], [wuid], [wdate], [orderno], [userprocess], [category], [status], [workgroup], [site], [subcate], [eepart], [fanout], [weekly], [bef_time], [aft_time]) VALUES (@gcode, @isdel, @asset, @process, @part, @pdate, @name, @userManager, @usermain, @reqstaff, @costo, @costn, @cnt, @remark_req, @remark_ans, @edate, @progress, @memo, @wuid, @wdate, @orderno, @userprocess, @category, @status, @workgroup, @site, @subcate, @eepart, @fanout, @weekly, @bef_time, @aft_time);
|
||||
SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, usermain, reqstaff, costo, costn, cnt, remark_req, remark_ans, edate, progress, memo, wuid, wdate, orderno, userprocess, category, status, workgroup, site, subcate, eepart, fanout, weekly, bef_time, aft_time FROM EETGW_SaveCost WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate";
|
||||
this._adapter.InsertCommand.CommandText = @"INSERT INTO [EETGW_SaveCost] ([gcode], [isdel], [asset], [process], [part], [pdate], [name], [userManager], [usermain], [reqstaff], [costo], [costn], [cnt], [remark_req], [remark_ans], [edate], [progress], [memo], [wuid], [wdate], [orderno], [userprocess], [category], [status], [workgroup], [site], [subcate], [eepart], [fanout], [weekly], [bef_time], [aft_time], [sfi]) VALUES (@gcode, @isdel, @asset, @process, @part, @pdate, @name, @userManager, @usermain, @reqstaff, @costo, @costn, @cnt, @remark_req, @remark_ans, @edate, @progress, @memo, @wuid, @wdate, @orderno, @userprocess, @category, @status, @workgroup, @site, @subcate, @eepart, @fanout, @weekly, @bef_time, @aft_time, @sfi);
|
||||
SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, usermain, reqstaff, costo, costn, cnt, remark_req, remark_ans, edate, progress, memo, wuid, wdate, orderno, userprocess, category, status, workgroup, site, subcate, eepart, fanout, weekly, bef_time, aft_time, sfi FROM EETGW_SaveCost WHERE (idx = SCOPE_IDENTITY()) ORDER BY pdate";
|
||||
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("@isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -31155,6 +31204,7 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@weekly", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "weekly", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bef_time", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bef_time", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@aft_time", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "aft_time", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi", 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_SaveCost] SET [gcode] = @gcode, [isdel] = @isdel, [asset] = @asset," +
|
||||
@@ -31165,41 +31215,42 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma
|
||||
"] = @wuid, [wdate] = @wdate, [orderno] = @orderno, [userprocess] = @userprocess," +
|
||||
" [category] = @category, [status] = @status, [workgroup] = @workgroup, [site] = " +
|
||||
"@site, [subcate] = @subcate, [eepart] = @eepart, [fanout] = @fanout, [weekly] = " +
|
||||
"@weekly, [bef_time] = @bef_time, [aft_time] = @aft_time WHERE (([idx] = @Origina" +
|
||||
"l_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_isdel = 1 AND [isdel] IS NU" +
|
||||
"LL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_asset = 1 AND [asset] IS NULL)" +
|
||||
" OR ([asset] = @Original_asset)) AND ((@IsNull_process = 1 AND [process] IS NULL" +
|
||||
") OR ([process] = @Original_process)) AND ((@IsNull_part = 1 AND [part] IS NULL)" +
|
||||
" OR ([part] = @Original_part)) AND ((@IsNull_pdate = 1 AND [pdate] IS NULL) OR (" +
|
||||
"[pdate] = @Original_pdate)) AND ((@IsNull_name = 1 AND [name] IS NULL) OR ([name" +
|
||||
"] = @Original_name)) AND ((@IsNull_userManager = 1 AND [userManager] IS NULL) OR" +
|
||||
" ([userManager] = @Original_userManager)) AND ((@IsNull_usermain = 1 AND [userma" +
|
||||
"in] IS NULL) OR ([usermain] = @Original_usermain)) AND ((@IsNull_reqstaff = 1 AN" +
|
||||
"D [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((@IsNull_costo " +
|
||||
"= 1 AND [costo] IS NULL) OR ([costo] = @Original_costo)) AND ((@IsNull_costn = 1" +
|
||||
" AND [costn] IS NULL) OR ([costn] = @Original_costn)) AND ((@IsNull_cnt = 1 AND " +
|
||||
"[cnt] IS NULL) OR ([cnt] = @Original_cnt)) AND ((@IsNull_edate = 1 AND [edate] I" +
|
||||
"S NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_progress = 1 AND [progress" +
|
||||
"] IS NULL) OR ([progress] = @Original_progress)) AND ((@IsNull_memo = 1 AND [mem" +
|
||||
"o] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_wuid) AND ([wd" +
|
||||
"ate] = @Original_wdate) AND ((@IsNull_orderno = 1 AND [orderno] IS NULL) OR ([or" +
|
||||
"derno] = @Original_orderno)) AND ((@IsNull_userprocess = 1 AND [userprocess] IS " +
|
||||
"NULL) OR ([userprocess] = @Original_userprocess)) AND ((@IsNull_category = 1 AND" +
|
||||
" [category] IS NULL) OR ([category] = @Original_category)) AND ((@IsNull_status " +
|
||||
"= 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((@IsNull_workgr" +
|
||||
"oup = 1 AND [workgroup] IS NULL) OR ([workgroup] = @Original_workgroup)) AND ((@" +
|
||||
"IsNull_site = 1 AND [site] IS NULL) OR ([site] = @Original_site)) AND ((@IsNull_" +
|
||||
"subcate = 1 AND [subcate] IS NULL) OR ([subcate] = @Original_subcate)) AND ((@Is" +
|
||||
"Null_eepart = 1 AND [eepart] IS NULL) OR ([eepart] = @Original_eepart)) AND ((@I" +
|
||||
"sNull_fanout = 1 AND [fanout] IS NULL) OR ([fanout] = @Original_fanout)) AND ((@" +
|
||||
"IsNull_weekly = 1 AND [weekly] IS NULL) OR ([weekly] = @Original_weekly)) AND ((" +
|
||||
"@IsNull_bef_time = 1 AND [bef_time] IS NULL) OR ([bef_time] = @Original_bef_time" +
|
||||
")) AND ((@IsNull_aft_time = 1 AND [aft_time] IS NULL) OR ([aft_time] = @Original" +
|
||||
"_aft_time)));\r\nSELECT idx, gcode, isdel, asset, process, part, pdate, name, user" +
|
||||
"Manager, usermain, reqstaff, costo, costn, cnt, remark_req, remark_ans, edate, p" +
|
||||
"rogress, memo, wuid, wdate, orderno, userprocess, category, status, workgroup, s" +
|
||||
"ite, subcate, eepart, fanout, weekly, bef_time, aft_time FROM EETGW_SaveCost WHE" +
|
||||
"RE (idx = @idx) ORDER BY pdate";
|
||||
"@weekly, [bef_time] = @bef_time, [aft_time] = @aft_time, [sfi] = @sfi WHERE (([i" +
|
||||
"dx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@IsNull_isdel = 1 AND" +
|
||||
" [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNull_asset = 1 AND [a" +
|
||||
"sset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_process = 1 AND [pr" +
|
||||
"ocess] IS NULL) OR ([process] = @Original_process)) AND ((@IsNull_part = 1 AND [" +
|
||||
"part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_pdate = 1 AND [pdate]" +
|
||||
" IS NULL) OR ([pdate] = @Original_pdate)) AND ((@IsNull_name = 1 AND [name] IS N" +
|
||||
"ULL) OR ([name] = @Original_name)) AND ((@IsNull_userManager = 1 AND [userManage" +
|
||||
"r] IS NULL) OR ([userManager] = @Original_userManager)) AND ((@IsNull_usermain =" +
|
||||
" 1 AND [usermain] IS NULL) OR ([usermain] = @Original_usermain)) AND ((@IsNull_r" +
|
||||
"eqstaff = 1 AND [reqstaff] IS NULL) OR ([reqstaff] = @Original_reqstaff)) AND ((" +
|
||||
"@IsNull_costo = 1 AND [costo] IS NULL) OR ([costo] = @Original_costo)) AND ((@Is" +
|
||||
"Null_costn = 1 AND [costn] IS NULL) OR ([costn] = @Original_costn)) AND ((@IsNul" +
|
||||
"l_cnt = 1 AND [cnt] IS NULL) OR ([cnt] = @Original_cnt)) AND ((@IsNull_edate = 1" +
|
||||
" AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@IsNull_progress = 1" +
|
||||
" AND [progress] IS NULL) OR ([progress] = @Original_progress)) AND ((@IsNull_mem" +
|
||||
"o = 1 AND [memo] IS NULL) OR ([memo] = @Original_memo)) AND ([wuid] = @Original_" +
|
||||
"wuid) AND ([wdate] = @Original_wdate) AND ((@IsNull_orderno = 1 AND [orderno] IS" +
|
||||
" NULL) OR ([orderno] = @Original_orderno)) AND ((@IsNull_userprocess = 1 AND [us" +
|
||||
"erprocess] IS NULL) OR ([userprocess] = @Original_userprocess)) AND ((@IsNull_ca" +
|
||||
"tegory = 1 AND [category] IS NULL) OR ([category] = @Original_category)) AND ((@" +
|
||||
"IsNull_status = 1 AND [status] IS NULL) OR ([status] = @Original_status)) AND ((" +
|
||||
"@IsNull_workgroup = 1 AND [workgroup] IS NULL) OR ([workgroup] = @Original_workg" +
|
||||
"roup)) AND ((@IsNull_site = 1 AND [site] IS NULL) OR ([site] = @Original_site)) " +
|
||||
"AND ((@IsNull_subcate = 1 AND [subcate] IS NULL) OR ([subcate] = @Original_subca" +
|
||||
"te)) AND ((@IsNull_eepart = 1 AND [eepart] IS NULL) OR ([eepart] = @Original_eep" +
|
||||
"art)) AND ((@IsNull_fanout = 1 AND [fanout] IS NULL) OR ([fanout] = @Original_fa" +
|
||||
"nout)) AND ((@IsNull_weekly = 1 AND [weekly] IS NULL) OR ([weekly] = @Original_w" +
|
||||
"eekly)) AND ((@IsNull_bef_time = 1 AND [bef_time] IS NULL) OR ([bef_time] = @Ori" +
|
||||
"ginal_bef_time)) AND ((@IsNull_aft_time = 1 AND [aft_time] IS NULL) OR ([aft_tim" +
|
||||
"e] = @Original_aft_time)) AND ((@IsNull_sfi = 1 AND [sfi] IS NULL) OR ([sfi] = @" +
|
||||
"Original_sfi)));\r\nSELECT idx, gcode, isdel, asset, process, part, pdate, name, u" +
|
||||
"serManager, usermain, reqstaff, costo, costn, cnt, remark_req, remark_ans, edate" +
|
||||
", progress, memo, wuid, wdate, orderno, userprocess, category, status, workgroup" +
|
||||
", site, subcate, eepart, fanout, weekly, bef_time, aft_time, sfi FROM EETGW_Save" +
|
||||
"Cost WHERE (idx = @idx) ORDER BY pdate";
|
||||
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("@isdel", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -31233,6 +31284,7 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@weekly", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "weekly", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bef_time", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bef_time", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@aft_time", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "aft_time", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi", 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_isdel", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
@@ -31291,6 +31343,8 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_bef_time", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bef_time", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_aft_time", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "aft_time", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_aft_time", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "aft_time", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sfi", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sfi", global::System.Data.SqlDbType.Float, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sfi", 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, "", "", ""));
|
||||
}
|
||||
|
||||
@@ -31308,7 +31362,7 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma
|
||||
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._commandCollection[0].Connection = this.Connection;
|
||||
this._commandCollection[0].CommandText = @"SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, usermain, reqstaff, costo, costn, cnt, remark_req, remark_ans, edate, progress, memo, wuid, wdate, orderno, userprocess,
|
||||
category, status, workgroup, site, subcate, eepart, fanout, weekly, bef_time, aft_time
|
||||
category, status, workgroup, site, subcate, eepart, fanout, weekly, bef_time, aft_time, sfi
|
||||
FROM EETGW_SaveCost
|
||||
ORDER BY pdate";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
@@ -31402,7 +31456,8 @@ ORDER BY pdate";
|
||||
global::System.Nullable<bool> Original_fanout,
|
||||
global::System.Nullable<bool> Original_weekly,
|
||||
global::System.Nullable<double> Original_bef_time,
|
||||
global::System.Nullable<double> Original_aft_time) {
|
||||
global::System.Nullable<double> Original_aft_time,
|
||||
global::System.Nullable<double> Original_sfi) {
|
||||
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
|
||||
if ((Original_gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_gcode");
|
||||
@@ -31633,6 +31688,14 @@ ORDER BY pdate";
|
||||
this.Adapter.DeleteCommand.Parameters[56].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[57].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_sfi.HasValue == true)) {
|
||||
this.Adapter.DeleteCommand.Parameters[58].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[59].Value = ((double)(Original_sfi.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[58].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[59].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)) {
|
||||
@@ -31685,7 +31748,8 @@ ORDER BY pdate";
|
||||
global::System.Nullable<bool> fanout,
|
||||
global::System.Nullable<bool> weekly,
|
||||
global::System.Nullable<double> bef_time,
|
||||
global::System.Nullable<double> aft_time) {
|
||||
global::System.Nullable<double> aft_time,
|
||||
global::System.Nullable<double> sfi) {
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
}
|
||||
@@ -31873,6 +31937,12 @@ ORDER BY pdate";
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[31].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((sfi.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[32].Value = ((double)(sfi.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[32].Value = global::System.DBNull.Value;
|
||||
}
|
||||
global::System.Data.ConnectionState previousConnectionState = this.Adapter.InsertCommand.Connection.State;
|
||||
if (((this.Adapter.InsertCommand.Connection.State & global::System.Data.ConnectionState.Open)
|
||||
!= global::System.Data.ConnectionState.Open)) {
|
||||
@@ -31926,6 +31996,7 @@ ORDER BY pdate";
|
||||
global::System.Nullable<bool> weekly,
|
||||
global::System.Nullable<double> bef_time,
|
||||
global::System.Nullable<double> aft_time,
|
||||
global::System.Nullable<double> sfi,
|
||||
int Original_idx,
|
||||
string Original_gcode,
|
||||
global::System.Nullable<bool> Original_isdel,
|
||||
@@ -31957,6 +32028,7 @@ ORDER BY pdate";
|
||||
global::System.Nullable<bool> Original_weekly,
|
||||
global::System.Nullable<double> Original_bef_time,
|
||||
global::System.Nullable<double> Original_aft_time,
|
||||
global::System.Nullable<double> Original_sfi,
|
||||
int idx) {
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
@@ -32145,237 +32217,251 @@ ORDER BY pdate";
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((int)(Original_idx));
|
||||
if ((sfi.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((double)(sfi.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((int)(Original_idx));
|
||||
if ((Original_gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_gcode");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_gcode));
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((string)(Original_gcode));
|
||||
}
|
||||
if ((Original_isdel.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((bool)(Original_isdel.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((bool)(Original_isdel.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_asset == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_asset));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = ((string)(Original_asset));
|
||||
}
|
||||
if ((Original_process == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_process));
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = ((string)(Original_process));
|
||||
}
|
||||
if ((Original_part == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_part));
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = ((string)(Original_part));
|
||||
}
|
||||
if ((Original_pdate == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_pdate));
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = ((string)(Original_pdate));
|
||||
}
|
||||
if ((Original_name == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_name));
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = ((string)(Original_name));
|
||||
}
|
||||
if ((Original_userManager == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_userManager));
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = ((string)(Original_userManager));
|
||||
}
|
||||
if ((Original_usermain == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_usermain));
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((string)(Original_usermain));
|
||||
}
|
||||
if ((Original_reqstaff == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_reqstaff));
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_reqstaff));
|
||||
}
|
||||
if ((Original_costo.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = ((double)(Original_costo.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = ((double)(Original_costo.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_costn.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = ((double)(Original_costn.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((double)(Original_costn.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_cnt.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_cnt.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((int)(Original_cnt.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_edate == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(Original_edate));
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = ((string)(Original_edate));
|
||||
}
|
||||
if ((Original_progress.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(Original_progress.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = ((int)(Original_progress.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_memo == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[64].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_memo));
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_memo));
|
||||
}
|
||||
if ((Original_wuid == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_wuid");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_wuid));
|
||||
this.Adapter.UpdateCommand.Parameters[65].Value = ((string)(Original_wuid));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[65].Value = ((System.DateTime)(Original_wdate));
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = ((System.DateTime)(Original_wdate));
|
||||
if ((Original_orderno == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(Original_orderno));
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = ((string)(Original_orderno));
|
||||
}
|
||||
if ((Original_userprocess == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(Original_userprocess));
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = ((string)(Original_userprocess));
|
||||
}
|
||||
if ((Original_category == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[72].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_category));
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[72].Value = ((string)(Original_category));
|
||||
}
|
||||
if ((Original_status == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[74].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(Original_status));
|
||||
this.Adapter.UpdateCommand.Parameters[73].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[74].Value = ((string)(Original_status));
|
||||
}
|
||||
if ((Original_workgroup == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = ((string)(Original_workgroup));
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = ((string)(Original_workgroup));
|
||||
}
|
||||
if ((Original_site == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[78].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Original_site));
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[78].Value = ((string)(Original_site));
|
||||
}
|
||||
if ((Original_subcate == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(Original_subcate));
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((string)(Original_subcate));
|
||||
}
|
||||
if ((Original_eepart == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[82].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = ((string)(Original_eepart));
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[82].Value = ((string)(Original_eepart));
|
||||
}
|
||||
if ((Original_fanout.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[83].Value = ((bool)(Original_fanout.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[84].Value = ((bool)(Original_fanout.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[83].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[84].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_weekly.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[85].Value = ((bool)(Original_weekly.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[85].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[86].Value = ((bool)(Original_weekly.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[85].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[86].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_bef_time.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[87].Value = ((double)(Original_bef_time.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[88].Value = ((double)(Original_bef_time.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[87].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[87].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[88].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_aft_time.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[89].Value = ((double)(Original_aft_time.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[89].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[90].Value = ((double)(Original_aft_time.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[89].Value = global::System.DBNull.Value;
|
||||
this.Adapter.UpdateCommand.Parameters[89].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[90].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[90].Value = ((int)(idx));
|
||||
if ((Original_sfi.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[91].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[92].Value = ((double)(Original_sfi.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[91].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[92].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[93].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)) {
|
||||
@@ -32429,6 +32515,7 @@ ORDER BY pdate";
|
||||
global::System.Nullable<bool> weekly,
|
||||
global::System.Nullable<double> bef_time,
|
||||
global::System.Nullable<double> aft_time,
|
||||
global::System.Nullable<double> sfi,
|
||||
int Original_idx,
|
||||
string Original_gcode,
|
||||
global::System.Nullable<bool> Original_isdel,
|
||||
@@ -32459,8 +32546,9 @@ ORDER BY pdate";
|
||||
global::System.Nullable<bool> Original_fanout,
|
||||
global::System.Nullable<bool> Original_weekly,
|
||||
global::System.Nullable<double> Original_bef_time,
|
||||
global::System.Nullable<double> Original_aft_time) {
|
||||
return this.Update(gcode, isdel, asset, process, part, pdate, name, userManager, usermain, reqstaff, costo, costn, cnt, remark_req, remark_ans, edate, progress, memo, wuid, wdate, orderno, userprocess, category, status, workgroup, site, subcate, eepart, fanout, weekly, bef_time, aft_time, Original_idx, Original_gcode, Original_isdel, Original_asset, Original_process, Original_part, Original_pdate, Original_name, Original_userManager, Original_usermain, Original_reqstaff, Original_costo, Original_costn, Original_cnt, Original_edate, Original_progress, Original_memo, Original_wuid, Original_wdate, Original_orderno, Original_userprocess, Original_category, Original_status, Original_workgroup, Original_site, Original_subcate, Original_eepart, Original_fanout, Original_weekly, Original_bef_time, Original_aft_time, Original_idx);
|
||||
global::System.Nullable<double> Original_aft_time,
|
||||
global::System.Nullable<double> Original_sfi) {
|
||||
return this.Update(gcode, isdel, asset, process, part, pdate, name, userManager, usermain, reqstaff, costo, costn, cnt, remark_req, remark_ans, edate, progress, memo, wuid, wdate, orderno, userprocess, category, status, workgroup, site, subcate, eepart, fanout, weekly, bef_time, aft_time, sfi, Original_idx, Original_gcode, Original_isdel, Original_asset, Original_process, Original_part, Original_pdate, Original_name, Original_userManager, Original_usermain, Original_reqstaff, Original_costo, Original_costn, Original_cnt, Original_edate, Original_progress, Original_memo, Original_wuid, Original_wdate, Original_orderno, Original_userprocess, Original_category, Original_status, Original_workgroup, Original_site, Original_subcate, Original_eepart, Original_fanout, Original_weekly, Original_bef_time, Original_aft_time, Original_sfi, Original_idx);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user