목록화면들에서 목록 조회 후 컬럼 너비를 다시 불러오게 함
This commit is contained in:
350
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
350
SubProject/FPJ0000/dsPRJ.Designer.cs
generated
@@ -7403,50 +7403,13 @@ SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat
|
||||
this._adapter.InsertCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", 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" +
|
||||
"ain = @usermain, usersub = @usersub, reqstaff = @reqstaff, sdate = @sdate, edate" +
|
||||
" = @edate, odate = @odate, memo = @memo, \r\n wuid = @wuid, wdate = " +
|
||||
"@wdate, rev = @rev, pidx = @pidx, userManager = @userManager, level = @level, pa" +
|
||||
"rt = @part, process = @process, costo = @costo, costn = @costn, cnt = @cnt, \r\n " +
|
||||
" remark_req = @remark_req, remark_ans = @remark_ans, ddate = @ddate," +
|
||||
" progress = @progress, import = @import, asset = @asset, isdel = @isdel, path = " +
|
||||
"@path, userhw2 = @userhw2, \r\n orderno = @orderno\r\nWHERE (idx = @O" +
|
||||
"riginal_idx) AND (@IsNull_status = 1 AND status IS NULL OR\r\n statu" +
|
||||
"s = @Original_status) AND (@IsNull_pdate = 1 AND pdate IS NULL OR\r\n " +
|
||||
" pdate = @Original_pdate) AND (@IsNull_name = 1 AND name IS NULL OR\r\n " +
|
||||
" name = @Original_name) AND (@IsNull_usermain = 1 AND usermain IS NULL OR\r\n " +
|
||||
" usermain = @Original_usermain) AND (@IsNull_usersub = 1 AND usersu" +
|
||||
"b IS NULL OR\r\n usersub = @Original_usersub) AND (@IsNull_reqstaff " +
|
||||
"= 1 AND reqstaff IS NULL OR\r\n reqstaff = @Original_reqstaff) AND (" +
|
||||
"@IsNull_sdate = 1 AND sdate IS NULL OR\r\n sdate = @Original_sdate) " +
|
||||
"AND (@IsNull_edate = 1 AND edate IS NULL OR\r\n edate = @Original_ed" +
|
||||
"ate) AND (@IsNull_odate = 1 AND odate IS NULL OR\r\n odate = @Origin" +
|
||||
"al_odate) AND (@IsNull_memo = 1 AND memo IS NULL OR\r\n memo = @Orig" +
|
||||
"inal_memo) AND (wuid = @Original_wuid) AND (wdate = @Original_wdate) AND (@IsNul" +
|
||||
"l_rev = 1 AND rev IS NULL OR\r\n rev = @Original_rev) AND (@IsNull_p" +
|
||||
"idx = 1 AND pidx IS NULL OR\r\n pidx = @Original_pidx) AND (@IsNull_" +
|
||||
"userManager = 1 AND userManager IS NULL OR\r\n userManager = @Origin" +
|
||||
"al_userManager) AND (@IsNull_level = 1 AND level IS NULL OR\r\n leve" +
|
||||
"l = @Original_level) AND (@IsNull_part = 1 AND part IS NULL OR\r\n p" +
|
||||
"art = @Original_part) AND (@IsNull_process = 1 AND process IS NULL OR\r\n " +
|
||||
" process = @Original_process) AND (@IsNull_costo = 1 AND costo IS NULL OR\r\n" +
|
||||
" costo = @Original_costo) AND (@IsNull_costn = 1 AND costn IS NULL" +
|
||||
" OR\r\n costn = @Original_costn) AND (@IsNull_cnt = 1 AND cnt IS NUL" +
|
||||
"L OR\r\n cnt = @Original_cnt) AND (@IsNull_ddate = 1 AND ddate IS NU" +
|
||||
"LL OR\r\n ddate = @Original_ddate) AND (@IsNull_progress = 1 AND pro" +
|
||||
"gress IS NULL OR\r\n progress = @Original_progress) AND (@IsNull_imp" +
|
||||
"ort = 1 AND import IS NULL OR\r\n import = @Original_import) AND (@I" +
|
||||
"sNull_asset = 1 AND asset IS NULL OR\r\n asset = @Original_asset) AN" +
|
||||
"D (@IsNull_isdel = 1 AND isdel IS NULL OR\r\n isdel = @Original_isde" +
|
||||
"l) AND (@IsNull_path = 1 AND path IS NULL OR\r\n path = @Original_pa" +
|
||||
"th) AND (@IsNull_userhw2 = 1 AND userhw2 IS NULL OR\r\n userhw2 = @O" +
|
||||
"riginal_userhw2); \r\nSELECT idx, status, pdate, name, usermain, usersub, reqstaff" +
|
||||
", sdate, edate, odate, memo, wuid, wdate, rev, pidx, userManager, level, part, p" +
|
||||
"rocess, costo, costn, cnt, remark_req, remark_ans, ddate, progress, import, asse" +
|
||||
"t, isdel, path, userhw2 FROM Projects WHERE (idx = @idx) ORDER BY (CASE WHEN [st" +
|
||||
"atus] = \'검토\' THEN \'0\' WHEN ([status] = \'진행\') THEN \'1\' WHEN ([status] = \'보류\') THE" +
|
||||
"N \'2\' WHEN ([status] = \'완료\') THEN \'3\' WHEN ([status] = \'취소\') THEN \'9\' ELSE \'5\' E" +
|
||||
"ND)";
|
||||
this._adapter.UpdateCommand.CommandText = @"UPDATE Projects
|
||||
SET status = @status, pdate = @pdate, name = @name, usermain = @usermain, usersub = @usersub, reqstaff = @reqstaff, sdate = @sdate, edate = @edate, odate = @odate, memo = @memo,
|
||||
wuid = @wuid, wdate = @wdate, rev = @rev, pidx = @pidx, userManager = @userManager, level = @level, part = @part, process = @process, costo = @costo, costn = @costn, cnt = @cnt,
|
||||
remark_req = @remark_req, remark_ans = @remark_ans, ddate = @ddate, progress = @progress, import = @import, asset = @asset, isdel = @isdel, path = @path, userhw2 = @userhw2,
|
||||
orderno = @orderno
|
||||
WHERE (idx = @Original_idx);
|
||||
SELECT idx, 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, progress, import, asset, isdel, path, userhw2 FROM 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, "", "", ""));
|
||||
@@ -7480,60 +7443,6 @@ SELECT idx, status, pdate, name, usermain, usersub, reqstaff, sdate, edate, odat
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@userhw2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@orderno", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "orderno", 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("@IsNull_status", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_status", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "status", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pdate", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "pdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_name", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_name", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_usermain", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_usermain", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "usermain", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_usersub", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_usersub", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "usersub", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_reqstaff", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_reqstaff", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "reqstaff", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_sdate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_sdate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "sdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_edate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_edate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "edate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_odate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_odate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "odate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_memo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_memo", global::System.Data.SqlDbType.NVarChar, 255, global::System.Data.ParameterDirection.Input, 0, 0, "memo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wuid", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "wuid", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_rev", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_rev", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "rev", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_pidx", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_pidx", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "pidx", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userManager", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userManager", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userManager", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_level", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_level", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "level", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_part", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_part", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "part", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_process", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_process", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "process", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costo", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costo", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "costo", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_costn", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_costn", global::System.Data.SqlDbType.Float, 8, global::System.Data.ParameterDirection.Input, 0, 0, "costn", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_cnt", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_cnt", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "cnt", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_ddate", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_ddate", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "ddate", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_progress", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_progress", global::System.Data.SqlDbType.Int, 4, global::System.Data.ParameterDirection.Input, 0, 0, "progress", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_import", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_import", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "import", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_asset", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "asset", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_asset", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "asset", 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, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_isdel", global::System.Data.SqlDbType.Bit, 1, global::System.Data.ParameterDirection.Input, 0, 0, "isdel", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_path", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_path", global::System.Data.SqlDbType.VarChar, 300, global::System.Data.ParameterDirection.Input, 0, 0, "path", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@IsNull_userhw2", global::System.Data.SqlDbType.Int, 0, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", global::System.Data.DataRowVersion.Original, true, null, "", "", ""));
|
||||
this._adapter.UpdateCommand.Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_userhw2", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "userhw2", 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, "", "", ""));
|
||||
}
|
||||
|
||||
@@ -8015,34 +7924,6 @@ WHERE (ISNULL(name, N'') LIKE @search OR
|
||||
string userhw2,
|
||||
string orderno,
|
||||
int Original_idx,
|
||||
string Original_status,
|
||||
string Original_pdate,
|
||||
string Original_name,
|
||||
string Original_usermain,
|
||||
string Original_usersub,
|
||||
string Original_reqstaff,
|
||||
string Original_sdate,
|
||||
string Original_edate,
|
||||
string Original_odate,
|
||||
string Original_memo,
|
||||
string Original_wuid,
|
||||
System.DateTime Original_wdate,
|
||||
global::System.Nullable<int> Original_rev,
|
||||
global::System.Nullable<int> Original_pidx,
|
||||
string Original_userManager,
|
||||
global::System.Nullable<int> Original_level,
|
||||
string Original_part,
|
||||
string Original_process,
|
||||
global::System.Nullable<double> Original_costo,
|
||||
global::System.Nullable<double> Original_costn,
|
||||
global::System.Nullable<int> Original_cnt,
|
||||
string Original_ddate,
|
||||
global::System.Nullable<int> Original_progress,
|
||||
global::System.Nullable<bool> Original_import,
|
||||
string Original_asset,
|
||||
global::System.Nullable<bool> Original_isdel,
|
||||
string Original_path,
|
||||
string Original_userhw2,
|
||||
int idx) {
|
||||
if ((status == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[0].Value = global::System.DBNull.Value;
|
||||
@@ -8226,222 +8107,7 @@ WHERE (ISNULL(name, N'') LIKE @search OR
|
||||
this.Adapter.UpdateCommand.Parameters[30].Value = ((string)(orderno));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[31].Value = ((int)(Original_idx));
|
||||
if ((Original_status == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[32].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[33].Value = ((string)(Original_status));
|
||||
}
|
||||
if ((Original_pdate == 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_pdate));
|
||||
}
|
||||
if ((Original_name == 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_name));
|
||||
}
|
||||
if ((Original_usermain == 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_usermain));
|
||||
}
|
||||
if ((Original_usersub == 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_usersub));
|
||||
}
|
||||
if ((Original_reqstaff == 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_reqstaff));
|
||||
}
|
||||
if ((Original_sdate == 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_sdate));
|
||||
}
|
||||
if ((Original_edate == 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_edate));
|
||||
}
|
||||
if ((Original_odate == 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_odate));
|
||||
}
|
||||
if ((Original_memo == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[50].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[51].Value = ((string)(Original_memo));
|
||||
}
|
||||
if ((Original_wuid == null)) {
|
||||
throw new global::System.ArgumentNullException("Original_wuid");
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[52].Value = ((string)(Original_wuid));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[53].Value = ((System.DateTime)(Original_wdate));
|
||||
if ((Original_rev.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = ((int)(Original_rev.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[54].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[55].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_pidx.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = ((int)(Original_pidx.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[56].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[57].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_userManager == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[58].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[59].Value = ((string)(Original_userManager));
|
||||
}
|
||||
if ((Original_level.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = ((int)(Original_level.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[60].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[61].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_part == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[62].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[63].Value = ((string)(Original_part));
|
||||
}
|
||||
if ((Original_process == 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_process));
|
||||
}
|
||||
if ((Original_costo.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = ((double)(Original_costo.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[66].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[67].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_costn.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = ((double)(Original_costn.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[68].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[69].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_cnt.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = ((int)(Original_cnt.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[70].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[71].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_ddate == 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_ddate));
|
||||
}
|
||||
if ((Original_progress.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = ((int)(Original_progress.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[74].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[75].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_import.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = ((bool)(Original_import.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[76].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[77].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_asset == 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_asset));
|
||||
}
|
||||
if ((Original_isdel.HasValue == true)) {
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = ((bool)(Original_isdel.Value));
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[80].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[81].Value = global::System.DBNull.Value;
|
||||
}
|
||||
if ((Original_path == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[83].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[82].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[83].Value = ((string)(Original_path));
|
||||
}
|
||||
if ((Original_userhw2 == null)) {
|
||||
this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(1));
|
||||
this.Adapter.UpdateCommand.Parameters[85].Value = global::System.DBNull.Value;
|
||||
}
|
||||
else {
|
||||
this.Adapter.UpdateCommand.Parameters[84].Value = ((object)(0));
|
||||
this.Adapter.UpdateCommand.Parameters[85].Value = ((string)(Original_userhw2));
|
||||
}
|
||||
this.Adapter.UpdateCommand.Parameters[86].Value = ((int)(idx));
|
||||
this.Adapter.UpdateCommand.Parameters[32].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