This commit is contained in:
chi
2023-08-09 15:21:40 +09:00
parent 20e36a3624
commit c34372e262
20 changed files with 2401 additions and 907 deletions

View File

@@ -23151,22 +23151,22 @@ namespace FPJ0000.dsPRJTableAdapters {
"semblyid = @assemblyid, epanelid = @epanelid, softwareid = @softwareid, \r\n " +
" userAssembly = @userAssembly, ReqLine = @ReqLine, ReqSite = @ReqSite, R" +
"eqPackage = @ReqPackage, ReqPlant = @ReqPlant, pno = @pno, kdate = @kdate, jasmi" +
"n = @jasmin\r\nWHERE (idx = @Original_idx); \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, dbo.getUserName(championid) AS na" +
"me_champion, dbo.getUserName(designid) AS name_design, dbo.getUserName(assemblyi" +
"d) AS name_assembly, dbo.getUserName(epanelid) AS name_epanel, dbo.getUserName(s" +
"oftwareid) AS name_software, userAssembly, ReqLine, ReqSite, ReqPackage, ReqPlan" +
"t, pno, kdate, jasmin FROM Projects WHERE (idx = @idx) ORDER BY (CASE WHEN [stat" +
"us] = \'검토\' THEN \'0\' WHEN ([status] = \'진행\') THEN \'1\' WHEN ([status] = \'보류\') THEN " +
"\'2\' WHEN ([status] = \'완료\') THEN \'3\' WHEN ([status] = \'취소\') THEN \'9\' ELSE \'5\' END" +
")";
"n = @jasmin, \r\n bHighlight = @bHighlight, sfi = @sfi\r\nWHERE (idx " +
"= @Original_idx); \r\nSELECT idx, status, pdate, name, usermain, usersub, reqstaf" +
"f, sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, " +
"process, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, ass" +
"et, 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, champ" +
"ionid, dbo.getProjectFinishRate(gcode, idx) AS finishrate, designid, assemblyid," +
" epanelid, softwareid, dbo.getUserName(championid) AS name_champion, dbo.getUser" +
"Name(designid) AS name_design, dbo.getUserName(assemblyid) AS name_assembly, dbo" +
".getUserName(epanelid) AS name_epanel, dbo.getUserName(softwareid) AS name_softw" +
"are, userAssembly, ReqLine, ReqSite, ReqPackage, ReqPlant, pno, kdate, jasmin FR" +
"OM Projects 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, "", "", ""));
@@ -23228,6 +23228,8 @@ namespace FPJ0000.dsPRJTableAdapters {
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@pno", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pno", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@kdate", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "kdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@jasmin", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "jasmin", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@bHighlight", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "bHighlight", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@sfi", global::System.Data.SqlDbType.Float, 8, 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, 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, "", "", ""));
}
@@ -24011,6 +24013,8 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
global::System.Nullable<int> pno,
string kdate,
global::System.Nullable<int> jasmin,
global::System.Nullable<bool> bHighlight,
global::System.Nullable<double> sfi,
int Original_idx,
int idx) {
if ((status == null)) {
@@ -24368,8 +24372,20 @@ WHERE (ISNULL(name, N'') LIKE @search) AND (ISNULL(isdel, 0) = 0) AND (gcode =
else {
this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[60].Value = ((int)(Original_idx));
this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(idx));
if ((bHighlight.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[60].Value = ((bool)(bHighlight.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[60].Value = global::System.DBNull.Value;
}
if ((sfi.HasValue == true)) {
this.Adapter.UpdateCommand.Parameters[61].Value = ((double)(sfi.Value));
}
else {
this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
}
this.Adapter.UpdateCommand.Parameters[62].Value = ((int)(Original_idx));
this.Adapter.UpdateCommand.Parameters[63].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)) {