update 对接内蒙古平台

This commit is contained in:
2024-04-20 15:55:35 +08:00
parent ef77a4e0ee
commit 6a7bd665cc
14 changed files with 407 additions and 59 deletions

View File

@@ -65,4 +65,6 @@ public interface ThirdpartySecretInfoMapper {
ThirdPartySecretInfoVO queryByOperatorId(String theirOperatorId);
ThirdPartySecretInfoVO queryByThirdPlatformType(String thirdPlatformType);
List<ThirdPartySecretInfoVO> queryStationToPlatformList(String stationId);
}

View File

@@ -60,7 +60,24 @@ public interface ThirdpartySecretInfoService {
*/
public int deleteThirdpartySecretInfoById(Long id);
/**
* 通过组织结构代码,查询平台密钥配置信息
* @param theirOperatorId 组织结构代码
* @return
*/
ThirdPartySecretInfoVO queryByOperatorId(String theirOperatorId);
/**
* 通过第三方平台类型,查询平台密钥配置信息
* @param thirdPlatformType 第三方平台类型 {@link com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum}
* @return
*/
ThirdPartySecretInfoVO queryByThirdPlatformType(String thirdPlatformType);
/**
* 查询站点对接第三方平台信息列表
* @param stationId 站点id
* @return
*/
List<ThirdPartySecretInfoVO> queryStationToPlatformList(String stationId);
}

View File

@@ -127,4 +127,10 @@ public class ThirdpartySecretInfoServiceImpl implements ThirdpartySecretInfoServ
}
return result;
}
@Override
public List<ThirdPartySecretInfoVO> queryStationToPlatformList(String stationId) {
List<ThirdPartySecretInfoVO> list = thirdpartySecretInfoMapper.queryStationToPlatformList(stationId);
return list;
}
}