Quellcode durchsuchen

异常添加新增返回字段风机名称

chenhongyan1989 vor 11 Monaten
Ursprung
Commit
c70bb690b1

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

@@ -20,6 +20,7 @@
             count.id,
             count.batch_code,
             count.engine_code,
+            engine.engine_name,
             type.type_name as analysis_type_name,
             count.analysis_type_code,
             count.err_count,
@@ -32,6 +33,8 @@
             wind_exception_count count
         left join analysis_type type
         on count.analysis_type_code = type.type_code
+        left join wind_engine_group engine
+        on engine.engine_code = count.engine_code
         where
             count.is_delete = 0
         and count.batch_code = #{batchCode}