修改穿透页面
This commit is contained in:
parent
10d032e347
commit
e9e7949712
|
@ -146,7 +146,7 @@ namespace FineUIPro.Web.DataShow
|
|||
int cout1 = 0;
|
||||
if (projectId != null)
|
||||
{
|
||||
var getT = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue).Distinct().ToList();
|
||||
var getT = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue);
|
||||
cout1 = getT.Count();
|
||||
}
|
||||
return cout1;
|
||||
|
@ -162,7 +162,7 @@ namespace FineUIPro.Web.DataShow
|
|||
int cout1 = 0;
|
||||
if (projectId != null)
|
||||
{
|
||||
var getT = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue && x.IsOnceQualified == true).Distinct().ToList();
|
||||
var getT = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue && x.IsOnceQualified == true);
|
||||
cout1 = getT.Count();
|
||||
}
|
||||
return cout1;
|
||||
|
@ -178,8 +178,8 @@ namespace FineUIPro.Web.DataShow
|
|||
int cout1 = 0;
|
||||
if (projectId != null)
|
||||
{
|
||||
var getT1 = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue).Distinct().ToList();
|
||||
var getT2 = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue && x.IsOnceQualified == true).Distinct().ToList();
|
||||
var getT1 = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue);
|
||||
var getT2 = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue && x.IsOnceQualified == true);
|
||||
cout1 = getT1.Count() - getT2.Count();
|
||||
}
|
||||
return cout1;
|
||||
|
@ -195,8 +195,8 @@ namespace FineUIPro.Web.DataShow
|
|||
string rate = string.Empty;
|
||||
if (projectId != null)
|
||||
{
|
||||
var getT1 = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue).Distinct().ToList();
|
||||
var getT2 = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue && x.IsOnceQualified == true).Distinct().ToList();
|
||||
var getT1 = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue);
|
||||
var getT2 = getDataItemLists.Where(x => x.ProjectId == projectId.ToString() && x.CheckAcceptType == this.rbType.SelectedValue && x.IsOnceQualified == true);
|
||||
if (getT1.Count() > 0)
|
||||
{
|
||||
rate = Math.Round(getT2.Count() * 1.0 / getT1.Count() * 100, 2).ToString();
|
||||
|
|
Loading…
Reference in New Issue