五环大屏;进度管理;等
This commit is contained in:
@@ -123,7 +123,7 @@ namespace FineUIPro.Web.JDGL.Check
|
||||
/// <returns></returns>
|
||||
private DataTable BindData()
|
||||
{
|
||||
string strSql = @"select mp.*,u.UnitName
|
||||
string strSql = @"select mp.*,u.UnitName,case mp.IsOK when 1 then '已完成' when 0 then '未完成' else '' end as IsOKStr
|
||||
,DutyPersonName = STUFF((SELECT ',' + p.UserName FROM dbo.Sys_User as p where PATINDEX('%,' + RTRIM(p.UserId) + ',%', ',' + mp.DutyPerson + ',') > 0 FOR XML PATH('')), 1, 1,'')
|
||||
from [dbo].[JDGL_MonthPlan] mp
|
||||
left join Base_Unit u on u.UnitId=mp.UnitId
|
||||
@@ -318,6 +318,9 @@ where mp.ProjectId=@ProjectId and mp.Months=@month order by mp.SortIndex";
|
||||
cell.SetCellValue(realDate);
|
||||
cell = row.CreateCell(6);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(tb.Rows[j]["IsOKStr"].ToString());
|
||||
cell = row.CreateCell(7);
|
||||
cell.CellStyle = cellStyle;
|
||||
cell.SetCellValue(tb.Rows[j]["Remark"].ToString());
|
||||
i++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user