1125-gaofei-首页只显示未关闭的关键事项数据
This commit is contained in:
parent
77a1316da5
commit
2829654a33
|
@ -432,7 +432,7 @@ namespace FineUIPro.Web.common
|
|||
{
|
||||
var getGJSX = (from x in Funs.DB.GJSX
|
||||
join y in Funs.DB.Base_QuestionType on x.QuestionTypeID equals y.QuestionTypeID
|
||||
where (y.QuestionTypeName.Contains("紧急") || y.QuestionTypeName.Contains("重要"))
|
||||
where (y.QuestionTypeName.Contains("紧急") || y.QuestionTypeName.Contains("重要")) && x.State != "0"
|
||||
orderby x.CreateDate
|
||||
select new { x.GJSXID, x.Detail, x.CreateDate, x.ProjectId, y.QuestionTypeName }).Distinct().Take(20);
|
||||
string strNoticeHtml = string.Empty;
|
||||
|
|
|
@ -248,7 +248,7 @@ namespace FineUIPro.Web.common
|
|||
{
|
||||
var getGJSX = (from x in Funs.DB.GJSX
|
||||
join y in Funs.DB.Base_QuestionType on x.QuestionTypeID equals y.QuestionTypeID
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||
where x.ProjectId == this.CurrUser.LoginProjectId && x.State != "0"
|
||||
orderby x.CreateDate
|
||||
select new { x.GJSXID, x.Detail, x.CreateDate, x.ProjectId, y.QuestionTypeName }).Distinct().Take(20);
|
||||
string strNoticeHtml = string.Empty;
|
||||
|
|
Loading…
Reference in New Issue