mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
package com.jsowell.thirdparty.service;
|
||||
|
||||
import com.jsowell.pile.vo.ThirdPartySecretInfoVO;
|
||||
import com.jsowell.pile.vo.base.StationInfoVO;
|
||||
import com.jsowell.thirdparty.domain.ThirdpartySecretInfo;
|
||||
|
||||
import java.util.List;
|
||||
@@ -80,4 +81,11 @@ public interface ThirdpartySecretInfoService {
|
||||
* @return
|
||||
*/
|
||||
List<ThirdPartySecretInfoVO> queryStationToPlatformList(String stationId);
|
||||
|
||||
/**
|
||||
* 根据第三方平台类型查询对接第三方平台的站点列表
|
||||
* @param thirdPlatformType
|
||||
* @return
|
||||
*/
|
||||
List<StationInfoVO> selectStationList(String thirdPlatformType);
|
||||
}
|
||||
|
||||
@@ -3,7 +3,9 @@ package com.jsowell.thirdparty.service.impl;
|
||||
import com.jsowell.common.constant.CacheConstants;
|
||||
import com.jsowell.common.core.redis.RedisCache;
|
||||
import com.jsowell.common.util.DateUtils;
|
||||
import com.jsowell.pile.mapper.ThirdPartyStationRelationMapper;
|
||||
import com.jsowell.pile.vo.ThirdPartySecretInfoVO;
|
||||
import com.jsowell.pile.vo.base.StationInfoVO;
|
||||
import com.jsowell.thirdparty.domain.ThirdpartySecretInfo;
|
||||
import com.jsowell.thirdparty.mapper.ThirdpartySecretInfoMapper;
|
||||
import com.jsowell.thirdparty.service.ThirdpartySecretInfoService;
|
||||
@@ -24,6 +26,9 @@ public class ThirdpartySecretInfoServiceImpl implements ThirdpartySecretInfoServ
|
||||
@Autowired
|
||||
private ThirdpartySecretInfoMapper thirdpartySecretInfoMapper;
|
||||
|
||||
@Autowired
|
||||
private ThirdPartyStationRelationMapper thirdPartyStationRelationMapper;
|
||||
|
||||
@Autowired
|
||||
private RedisCache redisCache;
|
||||
|
||||
@@ -133,4 +138,9 @@ public class ThirdpartySecretInfoServiceImpl implements ThirdpartySecretInfoServ
|
||||
List<ThirdPartySecretInfoVO> list = thirdpartySecretInfoMapper.queryStationToPlatformList(stationId);
|
||||
return list;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<StationInfoVO> selectStationList(String thirdPlatformType) {
|
||||
return thirdPartyStationRelationMapper.selectStationList(thirdPlatformType);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user