用户端:所在运营区内的全部站点(运营中
This commit is contained in:
parent
a8e1fd3a63
commit
fe1f19a2b1
@ -159,7 +159,7 @@ public class EbikeSiteRegionServiceImpl extends ServiceImpl<EbikeSiteRegionMappe
|
|||||||
.select(EBIKE_OPERATION_REGION.OPERATION_REGION_ID)
|
.select(EBIKE_OPERATION_REGION.OPERATION_REGION_ID)
|
||||||
.where(EBIKE_OPERATION_REGION.OPERATION_REGION_ID.in(operationRegionIds))
|
.where(EBIKE_OPERATION_REGION.OPERATION_REGION_ID.in(operationRegionIds))
|
||||||
.where(EBIKE_OPERATION_REGION.IN_OPERATION.eq(EbikeRegionInOperation.IN));
|
.where(EBIKE_OPERATION_REGION.IN_OPERATION.eq(EbikeRegionInOperation.IN));
|
||||||
return this.mapper.selectListByQueryAs(queryWrapper,Long.class);
|
return operationRegionMapper.selectListByQueryAs(queryWrapper,Long.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void delImages(Long siteRegionId) throws Exception {
|
private void delImages(Long siteRegionId) throws Exception {
|
||||||
|
|||||||
@ -726,7 +726,7 @@ public class UserOrdersServiceImpl extends ServiceImpl<UserOrdersMapper, EbikeUs
|
|||||||
return Long.valueOf(areaId);
|
return Long.valueOf(areaId);
|
||||||
}).toList();
|
}).toList();
|
||||||
JsonResult<List<Long>> jsonResult = operateFeignClient.operationRegionIdFilter(new ReqBatchRegionDto(ids));
|
JsonResult<List<Long>> jsonResult = operateFeignClient.operationRegionIdFilter(new ReqBatchRegionDto(ids));
|
||||||
if (jsonResult.getCode() == Code.SUCCESS) {
|
if (jsonResult.getCode() != Code.SUCCESS) {
|
||||||
throw new RuntimeException("获取运营区信息错误");
|
throw new RuntimeException("获取运营区信息错误");
|
||||||
}
|
}
|
||||||
List<Long> data = jsonResult.getData();
|
List<Long> data = jsonResult.getData();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user