mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-19 06:39:50 +08:00
修改首页数据接口bug
This commit is contained in:
@@ -1989,7 +1989,6 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
|||||||
// return orderBasicInfoMapper.getIndexOrderInfo(dto);
|
// return orderBasicInfoMapper.getIndexOrderInfo(dto);
|
||||||
List<IndexOrderInfoVO> voList = orderBasicInfoMapper.getIndexOrderInfoV2(dto);
|
List<IndexOrderInfoVO> voList = orderBasicInfoMapper.getIndexOrderInfoV2(dto);
|
||||||
|
|
||||||
|
|
||||||
Map<String, List<IndexOrderInfoVO>> map = voList.stream().collect(Collectors.groupingBy(IndexOrderInfoVO::getDate));
|
Map<String, List<IndexOrderInfoVO>> map = voList.stream().collect(Collectors.groupingBy(IndexOrderInfoVO::getDate));
|
||||||
|
|
||||||
List<IndexOrderInfoVO> resultList = Lists.newArrayList();
|
List<IndexOrderInfoVO> resultList = Lists.newArrayList();
|
||||||
|
|||||||
@@ -2701,7 +2701,8 @@
|
|||||||
use_electricity AS totalElectricity,
|
use_electricity AS totalElectricity,
|
||||||
total_amount as totalOrderAmount
|
total_amount as totalOrderAmount
|
||||||
from settle_order_report
|
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 != ''">
|
<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