mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 12:35:07 +08:00
Merge branch 'dev' of http://192.168.2.2:8099/jsowell/jsowell-charger-web into dev
This commit is contained in:
@@ -366,4 +366,6 @@ public interface OrderBasicInfoMapper {
|
||||
* @return
|
||||
*/
|
||||
List<SupStationStatsVO> queryOrderListByStationId(String stationId);
|
||||
|
||||
List<OrderListVO> queryOrderByOccupyTime(QueryOrderDTO dto);
|
||||
}
|
||||
@@ -453,4 +453,11 @@ public interface OrderBasicInfoService{
|
||||
* @return
|
||||
*/
|
||||
List<SupStationStatsVO> queryOrderListByStationId(String stationId);
|
||||
|
||||
/**
|
||||
* 按占用时间查询订单
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
List<OrderListVO> queryOrderByOccupyTime(QueryOrderDTO dto);
|
||||
}
|
||||
|
||||
@@ -3727,5 +3727,10 @@ public class OrderBasicInfoServiceImpl implements OrderBasicInfoService {
|
||||
return orderVOS;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<OrderListVO> queryOrderByOccupyTime(QueryOrderDTO dto) {
|
||||
return orderBasicInfoMapper.queryOrderByOccupyTime(dto);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -324,7 +324,7 @@ public class OrderPileOccupyServiceImpl implements OrderPileOccupyService {
|
||||
// 查询在占桩期间创建的订单
|
||||
dto.setStartTime(DateUtils.formatDateTime(startTime));
|
||||
dto.setEndTime(DateUtils.formatDateTime(endTime));
|
||||
List<OrderListVO> orderListVOS = orderBasicInfoService.selectOrderBasicInfoList(dto);
|
||||
List<OrderListVO> orderListVOS = orderBasicInfoService.queryOrderByOccupyTime(dto);
|
||||
|
||||
/*
|
||||
计算充电时长
|
||||
|
||||
Reference in New Issue
Block a user