mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 04:25:21 +08:00
新增 批量查询枪口列表接口
This commit is contained in:
@@ -285,4 +285,24 @@
|
||||
AND
|
||||
t3.pile_connector_code = #{dto.pileConnectorCode,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
<select id="batchSelectConnectorList" resultType="com.jsowell.pile.vo.base.ConnectorInfoVO">
|
||||
SELECT
|
||||
t1.pile_connector_code as pileConnectorCode,
|
||||
t2.station_id as stationId,
|
||||
t1.STATUS as connectorStatus,
|
||||
t1.pile_sn as pileSn,
|
||||
t2.model_id as modelId,
|
||||
t3.speed_type as chargingType,
|
||||
t3.rated_power as ratedPower
|
||||
FROM
|
||||
pile_connector_info t1
|
||||
JOIN pile_basic_info t2 ON (t1.pile_sn = t2.sn AND t2.del_flag = '0')
|
||||
JOIN pile_model_info t3 ON (t2.model_id = t3.id AND t3.del_flag = '0')
|
||||
WHERE t1.del_flag = '0'
|
||||
AND t2.station_id in
|
||||
<foreach collection="stationIds" item="stationId" open="(" separator="," close=")">
|
||||
#{stationId, jdbcType=VARCHAR}
|
||||
</foreach>
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user