소스 검색

修改驾驶舱首页查询

chenhongyan1989 1 년 전
부모
커밋
eb5c792e3a
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      energy-manage-service/src/main/resources/mybatis/windexceptioncount/WindExceptionCountMapper.xml

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

@@ -46,12 +46,15 @@
     <select id="selectByfieldCodes" parameterType="java.lang.String" resultType="com.energy.manage.service.domain.vo.windexceptioncount.WindExceptionCountVo">
         select
             count.*,
+            engine.engine_name,
             batch.field_code,
             batch.field_name
         from
             wind_exception_count count
         left join wind_field_batch batch
         on batch.batch_code = count.batch_code
+        left join wind_engine_group engine
+        on engine.engine_code = count.engine_code
         where
             batch.batch_code in (
                 select distinct