mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-25 05:25:12 +08:00
update 华为Service
This commit is contained in:
@@ -89,6 +89,26 @@
|
||||
</foreach>
|
||||
</delete>
|
||||
|
||||
<select id="selectSnRelationListByParams" resultType="com.jsowell.pile.vo.web.ThirdPartySnRelationVO">
|
||||
SELECT
|
||||
t1.station_id AS stationId,
|
||||
t1.pile_sn AS pileSn,
|
||||
t1.thirdparty_type AS thirdPartyType,
|
||||
t1.thirdparty_pile_sn AS thirdPartyPileSn,
|
||||
t2.start_mode AS startMode
|
||||
FROM
|
||||
thirdparty_sn_relation t1
|
||||
JOIN thirdparty_station_relation t2 ON t1.thirdparty_type = t2.third_party_type
|
||||
WHERE
|
||||
t1.del_flag = '0'
|
||||
<if test="stationId != null and stationId != ''">
|
||||
AND t1.station_id = #{stationId,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="pileSn != null and pileSn != ''">
|
||||
AND t1.pile_sn = #{pileSn,jdbcType=VARCHAR}
|
||||
</if>
|
||||
</select>
|
||||
|
||||
<select id="getRelationVOList" resultType="com.jsowell.pile.vo.web.ThirdPartySnRelationVO">
|
||||
SELECT
|
||||
pile_sn AS pileSn,
|
||||
@@ -109,7 +129,4 @@
|
||||
pile_sn = #{dto.pileSn,jdbcType=VARCHAR}
|
||||
AND thirdparty_type = #{dto.thirdPartyType,jdbcType=VARCHAR}
|
||||
</update>
|
||||
|
||||
<select id="selectSnRelationListByStationId" resultMap="ThirdpartySnRelationResult">
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user