Browse Source

修改:首页异常数统计接口

chenhongyan1989 4 tháng trước cách đây
mục cha
commit
5bf2dd56fd

+ 3 - 1
energy-manage-service/src/main/resources/mybatis/windexceptioncount/WindExceptionCountMapper.xml

@@ -54,13 +54,15 @@
             count.*,
             engine.engine_name,
             result.field_code,
-            result.field_name
+            wf.field_name
         from
             wind_exception_count count
         left join analysis_result result
         on result.batch_code = count.batch_code
         left join wind_engine_group engine
         on engine.engine_code = count.engine_code
+        left join wind_field wf
+        on result.field_code = wf.field_code
         where count.is_delete = 0
         and result.batch_code in (
                 select distinct