mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 首页订单数据新增时间选择器
This commit is contained in:
@@ -19,4 +19,8 @@ public class IndexQueryDTO extends BaseEntity {
|
|||||||
private String stationId;
|
private String stationId;
|
||||||
|
|
||||||
private List<String> stationIdList;
|
private List<String> stationIdList;
|
||||||
|
|
||||||
|
private String startTime;
|
||||||
|
|
||||||
|
private String endTime;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2787,7 +2787,8 @@
|
|||||||
total_amount as totalOrderAmount
|
total_amount as totalOrderAmount
|
||||||
from settle_order_report
|
from settle_order_report
|
||||||
where del_flag = '0'
|
where del_flag = '0'
|
||||||
and date(trade_date) >= DATE_SUB(CURDATE(), INTERVAL 30 day)
|
<!-- and date(trade_date) >= DATE_SUB(CURDATE(), INTERVAL 30 day)-->
|
||||||
|
and trade_date between #{dto.startTime,jdbcType=VARCHAR} and #{dto.endTime,jdbcType=VARCHAR}
|
||||||
<if test="dto.stationId != null and dto.stationId != ''">
|
<if test="dto.stationId != null and dto.stationId != ''">
|
||||||
and station_id = #{dto.stationId,jdbcType=VARCHAR}
|
and station_id = #{dto.stationId,jdbcType=VARCHAR}
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user