mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
update 小程序首页查询站点列表接口
This commit is contained in:
@@ -347,8 +347,16 @@
|
||||
pile_station_info t1
|
||||
left JOIN pile_basic_info t2 ON t1.id = t2.station_id and t2.del_flag = '0'
|
||||
left JOIN pile_merchant_info t3 ON t3.id = t1.merchant_id and t3.del_flag = '0'
|
||||
left join pile_model_info t4 on t2.model_id = t4.id and t2.del_flag = '0'
|
||||
where
|
||||
t1.del_flag = '0'
|
||||
<if test="stationDTO.chargeMode != null and stationDTO.chargeMode != ''">
|
||||
and t4.speed_type = #{stationDTO.chargeMode,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="stationDTO.startPower != null and stationDTO.startPower != '' and stationDTO.endPower != null and stationDTO.endPower != ''">
|
||||
and t4.rated_power between #{stationDTO.startPower,jdbcType=VARCHAR} and #{stationDTO.endPower,jdbcType=VARCHAR}
|
||||
</if>
|
||||
|
||||
<if test="stationDTO.stationName != null and stationDTO.stationName != ''">
|
||||
and t1.station_name LIKE '%${stationDTO.stationName}%'
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user