update 第三方平台整合方法

This commit is contained in:
Lemon
2025-02-12 08:57:57 +08:00
parent 69596d2416
commit b85780f576
8 changed files with 109 additions and 58 deletions

View File

@@ -332,5 +332,26 @@
</trim>
</insert>
<select id="getRelationInfoListV2" resultType="com.jsowell.pile.vo.base.ThirdPartyStationRelationVO">
SELECT
t1.station_id AS stationId,
t1.third_party_type AS thirdPartyType,
t2.platform_name AS thirdPartyName,
t2.start_mode AS startMode,
t2.url_prefix AS urlAddress,
t2.their_operator_id AS theirOperatorId,
t2.their_operator_secret AS theirOperatorSecret,
t2.their_sig_secret AS theirSignSecret,
t2.their_data_secret AS theirDataSecret,
t2.their_data_secret_iv AS theirDataSecretIv,
t2.our_operator_secret AS ourOperatorSecret,
t2.our_sig_secret AS ourSignSecret,
t2.our_data_secret AS ourDataSecret,
t2.our_data_secret_iv AS ourDataSecretIv
FROM
thirdparty_station_relation t1
JOIN thirdparty_secret_info t2 ON t1.third_party_type = t2.platform_type
where t1.del_flag = '0'
and t1.station_id = #{stationId,jdbcType=VARCHAR}
</select>
</mapper>