|
@@ -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
|