update 查询充电桩详情

This commit is contained in:
Guoqs
2024-09-25 08:54:45 +08:00
parent 597e74e4e9
commit 094758c8ac
4 changed files with 43 additions and 10 deletions

View File

@@ -161,7 +161,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
t2.merchant_name as merchantName,
count(t4.id)as gunNum,
t1.create_time as registrationTime,
IF(t6.charger_pile_type = '2','3',(IF(t6.speed_type = '1','1','2'))) AS pileType
IF(t6.charger_pile_type = '2','3',(IF(t6.speed_type = '1','1','2'))) AS chargePortType,
t6.model_name as modelName
FROM
pile_basic_info t1
LEFT JOIN pile_merchant_info t2 ON (t2.id = t1.merchant_id and t2.del_flag = '0')