fix:项目级
This commit is contained in:
@@ -847,17 +847,17 @@ namespace FineUIPro.Web.common
|
||||
{
|
||||
if (pids == null)
|
||||
{
|
||||
var znum = (from x in Funs.DB.GJSX select x).Count();
|
||||
var znum = (from x in Funs.DB.GJSX where x.State != "1" select x).Count();
|
||||
divGjsxzj.InnerHtml = znum.ToString();
|
||||
|
||||
var dqnum = (from x in Funs.DB.GJSX
|
||||
where x.CompleteDate <= DateTime.Now
|
||||
where x.CompleteDate <= DateTime.Now && x.State != "1"
|
||||
select x).Count().ToString();
|
||||
divGjsxdq.InnerHtml = dqnum;
|
||||
|
||||
var wzdnum = (from x in Funs.DB.GJSX
|
||||
where x.CompleteDate <= DateTime.Now
|
||||
&& x.State != "0"
|
||||
&& x.State != "0" && x.State != "1"
|
||||
select x).Count().ToString();
|
||||
divGjsxwzd.InnerHtml = wzdnum;
|
||||
|
||||
@@ -870,18 +870,18 @@ namespace FineUIPro.Web.common
|
||||
else
|
||||
{
|
||||
var znum = (from x in Funs.DB.GJSX
|
||||
where pids.Contains(x.ProjectId)
|
||||
where pids.Contains(x.ProjectId) && x.State != "1"
|
||||
select x).Count();
|
||||
divGjsxzj.InnerHtml = znum.ToString();
|
||||
|
||||
var dqnum = (from x in Funs.DB.GJSX
|
||||
where x.CompleteDate <= DateTime.Now && pids.Contains(x.ProjectId)
|
||||
where x.CompleteDate <= DateTime.Now && pids.Contains(x.ProjectId) && x.State != "1"
|
||||
select x).Count().ToString();
|
||||
divGjsxdq.InnerHtml = dqnum;
|
||||
|
||||
var wzdnum = (from x in Funs.DB.GJSX
|
||||
where x.CompleteDate <= DateTime.Now
|
||||
&& x.State != "0" && pids.Contains(x.ProjectId)
|
||||
&& x.State != "0" && pids.Contains(x.ProjectId) && x.State != "1"
|
||||
select x).Count().ToString();
|
||||
divGjsxwzd.InnerHtml = wzdnum;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user