mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 11:35:12 +08:00
查询充电桩列表,可以模糊匹配桩号
This commit is contained in:
@@ -171,7 +171,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
LEFT join pile_model_info t6 on t6.id = t1.model_id
|
||||
where t1.del_flag = '0'
|
||||
<if test="dto.pileSn != null and dto.pileSn != ''">
|
||||
and t1.sn = #{dto.pileSn,jdbcType=VARCHAR}
|
||||
and (t1.sn = #{dto.pileSn,jdbcType=VARCHAR} or t1.sn like concat('%', #{dto.pileSn,jdbcType=VARCHAR}, '%'))
|
||||
</if>
|
||||
<if test="dto.stationId != null and dto.stationId != ''">
|
||||
and t1.station_Id = #{dto.stationId,jdbcType=VARCHAR}
|
||||
|
||||
Reference in New Issue
Block a user