비용절감에 bef,aft 시간 항목 추가
This commit is contained in:
423
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
423
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
@@ -5478,6 +5478,10 @@ namespace FPJ0000 {
|
||||
|
||||
private global::System.Data.DataColumn columnweekly;
|
||||
|
||||
private global::System.Data.DataColumn columnbef_time;
|
||||
|
||||
private global::System.Data.DataColumn columnaft_time;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public EETGW_SaveCostDataTable() :
|
||||
@@ -5776,6 +5780,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 bef_timeColumn {
|
||||
get {
|
||||
return this.columnbef_time;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public global::System.Data.DataColumn aft_timeColumn {
|
||||
get {
|
||||
return this.columnaft_time;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -5844,7 +5864,9 @@ namespace FPJ0000 {
|
||||
string subcate,
|
||||
string eepart,
|
||||
bool fanout,
|
||||
bool weekly) {
|
||||
bool weekly,
|
||||
double bef_time,
|
||||
double aft_time) {
|
||||
EETGW_SaveCostRow rowEETGW_SaveCostRow = ((EETGW_SaveCostRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -5878,7 +5900,9 @@ namespace FPJ0000 {
|
||||
subcate,
|
||||
eepart,
|
||||
fanout,
|
||||
weekly};
|
||||
weekly,
|
||||
bef_time,
|
||||
aft_time};
|
||||
rowEETGW_SaveCostRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowEETGW_SaveCostRow);
|
||||
return rowEETGW_SaveCostRow;
|
||||
@@ -5916,7 +5940,9 @@ namespace FPJ0000 {
|
||||
string subcate,
|
||||
string eepart,
|
||||
bool fanout,
|
||||
bool weekly) {
|
||||
bool weekly,
|
||||
double bef_time,
|
||||
double aft_time) {
|
||||
EETGW_SaveCostRow rowEETGW_SaveCostRow = ((EETGW_SaveCostRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -5950,7 +5976,9 @@ namespace FPJ0000 {
|
||||
subcate,
|
||||
eepart,
|
||||
fanout,
|
||||
weekly};
|
||||
weekly,
|
||||
bef_time,
|
||||
aft_time};
|
||||
rowEETGW_SaveCostRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowEETGW_SaveCostRow);
|
||||
return rowEETGW_SaveCostRow;
|
||||
@@ -6012,6 +6040,8 @@ namespace FPJ0000 {
|
||||
this.columneepart = base.Columns["eepart"];
|
||||
this.columnfanout = base.Columns["fanout"];
|
||||
this.columnweekly = base.Columns["weekly"];
|
||||
this.columnbef_time = base.Columns["bef_time"];
|
||||
this.columnaft_time = base.Columns["aft_time"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -6081,6 +6111,10 @@ namespace FPJ0000 {
|
||||
base.Columns.Add(this.columnfanout);
|
||||
this.columnweekly = new global::System.Data.DataColumn("weekly", typeof(bool), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnweekly);
|
||||
this.columnbef_time = new global::System.Data.DataColumn("bef_time", typeof(double), null, global::System.Data.MappingType.Element);
|
||||
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.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidx}, true));
|
||||
this.columnidx.AutoIncrement = true;
|
||||
@@ -14876,6 +14910,38 @@ namespace FPJ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public double bef_time {
|
||||
get {
|
||||
if (this.Isbef_timeNull()) {
|
||||
return 0D;
|
||||
}
|
||||
else {
|
||||
return ((double)(this[this.tableEETGW_SaveCost.bef_timeColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableEETGW_SaveCost.bef_timeColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public double aft_time {
|
||||
get {
|
||||
if (this.Isaft_timeNull()) {
|
||||
return 0D;
|
||||
}
|
||||
else {
|
||||
return ((double)(this[this.tableEETGW_SaveCost.aft_timeColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableEETGW_SaveCost.aft_timeColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool IsisdelNull() {
|
||||
@@ -15211,6 +15277,30 @@ namespace FPJ0000 {
|
||||
public void SetweeklyNull() {
|
||||
this[this.tableEETGW_SaveCost.weeklyColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool Isbef_timeNull() {
|
||||
return this.IsNull(this.tableEETGW_SaveCost.bef_timeColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public void Setbef_timeNull() {
|
||||
this[this.tableEETGW_SaveCost.bef_timeColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool Isaft_timeNull() {
|
||||
return this.IsNull(this.tableEETGW_SaveCost.aft_timeColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public void Setaft_timeNull() {
|
||||
this[this.tableEETGW_SaveCost.aft_timeColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -27018,6 +27108,8 @@ WHERE (gcode = @gcode) AND (ISNULL(share, 0) = 1) AND (pdate BETWEEN @sd AND @e
|
||||
tableMapping.ColumnMappings.Add("eepart", "eepart");
|
||||
tableMapping.ColumnMappings.Add("fanout", "fanout");
|
||||
tableMapping.ColumnMappings.Add("weekly", "weekly");
|
||||
tableMapping.ColumnMappings.Add("bef_time", "bef_time");
|
||||
tableMapping.ColumnMappings.Add("aft_time", "aft_time");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
@@ -27048,7 +27140,9 @@ WHERE (gcode = @gcode) AND (ISNULL(share, 0) = 1) AND (pdate BETWEEN @sd AND @e
|
||||
" NULL) OR ([subcate] = @Original_subcate)) AND ((@IsNull_eepart = 1 AND [eepart]" +
|
||||
" IS NULL) OR ([eepart] = @Original_eepart)) AND ((@IsNull_fanout = 1 AND [fanout" +
|
||||
"] IS NULL) OR ([fanout] = @Original_fanout)) AND ((@IsNull_weekly = 1 AND [weekl" +
|
||||
"y] IS NULL) OR ([weekly] = @Original_weekly)))";
|
||||
"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)))";
|
||||
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, "", "", ""));
|
||||
@@ -27104,10 +27198,14 @@ 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_fanout", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fanout", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_weekly", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "weekly", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_weekly", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "weekly", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.DeleteCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bef_time", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bef_time", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
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.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]) 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);
|
||||
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 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]) 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.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, "", "", ""));
|
||||
@@ -27139,6 +27237,8 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@eepart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "eepart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fanout", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fanout", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
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.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," +
|
||||
@@ -27149,38 +27249,41 @@ 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 WHERE (([idx] = @Original_idx) AND ([gcode] = @Original_gcode) AND ((@Is" +
|
||||
"Null_isdel = 1 AND [isdel] IS NULL) OR ([isdel] = @Original_isdel)) AND ((@IsNul" +
|
||||
"l_asset = 1 AND [asset] IS NULL) OR ([asset] = @Original_asset)) AND ((@IsNull_p" +
|
||||
"rocess = 1 AND [process] IS NULL) OR ([process] = @Original_process)) AND ((@IsN" +
|
||||
"ull_part = 1 AND [part] IS NULL) OR ([part] = @Original_part)) AND ((@IsNull_pda" +
|
||||
"te = 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 [usermain] IS NULL) OR ([usermain] = @Original_usermain" +
|
||||
")) AND ((@IsNull_reqstaff = 1 AND [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_co" +
|
||||
"stn)) AND ((@IsNull_cnt = 1 AND [cnt] IS NULL) OR ([cnt] = @Original_cnt)) AND (" +
|
||||
"(@IsNull_edate = 1 AND [edate] IS NULL) OR ([edate] = @Original_edate)) AND ((@I" +
|
||||
"sNull_progress = 1 AND [progress] IS NULL) OR ([progress] = @Original_progress))" +
|
||||
" AND ((@IsNull_memo = 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_userp" +
|
||||
"rocess = 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] = @Origin" +
|
||||
"al_status)) AND ((@IsNull_workgroup = 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 ((@IsNull_eepart = 1 AND [eepart] IS NULL) OR ([eepar" +
|
||||
"t] = @Original_eepart)) AND ((@IsNull_fanout = 1 AND [fanout] IS NULL) OR ([fano" +
|
||||
"ut] = @Original_fanout)) AND ((@IsNull_weekly = 1 AND [weekly] IS NULL) OR ([wee" +
|
||||
"kly] = @Original_weekly)));\r\nSELECT idx, gcode, isdel, asset, process, part, pda" +
|
||||
"te, 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 FROM EETGW_SaveCost WHERE (id" +
|
||||
"x = @idx) ORDER BY pdate";
|
||||
"@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";
|
||||
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, "", "", ""));
|
||||
@@ -27212,6 +27315,8 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@eepart", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "eepart", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@fanout", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fanout", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
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("@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, "", "", ""));
|
||||
@@ -27266,6 +27371,10 @@ SELECT idx, gcode, isdel, asset, process, part, pdate, name, userManager, userma
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_fanout", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "fanout", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_weekly", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "weekly", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_weekly", global::System.Data.SqlDbType.Bit, 0, global::System.Data.ParameterDirection.Input, 0, 0, "weekly", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_bef_time", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "bef_time", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
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("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
}
|
||||
|
||||
@@ -27283,7 +27392,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
|
||||
category, status, workgroup, site, subcate, eepart, fanout, weekly, bef_time, aft_time
|
||||
FROM EETGW_SaveCost
|
||||
ORDER BY pdate";
|
||||
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
|
||||
@@ -27375,7 +27484,9 @@ ORDER BY pdate";
|
||||
string Original_subcate,
|
||||
string Original_eepart,
|
||||
global::System.Nullable<bool> Original_fanout,
|
||||
global::System.Nullable<bool> Original_weekly) {
|
||||
global::System.Nullable<bool> Original_weekly,
|
||||
global::System.Nullable<double> Original_bef_time,
|
||||
global::System.Nullable<double> Original_aft_time) {
|
||||
this.Adapter.DeleteCommand.Parameters[0].Value = ((int)(Original_idx));
|
||||
if ((Original_gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_gcode");
|
||||
@@ -27590,6 +27701,22 @@ ORDER BY pdate";
|
||||
this.Adapter.DeleteCommand.Parameters[52].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[53].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_bef_time.HasValue == true)) {
|
||||
this.Adapter.DeleteCommand.Parameters[54].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[55].Value = ((double)(Original_bef_time.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[54].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[55].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_aft_time.HasValue == true)) {
|
||||
this.Adapter.DeleteCommand.Parameters[56].Value = ((object)(0));
|
||||
this.Adapter.DeleteCommand.Parameters[57].Value = ((double)(Original_aft_time.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.DeleteCommand.Parameters[56].Value = ((object)(1));
|
||||
this.Adapter.DeleteCommand.Parameters[57].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)) {
|
||||
@@ -27640,7 +27767,9 @@ ORDER BY pdate";
|
||||
string subcate,
|
||||
string eepart,
|
||||
global::System.Nullable<bool> fanout,
|
||||
global::System.Nullable<bool> weekly) {
|
||||
global::System.Nullable<bool> weekly,
|
||||
global::System.Nullable<double> bef_time,
|
||||
global::System.Nullable<double> aft_time) {
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
}
|
||||
@@ -27816,6 +27945,18 @@ ORDER BY pdate";
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[29].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((bef_time.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[30].Value = ((double)(bef_time.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[30].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((aft_time.HasValue == true)) {
|
||||
this.Adapter.InsertCommand.Parameters[31].Value = ((double)(aft_time.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)) {
|
||||
@@ -27867,6 +28008,8 @@ ORDER BY pdate";
|
||||
string eepart,
|
||||
global::System.Nullable<bool> fanout,
|
||||
global::System.Nullable<bool> weekly,
|
||||
global::System.Nullable<double> bef_time,
|
||||
global::System.Nullable<double> aft_time,
|
||||
int Original_idx,
|
||||
string Original_gcode,
|
||||
global::System.Nullable<bool> Original_isdel,
|
||||
@@ -27896,6 +28039,8 @@ ORDER BY pdate";
|
||||
string Original_eepart,
|
||||
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,
|
||||
int idx) {
|
||||
if ((gcode == null)) {
|
||||
throw new global::System.ArgumentNullException("gcode");
|
||||
@@ -28072,221 +28217,249 @@ ORDER BY pdate";
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[29].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((int)(Original_idx));
|
||||
if ((bef_time.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((double)(bef_time.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((aft_time.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((double)(aft_time.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[31].Value = ((string)(Original_gcode));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_gcode));
|
||||
}
|
||||
if ((Original_isdel.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((bool)(Original_isdel.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((bool)(Original_isdel.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_asset == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[34].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[35].Value = ((string)(Original_asset));
|
||||
}
|
||||
if ((Original_process == null)) {
|
||||
if ((Original_asset == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[36].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_process));
|
||||
this.Adapter.UpdateCommand.Parameters[37].Value = ((string)(Original_asset));
|
||||
}
|
||||
if ((Original_part == null)) {
|
||||
if ((Original_process == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[38].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_part));
|
||||
this.Adapter.UpdateCommand.Parameters[39].Value = ((string)(Original_process));
|
||||
}
|
||||
if ((Original_pdate == null)) {
|
||||
if ((Original_part == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[40].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_pdate));
|
||||
this.Adapter.UpdateCommand.Parameters[41].Value = ((string)(Original_part));
|
||||
}
|
||||
if ((Original_name == null)) {
|
||||
if ((Original_pdate == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[42].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_name));
|
||||
this.Adapter.UpdateCommand.Parameters[43].Value = ((string)(Original_pdate));
|
||||
}
|
||||
if ((Original_userManager == null)) {
|
||||
if ((Original_name == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[44].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_userManager));
|
||||
this.Adapter.UpdateCommand.Parameters[45].Value = ((string)(Original_name));
|
||||
}
|
||||
if ((Original_usermain == null)) {
|
||||
if ((Original_userManager == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[46].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_usermain));
|
||||
this.Adapter.UpdateCommand.Parameters[47].Value = ((string)(Original_userManager));
|
||||
}
|
||||
if ((Original_reqstaff == null)) {
|
||||
if ((Original_usermain == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[48].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_reqstaff));
|
||||
this.Adapter.UpdateCommand.Parameters[49].Value = ((string)(Original_usermain));
|
||||
}
|
||||
if ((Original_costo.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = ((double)(Original_costo.Value));
|
||||
}
|
||||
else {
|
||||
if ((Original_reqstaff == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_costn.HasValue == true)) {
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[51].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_costn.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = ((double)(Original_costo.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_cnt.HasValue == true)) {
|
||||
if ((Original_costn.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = ((int)(Original_cnt.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = ((double)(Original_costn.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_edate == null)) {
|
||||
if ((Original_cnt.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_cnt.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = ((string)(Original_edate));
|
||||
}
|
||||
if ((Original_progress.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = ((int)(Original_progress.Value));
|
||||
}
|
||||
else {
|
||||
if ((Original_edate == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_memo == null)) {
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[59].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));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[61].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;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = ((string)(Original_memo));
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_memo));
|
||||
}
|
||||
if ((Original_wuid == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_wuid");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = ((string)(Original_wuid));
|
||||
this.Adapter.UpdateCommand.Parameters[64].Value = ((string)(Original_wuid));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = ((System.DateTime)(Original_wdate));
|
||||
this.Adapter.UpdateCommand.Parameters[65].Value = ((System.DateTime)(Original_wdate));
|
||||
if ((Original_orderno == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[65].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[64].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[65].Value = ((string)(Original_orderno));
|
||||
}
|
||||
if ((Original_userprocess == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(Original_userprocess));
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = ((string)(Original_orderno));
|
||||
}
|
||||
if ((Original_category == null)) {
|
||||
if ((Original_userprocess == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(Original_category));
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = ((string)(Original_userprocess));
|
||||
}
|
||||
if ((Original_status == null)) {
|
||||
if ((Original_category == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_status));
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = ((string)(Original_category));
|
||||
}
|
||||
if ((Original_workgroup == null)) {
|
||||
if ((Original_status == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[73].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[72].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(Original_workgroup));
|
||||
this.Adapter.UpdateCommand.Parameters[73].Value = ((string)(Original_status));
|
||||
}
|
||||
if ((Original_site == null)) {
|
||||
if ((Original_workgroup == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = ((string)(Original_site));
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = ((string)(Original_workgroup));
|
||||
}
|
||||
if ((Original_subcate == null)) {
|
||||
if ((Original_site == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Original_subcate));
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = ((string)(Original_site));
|
||||
}
|
||||
if ((Original_eepart == null)) {
|
||||
if ((Original_subcate == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[78].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(Original_eepart));
|
||||
this.Adapter.UpdateCommand.Parameters[79].Value = ((string)(Original_subcate));
|
||||
}
|
||||
if ((Original_fanout.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = ((bool)(Original_fanout.Value));
|
||||
}
|
||||
else {
|
||||
if ((Original_eepart == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_weekly.HasValue == true)) {
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[81].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_weekly.Value));
|
||||
this.Adapter.UpdateCommand.Parameters[83].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[84].Value = ((int)(idx));
|
||||
if ((Original_weekly.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[85].Value = ((bool)(Original_weekly.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[85].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));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[86].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[87].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));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[88].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[89].Value = global::System.DBNull.Value;
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[90].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)) {
|
||||
@@ -28338,6 +28511,8 @@ ORDER BY pdate";
|
||||
string eepart,
|
||||
global::System.Nullable<bool> fanout,
|
||||
global::System.Nullable<bool> weekly,
|
||||
global::System.Nullable<double> bef_time,
|
||||
global::System.Nullable<double> aft_time,
|
||||
int Original_idx,
|
||||
string Original_gcode,
|
||||
global::System.Nullable<bool> Original_isdel,
|
||||
@@ -28366,8 +28541,10 @@ ORDER BY pdate";
|
||||
string Original_subcate,
|
||||
string Original_eepart,
|
||||
global::System.Nullable<bool> Original_fanout,
|
||||
global::System.Nullable<bool> Original_weekly) {
|
||||
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, 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_idx);
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user