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:
@@ -9,36 +9,68 @@ import lombok.Setter;
|
||||
@Getter
|
||||
@Setter
|
||||
public class ThirdPartySecretInfoVO {
|
||||
// 我方的组织机构代码
|
||||
/**
|
||||
* 我方的组织机构代码
|
||||
*/
|
||||
private String ourOperatorId;
|
||||
|
||||
// 我方生成的唯一识别密钥
|
||||
/**
|
||||
* 我方生成的唯一识别密钥
|
||||
*/
|
||||
private String ourOperatorSecret;
|
||||
|
||||
// 我方生成的消息密钥
|
||||
/**
|
||||
* 我方生成的消息密钥
|
||||
*/
|
||||
private String ourDataSecret;
|
||||
|
||||
// 我方生成的初始化向量
|
||||
/**
|
||||
* 我方生成的初始化向量
|
||||
*/
|
||||
private String ourDataSecretIv;
|
||||
|
||||
// 我方生成的签名密钥
|
||||
/**
|
||||
* 我方生成的签名密钥
|
||||
*/
|
||||
private String ourSigSecret;
|
||||
|
||||
// 对接平台的组织机构代码
|
||||
/**
|
||||
* 对接平台名称
|
||||
*/
|
||||
private String platformName;
|
||||
|
||||
/**
|
||||
* 对接平台类型 {@link com.jsowell.common.enums.thirdparty.ThirdPlatformTypeEnum}
|
||||
*/
|
||||
private String platformType;
|
||||
|
||||
/**
|
||||
* 对接平台的组织机构代码
|
||||
*/
|
||||
private String theirOperatorId;
|
||||
|
||||
// 对接平台生成的唯一识别密钥
|
||||
/**
|
||||
* 对接平台生成的唯一识别密钥
|
||||
*/
|
||||
private String theirOperatorSecret;
|
||||
|
||||
// 对接平台生成的消息密钥
|
||||
/**
|
||||
* 对接平台生成的消息密钥
|
||||
*/
|
||||
private String theirDataSecret;
|
||||
|
||||
// 对接平台的初始化向量
|
||||
/**
|
||||
* 对接平台的初始化向量
|
||||
*/
|
||||
private String theirDataSecretIv;
|
||||
|
||||
// 对接平台生成的签名密钥
|
||||
/**
|
||||
* 对接平台生成的签名密钥
|
||||
*/
|
||||
private String theirSigSecret;
|
||||
|
||||
// 对接平台接口前缀
|
||||
/**
|
||||
* 对接平台接口前缀
|
||||
*/
|
||||
private String theirUrlPrefix;
|
||||
}
|
||||
|
||||
@@ -65,4 +65,6 @@ public interface ThirdpartySecretInfoMapper {
|
||||
ThirdPartySecretInfoVO queryByOperatorId(String theirOperatorId);
|
||||
|
||||
ThirdPartySecretInfoVO queryByThirdPlatformType(String thirdPlatformType);
|
||||
|
||||
List<ThirdPartySecretInfoVO> queryStationToPlatformList(String stationId);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user