平台修改意见20251120-设备点位匹配解析;上传点位清单修改;
This commit is contained in:
@ -177,4 +177,18 @@
|
||||
where t.`year` = #{currentYear}
|
||||
and t.`month` = #{currentMonth}
|
||||
</select>
|
||||
<select id="getConfigListByTimeFrame" resultType="com.xzzn.ems.domain.EmsEnergyPriceConfig">
|
||||
<include refid="selectEmsEnergyPriceConfigVo"/>
|
||||
<where>
|
||||
<if test="siteId != null and siteId != ''">
|
||||
and site_id = #{siteId}
|
||||
</if>
|
||||
<if test="startTime != null and endTime != null">
|
||||
and STR_TO_DATE(CONCAT(year, '-', month, '-01'), '%Y-%m-%d') between #{startTime} and #{endTime}
|
||||
</if>
|
||||
</where>
|
||||
order by
|
||||
`year` asc,
|
||||
`month` desc;
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user