사용자 로그인 완료하여 테이블 연결 데이터 수정.

This commit is contained in:
chi
2021-03-25 11:28:08 +09:00
parent 43672fabed
commit 3a667f14b1
22 changed files with 3492 additions and 135 deletions

View File

@@ -1563,6 +1563,7 @@ namespace FPJ0000 {
this.columnid.Unique = true;
this.columnid.MaxLength = 20;
this.columnname.MaxLength = 100;
this.columngcode.AllowDBNull = false;
this.columngcode.MaxLength = 10;
}
@@ -2774,12 +2775,7 @@ namespace FPJ0000 {
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public string gcode {
get {
if (this.IsgcodeNull()) {
return string.Empty;
}
else {
return ((string)(this[this.tableProcessUserList.gcodeColumn]));
}
return ((string)(this[this.tableProcessUserList.gcodeColumn]));
}
set {
this[this.tableProcessUserList.gcodeColumn] = value;
@@ -2809,18 +2805,6 @@ namespace FPJ0000 {
public void SetnameNull() {
this[this.tableProcessUserList.nameColumn] = global::System.Convert.DBNull;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public bool IsgcodeNull() {
return this.IsNull(this.tableProcessUserList.gcodeColumn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Data.Design.TypedDataSetGenerator", "16.0.0.0")]
public void SetgcodeNull() {
this[this.tableProcessUserList.gcodeColumn] = global::System.Convert.DBNull;
}
}
/// <summary>
@@ -4127,14 +4111,15 @@ SELECT Users.id, Users.name, Users.gcode FROM Users RIGHT OUTER JOIN JobReport O
this._commandCollection = new global::System.Data.SqlClient.SqlCommand[1];
this._commandCollection[0] = new global::System.Data.SqlClient.SqlCommand();
this._commandCollection[0].Connection = this.Connection;
this._commandCollection[0].CommandText = @"SELECT Users.id, Users.name, Users.gcode
FROM Users RIGHT OUTER JOIN
JobReport ON Users.id = JobReport.uid
WHERE (Users.processs LIKE @process) AND (Users.id <> 'dev') AND (Users.id <> 'test') AND (Users.gcode = @gcode)
GROUP BY Users.id, Users.name, Users.gcode
this._commandCollection[0].CommandText = @"SELECT Users.id, Users.name, JobReport.gcode
FROM EETGW_GroupUser INNER JOIN
JobReport ON EETGW_GroupUser.gcode = JobReport.gcode AND EETGW_GroupUser.uid = JobReport.uid LEFT OUTER JOIN
Users ON JobReport.uid = Users.id
WHERE (Users.id <> 'dev') AND (Users.id <> 'test') AND (EETGW_GroupUser.Process LIKE @process) AND (JobReport.gcode = @gcode)
GROUP BY Users.id, Users.name, JobReport.gcode
ORDER BY Users.name";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.NVarChar, 100, global::System.Data.ParameterDirection.Input, 0, 0, "processs", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@process", global::System.Data.SqlDbType.VarChar, 50, global::System.Data.ParameterDirection.Input, 0, 0, "Process", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
this._commandCollection[0].Parameters.Add(new global::System.Data.SqlClient.SqlParameter("@gcode", global::System.Data.SqlDbType.VarChar, 10, global::System.Data.ParameterDirection.Input, 0, 0, "gcode", global::System.Data.DataRowVersion.Current, false, null, "", "", ""));
}
@@ -4151,7 +4136,7 @@ ORDER BY Users.name";
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(process));
}
if ((gcode == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
throw new global::System.ArgumentNullException("gcode");
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));
@@ -4176,7 +4161,7 @@ ORDER BY Users.name";
this.Adapter.SelectCommand.Parameters[0].Value = ((string)(process));
}
if ((gcode == null)) {
this.Adapter.SelectCommand.Parameters[1].Value = global::System.DBNull.Value;
throw new global::System.ArgumentNullException("gcode");
}
else {
this.Adapter.SelectCommand.Parameters[1].Value = ((string)(gcode));