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:
@@ -99,6 +99,7 @@
|
||||
FROM
|
||||
thirdparty_sn_relation t1
|
||||
JOIN thirdparty_station_relation t2 ON t1.thirdparty_type = t2.third_party_type
|
||||
JOIN pile_basic_info t3 on t1.pile_sn = t3.sn
|
||||
WHERE
|
||||
t1.del_flag = '0'
|
||||
<if test="stationId != null and stationId != ''">
|
||||
@@ -107,6 +108,12 @@
|
||||
<if test="pileSn != null and pileSn != ''">
|
||||
AND t1.pile_sn = #{pileSn,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="pileIds != null and pileIds.size() != 0">
|
||||
AND t3.id in
|
||||
<foreach collection="pileIds" item="pileId" open="(" separator="," close=")">
|
||||
#{pileId,jdbcType=BIGINT}
|
||||
</foreach>
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="getRelationVOList" resultType="com.jsowell.pile.vo.web.ThirdPartySnRelationVO">
|
||||
|
||||
Reference in New Issue
Block a user