0919
This commit is contained in:
parent
951c54533d
commit
8b9e98193a
|
@ -15,7 +15,7 @@ namespace FineUIPro.Web
|
|||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
var oneOKRates = from x in Funs.DB.HJGL_FL_OneOKRate where x.ProjectId == this.CurrUser.LoginProjectId select x;
|
||||
var oneOKRates = from x in Funs.DB.HJGL_FL_NdtList where x.ProjectId == this.CurrUser.LoginProjectId select x;
|
||||
if (oneOKRates.Count() > 0)
|
||||
{
|
||||
int totalNum = 0, oKNum = 0;
|
||||
|
@ -68,7 +68,7 @@ namespace FineUIPro.Web
|
|||
Model.BusinessColumn businessColumn = new Model.BusinessColumn();
|
||||
List<string> listCategories = new List<string>();
|
||||
businessColumn.title = "一次合格率";
|
||||
var views = (from x in Funs.DB.HJGL_FL_OneOKRate where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList();
|
||||
var views = (from x in Funs.DB.HJGL_FL_NdtList where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList();
|
||||
var units = views.Select(x => x.UnitName).Distinct().ToList();
|
||||
for (int i = 0; i < units.Count; i++)
|
||||
{
|
||||
|
@ -117,7 +117,7 @@ namespace FineUIPro.Web
|
|||
Model.BusinessColumn businessColumn = new Model.BusinessColumn();
|
||||
List<string> listCategories = new List<string>();
|
||||
businessColumn.title = "一次合格率";
|
||||
var views = (from x in Funs.DB.HJGL_FL_OneOKRate where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList();
|
||||
var views = (from x in Funs.DB.HJGL_FL_NdtList where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList();
|
||||
var devices = views.Select(x => x.DeviceName).Distinct().ToList();
|
||||
for (int i = 0; i < devices.Count; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue