mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
将推送第三方平台改为可推送多个平台
This commit is contained in:
@@ -102,4 +102,31 @@
|
||||
</if>
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<select id="getRelationInfoList" resultType="com.jsowell.pile.vo.base.ThirdPartyStationRelationVO">
|
||||
select
|
||||
t1.station_id as stationId,
|
||||
t1.third_party_type as thirdPartyType,
|
||||
t2.url_address as urlAddress,
|
||||
t2.operator_id as operatorId,
|
||||
t2.operator_secret as operatorSecret,
|
||||
t2.sign_secret as signSecret,
|
||||
t2.data_secret as dataSecret,
|
||||
t2.data_secret_IV as dataSecretIv
|
||||
from thirdparty_station_relation t1 join thirdparty_setting_info t2 on t1.third_party_type = t2.type
|
||||
where t1.del_flag = '0'
|
||||
<if test="stationId != null">
|
||||
and t1.station_id = #{stationId,jdbcType=BIGINT}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<update id="updateRelationDelFlag">
|
||||
update
|
||||
thirdparty_station_relation
|
||||
set
|
||||
del_flag = '1'
|
||||
where
|
||||
station_id = #{stationId,jdbcType=VARCHAR}
|
||||
and third_party_type = #{type,jdbcType=VARCHAR}
|
||||
</update>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user