0918优化-电表报表-尖峰平谷日差值显示

This commit is contained in:
2025-10-10 16:10:37 +08:00
parent 636a2ab73b
commit b861ad7593
14 changed files with 766 additions and 34 deletions

View File

@ -148,4 +148,14 @@
where year = #{currentYear}
and month = #{month}
</select>
<select id="getTimeRangeByDate" resultType="com.xzzn.ems.domain.vo.EnergyPriceTimeRange">
select t2.cost_type as costType,
t2.start_time as startTime,
t2.end_time as endTime
from ems_energy_price_config t
left join ems_price_time_config t2 on t.id = t2.price_id
where t.`year` = #{currentYear}
and t.`month` = #{currentMonth}
</select>
</mapper>