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

@@ -138,6 +138,8 @@
<select id="queryByOperatorId" resultType="com.jsowell.pile.vo.ThirdPartySecretInfoVO">
select
t1.platform_name as platformName,
t1.platform_type as platformType,
t1.their_operator_id as theirOperatorId,
t1.their_operator_secret as theirOperatorSecret,
t1.their_data_secret as theirDataSecret,
@@ -149,24 +151,46 @@
t1.our_data_secret_iv as ourDataSecretIv,
t1.our_sig_secret as ourSigSecret
from thirdparty_secret_info t1
where del_flag = '0'
and their_operator_id = #{theirOperatorId,jdbcType=VARCHAR}
where t1.del_flag = '0'
and t1.their_operator_id = #{theirOperatorId,jdbcType=VARCHAR}
</select>
<select id="queryByThirdPlatformType" resultType="com.jsowell.pile.vo.ThirdPartySecretInfoVO">
select
t1.their_operator_id as theirOperatorId,
t1.their_operator_secret as theirOperatorSecret,
t1.their_data_secret as theirDataSecret,
t1.their_data_secret_iv as theirDataSecretIv,
t1.their_sig_secret as theirSigSecret,
t1.url_prefix as theirUrlPrefix,
t1.our_operator_secret as ourOperatorSecret,
t1.our_data_secret as ourDataSecret,
t1.our_data_secret_iv as ourDataSecretIv,
t1.our_sig_secret as ourSigSecret
t1.platform_name as platformName,
t1.platform_type as platformType,
t1.their_operator_id as theirOperatorId,
t1.their_operator_secret as theirOperatorSecret,
t1.their_data_secret as theirDataSecret,
t1.their_data_secret_iv as theirDataSecretIv,
t1.their_sig_secret as theirSigSecret,
t1.url_prefix as theirUrlPrefix,
t1.our_operator_secret as ourOperatorSecret,
t1.our_data_secret as ourDataSecret,
t1.our_data_secret_iv as ourDataSecretIv,
t1.our_sig_secret as ourSigSecret
from thirdparty_secret_info t1
where del_flag = '0'
and platform_type = #{thirdPlatformType,jdbcType=VARCHAR}
where t1.del_flag = '0'
and t1.platform_type = #{thirdPlatformType,jdbcType=VARCHAR}
</select>
<select id="queryStationToPlatformList" resultType="com.jsowell.pile.vo.ThirdPartySecretInfoVO">
select
t1.platform_name as platformName,
t1.platform_type as platformType,
t1.their_operator_id as theirOperatorId,
t1.their_operator_secret as theirOperatorSecret,
t1.their_data_secret as theirDataSecret,
t1.their_data_secret_iv as theirDataSecretIv,
t1.their_sig_secret as theirSigSecret,
t1.url_prefix as theirUrlPrefix,
t1.our_operator_secret as ourOperatorSecret,
t1.our_data_secret as ourDataSecret,
t1.our_data_secret_iv as ourDataSecretIv,
t1.our_sig_secret as ourSigSecret
from thirdparty_secret_info t1
left join thirdparty_station_relation t2 on t2.third_party_type = t1.platform_type and t2.del_flag = '0'
where t1.del_flag = '0'
and t2.station_id = #{stationId,jdbcType=VARCHAR}
</select>
</mapper>