프로젝트편집에 일 업무현황 등록과 todo 항목 추가

This commit is contained in:
chi
2021-01-12 21:42:36 +09:00
parent dbe1a6cb87
commit 445bbe3514
42 changed files with 11628 additions and 1244 deletions

View File

@@ -6973,9 +6973,12 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
this._commandCollection[5].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@wdate", global::System.Data.SqlDbType.DateTime, 8, global::System.Data.ParameterDirection.Input, 0, 0, "wdate", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[6].Connection = this.Connection;
this._commandCollection[6].CommandText = "UPDATE Users\r\nSET dept = @dept\r\nWHERE (id = @Original_id); ";
this._commandCollection[6].CommandText = "UPDATE Users\r\nSET dept = @dept,name=@name,ads_title=@title\r\nWHERE (id = " +
"@Original_id); ";
this._commandCollection[6].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@dept", global::System.Data.SqlDbType.VarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "dept", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@name", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "name", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@title", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "ads_title", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[6].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@Original_id", global::System.Data.SqlDbType.VarChar, 20, global::System.Data.ParameterDirection.Input, 0, 0, "id", global::System.Data.DataRowVersion.Original, false, null, "", "", ""));
}
@@ -7676,7 +7679,7 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
[global::System.ComponentModel.Design.HelpKeywordAttribute("vs.data.TableAdapter")]
[global::System.ComponentModel.DataObjectMethodAttribute(global::System.ComponentModel.DataObjectMethodType.Update, false)]
public virtual int UpdateDept(string dept, string Original_id) {
public virtual int UpdateDept(string dept, string name, string title, string Original_id) {
global::System.Data.SqlClient.SqlCommand command = this.CommandCollection[6];
if ((dept == null)) {
command.Parameters[0].Value = global::System.DBNull.Value;
@@ -7684,11 +7687,23 @@ SELECT id, password, nameE, name, dept, grade, email, level, indate, outdate, te
else {
command.Parameters[0].Value = ((string)(dept));
}
if ((name == null)) {
command.Parameters[1].Value = global::System.DBNull.Value;
}
else {
command.Parameters[1].Value = ((string)(name));
}
if ((title == null)) {
command.Parameters[2].Value = global::System.DBNull.Value;
}
else {
command.Parameters[2].Value = ((string)(title));
}
if ((Original_id == null)) {
throw new global::System.ArgumentNullException("Original_id");
}
else {
command.Parameters[1].Value = ((string)(Original_id));
command.Parameters[3].Value = ((string)(Original_id));
}
global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
if (((command.Connection.State & global::System.Data.ConnectionState.Open)