扬尘查询慢修复

This commit is contained in:
guoshengxiong 2025-07-01 13:40:30 +08:00
parent 13cf189faa
commit 121deb6de5

View File

@ -149,7 +149,7 @@
<if test="deviceId != null and deviceId != ''"> <if test="deviceId != null and deviceId != ''">
and device_id = #{deviceId} and device_id = #{deviceId}
</if> </if>
and upload_date >= CURRENT_DATE and upload_date >= DATE_FORMAT(CURRENT_DATE,'%Y-%m-%d 00:00:00')
group by time group by time
</select> </select>
</mapper> </mapper>