0918优化-电表报表-尖峰平谷日差值显示
This commit is contained in:
@ -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>
|
||||
Reference in New Issue
Block a user