From 12f3164e2b701789e56e7b6f08db83471e3f0796 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 13 四月 2026 20:43:47 +0800
Subject: [PATCH] Merge branch '1.0' of http://120.76.84.145:10101/gitblit/r/java/Robotaxi into 1.0
---
xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/service/serviceimpl/XpPointServiceImpl.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/service/serviceimpl/XpPointServiceImpl.java b/xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/service/serviceimpl/XpPointServiceImpl.java
index 3abc61c..6f1e576 100644
--- a/xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/service/serviceimpl/XpPointServiceImpl.java
+++ b/xp-robotaxi-map-boot/src/main/java/com/xiaopeng/map/service/serviceimpl/XpPointServiceImpl.java
@@ -34,10 +34,10 @@
import com.xiaopeng.map.dto.NearestDto;
import com.xiaopeng.map.dto.StationDetailQueryDto;
import com.xiaopeng.map.mapper.XpPointMapper;
+import com.xiaopeng.map.mapper.XpElectronicFenceMapper;
import com.xiaopeng.map.mapper.XpRegionMapper;
import com.xiaopeng.map.mapper.XpSystemSettingMapper;
import com.xiaopeng.map.query.PointByNameQuery;
-import com.xiaopeng.map.service.XpElectronicFenceService;
import com.xiaopeng.map.service.XpElectronicFenceAreaService;
import com.xiaopeng.map.service.XpPointService;
import com.xiaopeng.map.service.XpStationService;
@@ -101,7 +101,7 @@
private XpElectronicFenceAreaService xpElectronicFenceAreaService;
@Resource
- private XpElectronicFenceService xpElectronicFenceService;
+ private XpElectronicFenceMapper xpElectronicFenceMapper;
@Resource
private XpStationService xpStationService;
@@ -525,7 +525,7 @@
if (CollUtil.isEmpty(fenceIds)) {
return Collections.emptyMap();
}
- return xpElectronicFenceService.listByIds(fenceIds).stream()
+ return xpElectronicFenceMapper.selectBatchIds(fenceIds).stream()
.collect(Collectors.toMap(XpElectronicFence::getId, fence -> fence, (a, b) -> a));
}
@@ -547,7 +547,7 @@
if (area == null || !Integer.valueOf(1).equals(area.getAreaStatus()) || area.getElectronicId() == null) {
return false;
}
- XpElectronicFence fence = xpElectronicFenceService.getById(area.getElectronicId());
+ XpElectronicFence fence = xpElectronicFenceMapper.selectById(area.getElectronicId());
return isFenceAvailable(fence);
}
if (Integer.valueOf(2).equals(station.getOperationType())
--
Gitblit v1.7.1