mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-30 03:58:09 +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
|
LEFT join pile_model_info t6 on t6.id = t1.model_id
|
||||||
where t1.del_flag = '0'
|
where t1.del_flag = '0'
|
||||||
<if test="dto.pileSn != null and dto.pileSn != ''">
|
<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>
|
||||||
<if test="dto.stationId != null and dto.stationId != ''">
|
<if test="dto.stationId != null and dto.stationId != ''">
|
||||||
and t1.station_Id = #{dto.stationId,jdbcType=VARCHAR}
|
and t1.station_Id = #{dto.stationId,jdbcType=VARCHAR}
|
||||||
|
|||||||
Reference in New Issue
Block a user