mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 19:45:09 +08:00
bugfix 查询订单列表确定站点id查询条件
This commit is contained in:
@@ -374,9 +374,6 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
if (CollectionUtils.isNotEmpty(dto.getStationIdList())) {
|
||||
stationIdList.addAll(dto.getStationIdList());
|
||||
}
|
||||
if (StringUtils.isNotBlank(dto.getStationId())) {
|
||||
stationIdList.add(dto.getStationId());
|
||||
}
|
||||
if (StringUtils.isNotBlank(dto.getMerchantId())) {
|
||||
List<PileStationInfo> pileStationInfos = pileStationInfoService.selectStationListByMerchantId(Long.parseLong(dto.getMerchantId()));
|
||||
if (CollectionUtils.isNotEmpty(pileStationInfos)) {
|
||||
@@ -386,6 +383,10 @@ public class OrderBasicInfoServiceImpl implements IOrderBasicInfoService {
|
||||
stationIdList.addAll(collect);
|
||||
}
|
||||
}
|
||||
if (StringUtils.isNotBlank(dto.getStationId())) {
|
||||
stationIdList.clear();
|
||||
stationIdList.add(dto.getStationId());
|
||||
}
|
||||
|
||||
OrderTotalDataVO vo = new OrderTotalDataVO();
|
||||
String startTime = dto.getStartTime() == null ? DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD, DateUtils.addDays(new Date(), -7)) : dto.getStartTime(); // 2023-08-16 00:00:00
|
||||
|
||||
Reference in New Issue
Block a user