update 平台配置页面

This commit is contained in:
2024-04-24 17:08:14 +08:00
parent bf0e3f5334
commit 9ed65fbd23
13 changed files with 375 additions and 42 deletions

View File

@@ -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);
}

View File

@@ -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);
}
}