mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
订单日报计算前一天结算完成的订单
This commit is contained in:
@@ -73,4 +73,14 @@ public class QueryOrderDTO extends BaseEntity {
|
||||
// private int pageNum;
|
||||
|
||||
private List<String> orderCodeList;
|
||||
|
||||
/**
|
||||
* 结算开始时间
|
||||
*/
|
||||
private String startSettleTime;
|
||||
|
||||
/**
|
||||
* 结算结束时间
|
||||
*/
|
||||
private String endSettleTime;
|
||||
}
|
||||
|
||||
@@ -1985,7 +1985,7 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
return;
|
||||
}
|
||||
PileStationVO stationInfo = pileStationInfoService.getStationInfo(stationId);
|
||||
// 查询站点前一天完成的订单
|
||||
// 查询站点前一天结算完成的订单
|
||||
QueryOrderDTO dto = new QueryOrderDTO();
|
||||
dto.setStationId(stationId);
|
||||
|
||||
@@ -1998,8 +1998,8 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
String startTime = DateUtils.formatDateTime(LocalDateTime.of(parse, LocalTime.MIN));
|
||||
String endTime = DateUtils.formatDateTime(LocalDateTime.of(parse, LocalTime.MAX));
|
||||
|
||||
dto.setStartTime(startTime);
|
||||
dto.setEndTime(endTime);
|
||||
dto.setStartSettleTime(startTime);
|
||||
dto.setEndSettleTime(endTime);
|
||||
List<OrderListVO> orderListVOS = orderBasicInfoMapper.selectOrderBasicInfoList(dto);
|
||||
if (CollectionUtils.isEmpty(orderListVOS)) {
|
||||
logger.warn("站点:{}, 在{}-{}没有查询到订单数据", stationInfo.getStationName(), startTime, endTime);
|
||||
|
||||
Reference in New Issue
Block a user