设备运行台时 只展示A类设备
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
... | @@ -73,7 +73,7 @@ public class TestMetricInfoController { | ... | @@ -73,7 +73,7 @@ public class TestMetricInfoController { |
73 | JdbcTemplate masterDB = (JdbcTemplate)SpringContextUtils.getBean("master"); | 73 | JdbcTemplate masterDB = (JdbcTemplate)SpringContextUtils.getBean("master"); |
74 | String metricInfoSql = "select ei.equipment_name , t.metric_express1 'gzExpress' , t.metric_express2 'yxExpress' ,t.metric_express3 'tzExpress' from sys_monitor_metric_info t "; | 74 | String metricInfoSql = "select ei.equipment_name , t.metric_express1 'gzExpress' , t.metric_express2 'yxExpress' ,t.metric_express3 'tzExpress' from sys_monitor_metric_info t "; |
75 | metricInfoSql += " left join equipment_info ei on ei.id = t.equipment_code "; | 75 | metricInfoSql += " left join equipment_info ei on ei.id = t.equipment_code "; |
76 | metricInfoSql += " where t.metric_type = 1 and t.depart_id = '"+departId+"' and t.equipment_code > 0 " ; | 76 | metricInfoSql += " where t.metric_type = 1 and t.depart_id = '"+departId+"' and t.equipment_code > 0 and ei.equipment_level = '6bf727eb7e7cca6a95c694dab0036b2c'" ; |
77 | List<MetricInfoVO> metricInfoVOList = masterDB.query(metricInfoSql,new BeanPropertyRowMapper<MetricInfoVO>(MetricInfoVO.class)); | 77 | List<MetricInfoVO> metricInfoVOList = masterDB.query(metricInfoSql,new BeanPropertyRowMapper<MetricInfoVO>(MetricInfoVO.class)); |
78 | 78 | ||
79 | //StringBuffer fields= new StringBuffer(); | 79 | //StringBuffer fields= new StringBuffer(); | ... | ... |
-
请 注册 或 登录 后发表评论