This commit is contained in:
chi
2023-06-11 23:03:37 +09:00
parent d9e4974886
commit 800492b1a1
4 changed files with 26 additions and 25 deletions

View File

@@ -3468,14 +3468,11 @@ ORDER BY prj";
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 dbo.getUserName(championid) as username,championid
FROM Projects
WHERE gcode= @gcode
and championid is not null
and isnull(div,'') <> 'EB'
AND [status] in ('검토','보류','진행','완료')
group by championid,dbo.getUserName(championid)
order by username";
this._commandCollection[0].CommandText = @"SELECT dbo.getUserName(championid) AS username, championid
FROM Projects
WHERE (gcode = @gcode) AND (ISNULL(div, '') <> 'EB') AND (status IN ('검토', '보류', '진행', '완료')) AND (ISNULL(championid, '') <> '')
GROUP BY championid, dbo.getUserName(championid)
ORDER BY username";
this._commandCollection[0].CommandType = global::System.Data.CommandType.Text;
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, "", "", ""));
}