mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
add 运营端小程序新增查询枪口详情接口
This commit is contained in:
@@ -215,18 +215,26 @@
|
||||
<select id="getPileConnectorInfoByConnectorCode" resultType="com.jsowell.pile.vo.web.PileConnectorInfoVO">
|
||||
select
|
||||
t1.id as connectorId,
|
||||
t1.pile_connector_code as connectorCode,
|
||||
t1.pile_connector_code as pileConnectorCode,
|
||||
t1.status as status,
|
||||
t1.pile_sn as pileSn,
|
||||
IF(t3.charger_pile_type = '2','3',(IF(t3.speed_type = '1','1','2'))) AS type,
|
||||
t3.model_name as modelName,
|
||||
t3.speed_type as chargeType,
|
||||
t3.rated_power as ratedPower,
|
||||
t1.create_time as createTime,
|
||||
t2.business_type as businessType,
|
||||
t2.station_id as stationId,
|
||||
t2.name as pileName,
|
||||
t4.station_name as stationName,
|
||||
t5.merchant_name as merchantName,
|
||||
t4.amap_flag as aMapFlag,
|
||||
t2.merchant_id as merchantId
|
||||
from pile_connector_info t1
|
||||
join pile_basic_info t2 on t2.sn = t1.pile_sn
|
||||
join pile_model_info t3 on t3.id = t2.model_id
|
||||
join pile_station_info t4 on t2.station_id = t4.id
|
||||
join pile_merchant_info t5 on t2.merchant_id = t5.id
|
||||
where t1.del_flag = '0'
|
||||
and t1.pile_connector_code = #{pileConnectorCode,jdbcType=VARCHAR}
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user