mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-24 21:15:06 +08:00
update 平台配置页面
This commit is contained in:
@@ -2,6 +2,7 @@ package com.jsowell.pile.mapper;
|
||||
|
||||
import com.jsowell.pile.domain.ThirdPartyStationRelation;
|
||||
import com.jsowell.pile.vo.base.MerchantInfoVO;
|
||||
import com.jsowell.pile.vo.base.StationInfoVO;
|
||||
import com.jsowell.pile.vo.base.ThirdPartyStationRelationVO;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -87,5 +88,17 @@ public interface ThirdPartyStationRelationMapper {
|
||||
*/
|
||||
int updateRelationDelFlag(@Param("stationId") String stationId, @Param("types") List<String> types);
|
||||
|
||||
/**
|
||||
* 根据第三方平台类型查询对接第三方平台的运营商列表
|
||||
* @param thirdPlatformType
|
||||
* @return
|
||||
*/
|
||||
List<MerchantInfoVO> selectMerchantList(String thirdPlatformType);
|
||||
|
||||
/**
|
||||
* 根据第三方平台类型查询对接第三方平台的站点列表
|
||||
* @param thirdPlatformType
|
||||
* @return
|
||||
*/
|
||||
List<StationInfoVO> selectStationList(String thirdPlatformType);
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ package com.jsowell.pile.service;
|
||||
|
||||
import com.jsowell.pile.domain.ThirdPartyStationRelation;
|
||||
import com.jsowell.pile.vo.base.MerchantInfoVO;
|
||||
import com.jsowell.pile.vo.base.StationInfoVO;
|
||||
import com.jsowell.pile.vo.base.ThirdPartyStationRelationVO;
|
||||
|
||||
import java.util.List;
|
||||
@@ -95,5 +96,17 @@ public interface ThirdPartyStationRelationService {
|
||||
|
||||
int updateRelationDelFlag(String stationId, List<String> types);
|
||||
|
||||
/**
|
||||
* 根据第三方平台类型查询对接第三方平台的运营商列表
|
||||
* @param thirdPlatformType
|
||||
* @return
|
||||
*/
|
||||
List<MerchantInfoVO> selectMerchantList(String thirdPlatformType);
|
||||
|
||||
/**
|
||||
* 根据第三方平台类型查询对接第三方平台的站点列表
|
||||
* @param thirdPlatformType
|
||||
* @return
|
||||
*/
|
||||
List<StationInfoVO> selectStationList(String thirdPlatformType);
|
||||
}
|
||||
|
||||
@@ -8,6 +8,7 @@ import com.jsowell.pile.domain.ThirdPartyStationRelation;
|
||||
import com.jsowell.pile.mapper.ThirdPartyStationRelationMapper;
|
||||
import com.jsowell.pile.service.ThirdPartyStationRelationService;
|
||||
import com.jsowell.pile.vo.base.MerchantInfoVO;
|
||||
import com.jsowell.pile.vo.base.StationInfoVO;
|
||||
import com.jsowell.pile.vo.base.ThirdPartyStationRelationVO;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -171,4 +172,9 @@ public class ThirdPartyStationRelationServiceImpl implements ThirdPartyStationRe
|
||||
public List<MerchantInfoVO> selectMerchantList(String thirdPlatformType) {
|
||||
return thirdPartyStationRelationMapper.selectMerchantList(thirdPlatformType);
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<StationInfoVO> selectStationList(String thirdPlatformType) {
|
||||
return thirdPartyStationRelationMapper.selectStationList(thirdPlatformType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user