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 @@ + +