update 查询充电站列表添加筛选条件

This commit is contained in:
jsowell
2026-06-05 15:52:23 +08:00
parent f6e7fb65d8
commit f85d9c7d79

View File

@@ -674,6 +674,9 @@
<if test="dto.stationName != null and dto.stationName != ''">
AND t1.station_name LIKE CONCAT('%', #{dto.stationName,jdbcType=VARCHAR}, '%')
</if>
<if test="dto.merchantId != null and dto.merchantId != ''">
AND t1.merchant_id = #{dto.merchantId,jdbcType=VARCHAR}
</if>
</select>
<select id="getStationInfoForAmap" resultMap="PileStationInfoResult">