0919
This commit is contained in:
@@ -15,7 +15,7 @@ namespace FineUIPro.Web
|
|||||||
{
|
{
|
||||||
if (!IsPostBack)
|
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)
|
if (oneOKRates.Count() > 0)
|
||||||
{
|
{
|
||||||
int totalNum = 0, oKNum = 0;
|
int totalNum = 0, oKNum = 0;
|
||||||
@@ -68,7 +68,7 @@ namespace FineUIPro.Web
|
|||||||
Model.BusinessColumn businessColumn = new Model.BusinessColumn();
|
Model.BusinessColumn businessColumn = new Model.BusinessColumn();
|
||||||
List<string> listCategories = new List<string>();
|
List<string> listCategories = new List<string>();
|
||||||
businessColumn.title = "一次合格率";
|
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();
|
var units = views.Select(x => x.UnitName).Distinct().ToList();
|
||||||
for (int i = 0; i < units.Count; i++)
|
for (int i = 0; i < units.Count; i++)
|
||||||
{
|
{
|
||||||
@@ -117,7 +117,7 @@ namespace FineUIPro.Web
|
|||||||
Model.BusinessColumn businessColumn = new Model.BusinessColumn();
|
Model.BusinessColumn businessColumn = new Model.BusinessColumn();
|
||||||
List<string> listCategories = new List<string>();
|
List<string> listCategories = new List<string>();
|
||||||
businessColumn.title = "一次合格率";
|
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();
|
var devices = views.Select(x => x.DeviceName).Distinct().ToList();
|
||||||
for (int i = 0; i < devices.Count; i++)
|
for (int i = 0; i < devices.Count; i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user