...
This commit is contained in:
151
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
151
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
@@ -1021,6 +1021,8 @@ namespace FPJ0000 {
|
||||
|
||||
private global::System.Data.DataColumn columnname_software;
|
||||
|
||||
private global::System.Data.DataColumn columnuserAssembly;
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public ProjectsDataTable() :
|
||||
@@ -1599,6 +1601,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 userAssemblyColumn {
|
||||
get {
|
||||
return this.columnuserAssembly;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
[global::System.ComponentModel.Browsable(false)]
|
||||
@@ -1702,7 +1712,8 @@ namespace FPJ0000 {
|
||||
string name_design,
|
||||
string name_assembly,
|
||||
string name_epanel,
|
||||
string name_software) {
|
||||
string name_software,
|
||||
string userAssembly) {
|
||||
ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -1771,7 +1782,8 @@ namespace FPJ0000 {
|
||||
name_design,
|
||||
name_assembly,
|
||||
name_epanel,
|
||||
name_software};
|
||||
name_software,
|
||||
userAssembly};
|
||||
rowProjectsRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowProjectsRow);
|
||||
return rowProjectsRow;
|
||||
@@ -1844,7 +1856,8 @@ namespace FPJ0000 {
|
||||
string name_design,
|
||||
string name_assembly,
|
||||
string name_epanel,
|
||||
string name_software) {
|
||||
string name_software,
|
||||
string userAssembly) {
|
||||
ProjectsRow rowProjectsRow = ((ProjectsRow)(this.NewRow()));
|
||||
object[] columnValuesArray = new object[] {
|
||||
null,
|
||||
@@ -1913,7 +1926,8 @@ namespace FPJ0000 {
|
||||
name_design,
|
||||
name_assembly,
|
||||
name_epanel,
|
||||
name_software};
|
||||
name_software,
|
||||
userAssembly};
|
||||
rowProjectsRow.ItemArray = columnValuesArray;
|
||||
this.Rows.Add(rowProjectsRow);
|
||||
return rowProjectsRow;
|
||||
@@ -2010,6 +2024,7 @@ namespace FPJ0000 {
|
||||
this.columnname_assembly = base.Columns["name_assembly"];
|
||||
this.columnname_epanel = base.Columns["name_epanel"];
|
||||
this.columnname_software = base.Columns["name_software"];
|
||||
this.columnuserAssembly = base.Columns["userAssembly"];
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -2149,6 +2164,8 @@ namespace FPJ0000 {
|
||||
base.Columns.Add(this.columnname_epanel);
|
||||
this.columnname_software = new global::System.Data.DataColumn("name_software", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnname_software);
|
||||
this.columnuserAssembly = new global::System.Data.DataColumn("userAssembly", typeof(string), null, global::System.Data.MappingType.Element);
|
||||
base.Columns.Add(this.columnuserAssembly);
|
||||
this.Constraints.Add(new global::System.Data.UniqueConstraint("Constraint1", new global::System.Data.DataColumn[] {
|
||||
this.columnidx}, true));
|
||||
this.columnidx.AutoIncrement = true;
|
||||
@@ -2223,6 +2240,7 @@ namespace FPJ0000 {
|
||||
this.columnname_epanel.MaxLength = 200;
|
||||
this.columnname_software.ReadOnly = true;
|
||||
this.columnname_software.MaxLength = 200;
|
||||
this.columnuserAssembly.MaxLength = 50;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
@@ -12761,6 +12779,22 @@ namespace FPJ0000 {
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public string userAssembly {
|
||||
get {
|
||||
if (this.IsuserAssemblyNull()) {
|
||||
return string.Empty;
|
||||
}
|
||||
else {
|
||||
return ((string)(this[this.tableProjects.userAssemblyColumn]));
|
||||
}
|
||||
}
|
||||
set {
|
||||
this[this.tableProjects.userAssemblyColumn] = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool IsnameNull() {
|
||||
@@ -13516,6 +13550,18 @@ namespace FPJ0000 {
|
||||
public void Setname_softwareNull() {
|
||||
this[this.tableProjects.name_softwareColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public bool IsuserAssemblyNull() {
|
||||
return this.IsNull(this.tableProjects.userAssemblyColumn);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
|
||||
public void SetuserAssemblyNull() {
|
||||
this[this.tableProjects.userAssemblyColumn] = global::System.Convert.DBNull;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -22757,6 +22803,7 @@ namespace FPJ0000.dsPRJTableAdapters {
|
||||
tableMapping.ColumnMappings.Add("name_assembly", "name_assembly");
|
||||
tableMapping.ColumnMappings.Add("name_epanel", "name_epanel");
|
||||
tableMapping.ColumnMappings.Add("name_software", "name_software");
|
||||
tableMapping.ColumnMappings.Add("userAssembly", "userAssembly");
|
||||
this._adapter.TableMappings.Add(tableMapping);
|
||||
this._adapter.DeleteCommand = new global::System.Data.SqlClient.SqlCommand();
|
||||
this._adapter.DeleteCommand.Connection = this.Connection;
|
||||
@@ -22772,24 +22819,27 @@ namespace FPJ0000.dsPRJTableAdapters {
|
||||
"erno], [gcode], [category], [userprocess], [CMP_Background], [CMP_Description], " +
|
||||
"[CMP_Before], [CMP_After], [bCost], [bFanOut], [div], [crdue], [model], [serial]" +
|
||||
", [bdate], [qdate], [cdate], [championid], [designid], [assemblyid], [epanelid]," +
|
||||
" [softwareid]) VALUES (@status, @pdate, @name, @usermain, @usersub, @reqstaff, @" +
|
||||
"sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userManager, @level, " +
|
||||
"@part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans, @ddate, @progre" +
|
||||
"ss, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, @category, @user" +
|
||||
"process, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_After, @bCost, @bF" +
|
||||
"anOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @championid, @desi" +
|
||||
"gnid, @assemblyid, @epanelid, @softwareid);\r\nSELECT idx, status, pdate, name, us" +
|
||||
"ermain, usersub, reqstaff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, us" +
|
||||
"erManager, level, part, process, costo, costn, cnt, remark_req, remark_ans, ddat" +
|
||||
"e, progress, import, asset, isdel, path, userhw2, orderno, dbo.getLastHistory(id" +
|
||||
"x) AS lasthistory, gcode, category, userprocess, CMP_Background, CMP_Description" +
|
||||
", CMP_Before, CMP_After, bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(id" +
|
||||
"x) AS ProgressPrj, \'\' AS wws, \'\' AS wwo, \'\' AS wwe, \'\' AS wwd, model, serial, bd" +
|
||||
"ate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode, idx) AS finishrat" +
|
||||
"e, designid, assemblyid, epanelid, softwareid FROM Projects WHERE (idx = SCOPE_I" +
|
||||
"DENTITY()) ORDER BY (CASE WHEN [status] = \'검토\' THEN \'0\' WHEN ([status] = \'진행\') T" +
|
||||
"HEN \'1\' WHEN ([status] = \'보류\') THEN \'2\' WHEN ([status] = \'완료\') THEN \'3\' WHEN ([s" +
|
||||
"tatus] = \'취소\') THEN \'9\' ELSE \'5\' END)";
|
||||
" [softwareid], [userAssembly]) VALUES (@status, @pdate, @name, @usermain, @users" +
|
||||
"ub, @reqstaff, @sdate, @edate, @odate, @memo, @wuid, @wdate, @rev, @pidx, @userM" +
|
||||
"anager, @level, @part, @process, @costo, @costn, @cnt, @remark_req, @remark_ans," +
|
||||
" @ddate, @progress, @import, @asset, @isdel, @path, @userhw2, @orderno, @gcode, " +
|
||||
"@category, @userprocess, @CMP_Background, @CMP_Description, @CMP_Before, @CMP_Af" +
|
||||
"ter, @bCost, @bFanOut, @div, @crdue, @model, @serial, @bdate, @qdate, @cdate, @c" +
|
||||
"hampionid, @designid, @assemblyid, @epanelid, @softwareid, @userAssembly);\r\nSELE" +
|
||||
"CT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, m" +
|
||||
"emo, wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cn" +
|
||||
"t, remark_req, remark_ans, ddate, progress, import, asset, isdel, path, userhw2," +
|
||||
" orderno, dbo.getLastHistory(idx) AS lasthistory, gcode, category, userprocess, " +
|
||||
"CMP_Background, CMP_Description, CMP_Before, CMP_After, bCost, bFanOut, div, crd" +
|
||||
"ue, dbo.getScheduleProgressI(idx) AS ProgressPrj, \'\' AS wws, \'\' AS wwo, \'\' AS ww" +
|
||||
"e, \'\' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFini" +
|
||||
"shRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, db" +
|
||||
"o.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_de" +
|
||||
"sign, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS" +
|
||||
" name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly FROM Pr" +
|
||||
"ojects WHERE (idx = SCOPE_IDENTITY()) ORDER BY (CASE WHEN [status] = \'검토\' THEN \'" +
|
||||
"0\' WHEN ([status] = \'진행\') THEN \'1\' WHEN ([status] = \'보류\') THEN \'2\' WHEN ([status" +
|
||||
"] = \'완료\') THEN \'3\' WHEN ([status] = \'취소\') THEN \'9\' ELSE \'5\' END)";
|
||||
this._adapter.InsertCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -22843,6 +22893,7 @@ namespace FPJ0000.dsPRJTableAdapters {
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@assemblyid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "assemblyid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@epanelid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "epanelid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@softwareid", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "softwareid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userAssembly", global::System.Data.SqlDbType.VarChar, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userAssembly", 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 Projects\r\nSET status = @status, pdate = @pdate, name = @name, userm" +
|
||||
@@ -22858,19 +22909,22 @@ namespace FPJ0000.dsPRJTableAdapters {
|
||||
"e, CMP_After = @CMP_After, bCost = @bCost, bFanOut = @bFanOut, div = @div, crdue" +
|
||||
" = @crdue, model = @model, serial = @serial, bdate = @bdate, \r\n qd" +
|
||||
"ate = @qdate, cdate = @cdate, championid = @championid, designid = @designid, as" +
|
||||
"semblyid = @assemblyid, epanelid = @epanelid, softwareid = @softwareid\r\nWHERE (" +
|
||||
"idx = @Original_idx); \r\nSELECT idx, status, pdate, name, usermain, usersub, reqs" +
|
||||
"taff, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, par" +
|
||||
"t, process, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, " +
|
||||
"asset, isdel, path, userhw2, orderno, dbo.getLastHistory(idx) AS lasthistory, gc" +
|
||||
"ode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_Aft" +
|
||||
"er, bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(idx) AS ProgressPrj, \'\'" +
|
||||
" AS wws, \'\' AS wwo, \'\' AS wwe, \'\' AS wwd, model, serial, bdate, qdate, cdate, ch" +
|
||||
"ampionid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assembly" +
|
||||
"id, epanelid, softwareid FROM Projects WHERE (idx = @idx) ORDER BY (CASE WHEN [s" +
|
||||
"tatus] = \'검토\' THEN \'0\' WHEN ([status] = \'진행\') THEN \'1\' WHEN ([status] = \'보류\') TH" +
|
||||
"EN \'2\' WHEN ([status] = \'완료\') THEN \'3\' WHEN ([status] = \'취소\') THEN \'9\' ELSE \'5\' " +
|
||||
"END)";
|
||||
"semblyid = @assemblyid, epanelid = @epanelid, softwareid = @softwareid, \r\n " +
|
||||
" userAssembly = @userAssembly\r\nWHERE (idx = @Original_idx); \r\nSELECT id" +
|
||||
"x, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odate, memo, " +
|
||||
"wuid, wdate, rev, pidx, userManager, level, part, process, costo, costn, cnt, re" +
|
||||
"mark_req, remark_ans, ddate, progress, import, asset, isdel, path, userhw2, orde" +
|
||||
"rno, dbo.getLastHistory(idx) AS lasthistory, gcode, category, userprocess, CMP_B" +
|
||||
"ackground, CMP_Description, CMP_Before, CMP_After, bCost, bFanOut, div, crdue, d" +
|
||||
"bo.getScheduleProgressI(idx) AS ProgressPrj, \'\' AS wws, \'\' AS wwo, \'\' AS wwe, \'\'" +
|
||||
" AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRat" +
|
||||
"e(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.get" +
|
||||
"UserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design," +
|
||||
" dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name" +
|
||||
"_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly FROM Project" +
|
||||
"s WHERE (idx = @idx) ORDER BY (CASE WHEN [status] = \'검토\' THEN \'0\' WHEN ([status]" +
|
||||
" = \'진행\') THEN \'1\' WHEN ([status] = \'보류\') THEN \'2\' WHEN ([status] = \'완료\') THEN \'3" +
|
||||
"\' WHEN ([status] = \'취소\') THEN \'9\' ELSE \'5\' END)";
|
||||
this._adapter.UpdateCommand.CommandType = global::System.Data.CommandType.Text;
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@status", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
@@ -22924,6 +22978,7 @@ namespace FPJ0000.dsPRJTableAdapters {
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@assemblyid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "assemblyid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@epanelid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "epanelid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@softwareid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "softwareid", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userAssembly", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userAssembly", 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, 4, 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("@idx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "idx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
}
|
||||
@@ -22945,7 +23000,7 @@ namespace FPJ0000.dsPRJTableAdapters {
|
||||
progress, import, asset, isdel, path, userhw2, orderno, dbo.getLastHistory(idx) AS lasthistory, gcode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After,
|
||||
bCost, bFanOut, div, crdue, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid,
|
||||
dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid)
|
||||
AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software
|
||||
AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly
|
||||
FROM Projects
|
||||
WHERE (status LIKE @state) AND (ISNULL(userManager, '') LIKE @username OR
|
||||
ISNULL(usermain, '') LIKE @username OR
|
||||
@@ -22967,7 +23022,7 @@ ORDER BY (CASE WHEN [status] = '검토' THEN '0' WHEN ([status] = '진행') THEN
|
||||
userManager, userhw2, usermain, usersub, wdate, wuid, dbo.getLastHistory(idx) AS lasthistory, gcode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After,
|
||||
bCost, bFanOut, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode,
|
||||
idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design,
|
||||
dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software
|
||||
dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly
|
||||
FROM Projects
|
||||
WHERE (idx = @idx)";
|
||||
this._commandCollection[2].CommandType = global::System.Data.CommandType.Text;
|
||||
@@ -22978,7 +23033,7 @@ WHERE (idx = @idx)";
|
||||
progress, import, asset, isdel, path, userhw2, orderno, dbo.getLastHistory(idx) AS lasthistory, gcode, category, userprocess, CMP_Background, CMP_Description, CMP_Before, CMP_After,
|
||||
bCost, bFanOut, dbo.getScheduleProgressI(idx) AS ProgressPrj, '' AS wws, '' AS wwo, '' AS wwe, '' AS wwd, model, serial, bdate, qdate, cdate, championid, dbo.getProjectFinishRate(gcode,
|
||||
idx) AS finishrate, designid, assemblyid, epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUserName(designid) AS name_design,
|
||||
dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software
|
||||
dbo.getUserName(assemblyid) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_software, userAssembly
|
||||
FROM Projects
|
||||
WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode = @gcode) OR
|
||||
(ISNULL(isdel, 0) = 0) AND (gcode = @gcode) AND (CAST(idx AS varchar) LIKE @search) OR
|
||||
@@ -23237,7 +23292,8 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
|
||||
string designid,
|
||||
string assemblyid,
|
||||
string epanelid,
|
||||
string softwareid) {
|
||||
string softwareid,
|
||||
string userAssembly) {
|
||||
if ((status == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
}
|
||||
@@ -23545,6 +23601,12 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[51].Value = ((string)(softwareid));
|
||||
}
|
||||
if ((userAssembly == null)) {
|
||||
this.Adapter.InsertCommand.Parameters[52].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.InsertCommand.Parameters[52].Value = ((string)(userAssembly));
|
||||
}
|
||||
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)) {
|
||||
@@ -23618,6 +23680,7 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
|
||||
string assemblyid,
|
||||
string epanelid,
|
||||
string softwareid,
|
||||
string userAssembly,
|
||||
int Original_idx,
|
||||
int idx) {
|
||||
if ((status == null)) {
|
||||
@@ -23927,8 +23990,14 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(softwareid));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = ((int)(Original_idx));
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = ((int)(idx));
|
||||
if ((userAssembly == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(userAssembly));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = ((int)(Original_idx));
|
||||
this.Adapter.UpdateCommand.Parameters[54].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)) {
|
||||
|
||||
Reference in New Issue
Block a user