mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-08-14 02:03:54 +08:00
update
This commit is contained in:
@@ -1077,21 +1077,6 @@ public class PileStationInfoServiceImpl implements PileStationInfoService {
|
||||
// 获取站点id,如果为空,则默认查询该账号下所有站点
|
||||
// String stationId = dto.getStationId();
|
||||
List<String> stationIds = dto.getStationIds();
|
||||
if (CollectionUtils.isNotEmpty(stationIds)) {
|
||||
List<MerchantInfoVO> merchantInfoVOList = UserUtils.getMerchantInfoVOList();
|
||||
List<String> merchantIds = merchantInfoVOList.stream()
|
||||
.map(MerchantInfoVO::getMerchantId)
|
||||
.collect(Collectors.toList());
|
||||
// 根据运营商ids查出所有站点id
|
||||
List<PileStationInfo> pileStationInfos = getStationInfosByMerchantIds(merchantIds);
|
||||
stationIds = pileStationInfos.stream()
|
||||
.map(x -> String.valueOf(x.getId()))
|
||||
.collect(Collectors.toList());
|
||||
if (CollectionUtils.isEmpty(pileStationInfos)) {
|
||||
// 未查到该运营商下的站点
|
||||
throw new BusinessException(ReturnCodeEnum.CODE_SELECT_INFO_IS_NULL);
|
||||
}
|
||||
}
|
||||
// 日期区间
|
||||
// String startTime = null;
|
||||
// String endTime = null;
|
||||
|
||||
Reference in New Issue
Block a user