修改单位工程列表显示

This commit is contained in:
2023-10-26 10:28:59 +08:00
parent ba08ec9444
commit cbade017ff
2 changed files with 2 additions and 2 deletions
@@ -57,7 +57,7 @@ namespace FineUIPro.Web.ProjectData
protected DataTable ChecklistData()
{
string strSql = @"select * from [dbo].[WBS_UnitWork] AS UnitWork where ProjectId=@ProjectId ";
string strSql = @"select *,case ProjectType when '1' then '建筑工程' else '安装工程' end as ProjectTypeName from [dbo].[WBS_UnitWork] AS UnitWork where ProjectId=@ProjectId ";
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));