修改首页数据接口bug

This commit is contained in:
Guoqs
2024-06-14 15:48:42 +08:00
parent f77fcfec80
commit 0c74b24210
2 changed files with 2 additions and 2 deletions

View File

@@ -2701,7 +2701,8 @@
use_electricity AS totalElectricity,
total_amount as totalOrderAmount
from settle_order_report
where date(trade_date) >= DATE_SUB(CURDATE(), INTERVAL 30 day)
where del_flag = '0'
and date(trade_date) >= DATE_SUB(CURDATE(), INTERVAL 30 day)
<if test="dto.stationId != null and dto.stationId != ''">
and station_id = #{dto.stationId,jdbcType=VARCHAR}
</if>