From ff7fe68b58a67e602d2e51e1761d0cd55d6a4edd Mon Sep 17 00:00:00 2001 From: Guoqs <123@jsowell.com> Date: Tue, 13 Aug 2024 14:39:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A8=E9=80=81=E7=AC=AC=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pile/mapper/PileStationInfoMapper.java | 4 +- .../pile/service/PileStationInfoService.java | 4 +- .../impl/PileStationInfoServiceImpl.java | 7 +- .../mapper/pile/PileStationInfoMapper.xml | 78 ++++++++++++++++++- .../impl/ZheJiangPlatformServiceImpl.java | 22 ++++-- 5 files changed, 106 insertions(+), 9 deletions(-) diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/PileStationInfoMapper.java b/jsowell-pile/src/main/java/com/jsowell/pile/mapper/PileStationInfoMapper.java index 646e51533..1356307e4 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/mapper/PileStationInfoMapper.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/mapper/PileStationInfoMapper.java @@ -81,7 +81,9 @@ public interface PileStationInfoMapper { * 查询充电站信息(联联平台,分页使用) * @return */ - List getStationInfoForLianLian(@Param("dto") QueryStationInfoDTO dto); + List getStationInfoForThirdParty(@Param("dto") QueryStationInfoDTO dto); + + List selectStationInfoForThirdParty(@Param("dto") QueryStationInfoDTO dto); List getStationInfoForAmap(@Param("dto") GetStationInfoDTO dto); diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/PileStationInfoService.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/PileStationInfoService.java index 601b22401..59e9b275c 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/PileStationInfoService.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/PileStationInfoService.java @@ -119,7 +119,9 @@ public interface PileStationInfoService { List getStationInfosByThirdParty(QueryStationInfoDTO dto); - List getStationInfosByAmap(GetStationInfoDTO dto); + List selectStationInfosByThirdParty(QueryStationInfoDTO dto); + + List getStationInfosByAmap(GetStationInfoDTO dto); List queryByStationDeptIds(List stationIds); diff --git a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java index 39b651e2b..954fda27f 100644 --- a/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java +++ b/jsowell-pile/src/main/java/com/jsowell/pile/service/impl/PileStationInfoServiceImpl.java @@ -235,7 +235,12 @@ public class PileStationInfoServiceImpl implements PileStationInfoService { @Override public List getStationInfosByThirdParty(QueryStationInfoDTO dto) { // PageUtils.startPage(pageNum, pageSize); - return pileStationInfoMapper.getStationInfoForLianLian(dto); + return pileStationInfoMapper.getStationInfoForThirdParty(dto); + } + + @Override + public List selectStationInfosByThirdParty(QueryStationInfoDTO dto) { + return pileStationInfoMapper.selectStationInfoForThirdParty(dto); } @Override diff --git a/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml b/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml index c9a5a28e7..e519ba024 100644 --- a/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml +++ b/jsowell-pile/src/main/resources/mapper/pile/PileStationInfoMapper.xml @@ -427,7 +427,7 @@ and del_flag = '0' - SELECT t1.id, t1.merchant_id AS merchantId, @@ -499,6 +499,82 @@ + +