Sfoglia il codice sorgente

[电表][修复]:数据库访问函数名不匹配

release_toaliyun_real
hupeng 6 anni fa
parent
commit
2cc34bc846
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. +3
    -2
      mallinkService/src/main/resources/mapper/KwMeterDataMapper.xml

+ 3
- 2
mallinkService/src/main/resources/mapper/KwMeterDataMapper.xml Vedi File

@@ -62,7 +62,7 @@
<include refid="dynamicWhereConditions"/>
</select>

<select id="listLastRecordList" parameterType="com.iformall.domain.po.KwMeter" resultMap="BaseResultMap">
<select id="findLastRecordList" parameterType="com.iformall.domain.po.KwMeter" resultMap="BaseResultMap">
select
<include refid="allColumns"/>
from kw_meter_data
@@ -78,7 +78,8 @@
<foreach collection="ids" index="index" item="idItem" open="(" separator="," close=")">
#{idItem}
</foreach>
group by `meter_id`) temp
group by `meter_id`
) temp
where
create_time = temp.maxTime
and meter_id = temp.maxMeterId


Caricamento…
Annulla
Salva