mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-25 21:45:08 +08:00
update 对接内蒙古平台
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user