From 8b9e98193afd3c33418261d2fab78bb986fcf07d Mon Sep 17 00:00:00 2001 From: gaofei <181547018@qq.com> Date: Mon, 19 Sep 2022 10:58:28 +0800 Subject: [PATCH] 0919 --- SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx.cs b/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx.cs index 8d7b4002..e1727c38 100644 --- a/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx.cs +++ b/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx.cs @@ -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 listCategories = new List(); 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 listCategories = new List(); 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++) {