mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-25 05:25:12 +08:00
新增 运营端小程序搜索枪口信息接口
This commit is contained in:
@@ -257,4 +257,20 @@
|
||||
#{pileConnectorCode,jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
<select id="getConnectorInfoByParams" resultType="com.jsowell.pile.vo.web.PileConnectorInfoVO">
|
||||
SELECT
|
||||
t1.id AS stationId,
|
||||
-- t2.sn AS pileSn,
|
||||
t3.pile_connector_code AS pileConnectorCode,
|
||||
t3.status
|
||||
FROM
|
||||
pile_station_info t1
|
||||
JOIN pile_basic_info t2 ON t1.id = t2.station_id
|
||||
JOIN pile_connector_info t3 ON t2.sn = t3.pile_sn
|
||||
WHERE
|
||||
t1.id = #{dto.stationId,jdbcType=VARCHAR}
|
||||
AND
|
||||
t3.pile_connector_code = #{dto.pileConnectorCode,jdbcType=VARCHAR}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user