1125-gaofei-首页只显示未关闭的关键事项数据
This commit is contained in:
parent
77a1316da5
commit
2829654a33
|
@ -432,9 +432,9 @@ namespace FineUIPro.Web.common
|
||||||
{
|
{
|
||||||
var getGJSX = (from x in Funs.DB.GJSX
|
var getGJSX = (from x in Funs.DB.GJSX
|
||||||
join y in Funs.DB.Base_QuestionType on x.QuestionTypeID equals y.QuestionTypeID
|
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
|
orderby x.CreateDate
|
||||||
select new { x.GJSXID,x.Detail,x.CreateDate,x.ProjectId,y.QuestionTypeName}).Distinct().Take(20);
|
select new { x.GJSXID, x.Detail, x.CreateDate, x.ProjectId, y.QuestionTypeName }).Distinct().Take(20);
|
||||||
string strNoticeHtml = string.Empty;
|
string strNoticeHtml = string.Empty;
|
||||||
var readIds = from x in Funs.DB.Sys_UserRead where x.UserId == this.CurrUser.UserId select x.DataId;
|
var readIds = from x in Funs.DB.Sys_UserRead where x.UserId == this.CurrUser.UserId select x.DataId;
|
||||||
foreach (var item in getGJSX)
|
foreach (var item in getGJSX)
|
||||||
|
|
|
@ -248,7 +248,7 @@ namespace FineUIPro.Web.common
|
||||||
{
|
{
|
||||||
var getGJSX = (from x in Funs.DB.GJSX
|
var getGJSX = (from x in Funs.DB.GJSX
|
||||||
join y in Funs.DB.Base_QuestionType on x.QuestionTypeID equals y.QuestionTypeID
|
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
|
orderby x.CreateDate
|
||||||
select new { x.GJSXID, x.Detail, x.CreateDate, x.ProjectId, y.QuestionTypeName }).Distinct().Take(20);
|
select new { x.GJSXID, x.Detail, x.CreateDate, x.ProjectId, y.QuestionTypeName }).Distinct().Take(20);
|
||||||
string strNoticeHtml = string.Empty;
|
string strNoticeHtml = string.Empty;
|
||||||
|
|
Loading…
Reference in New Issue