|
|
@@ -310,7 +310,7 @@
|
|
310
|
310
|
and a.customer_id = #{customerId,jdbcType=VARCHAR}
|
|
311
|
311
|
</if>
|
|
312
|
312
|
<if test="name != null" >
|
|
313
|
|
- and b.name like "%"#{name,jdbcType=VARCHAR}"%"
|
|
|
313
|
+ and b.name like CONCAT('%',#{name,jdbcType=VARCHAR},'%')
|
|
314
|
314
|
</if>
|
|
315
|
315
|
</where>
|
|
316
|
316
|
order by id desc
|
|
|
@@ -333,7 +333,7 @@
|
|
333
|
333
|
and a.customer_id = #{customerId,jdbcType=VARCHAR}
|
|
334
|
334
|
</if>
|
|
335
|
335
|
<if test="name != null" >
|
|
336
|
|
- and b.name like "%"#{name,jdbcType=VARCHAR}"%"
|
|
|
336
|
+ and b.name like CONCAT('%',#{name,jdbcType=VARCHAR},'%')
|
|
337
|
337
|
</if>
|
|
338
|
338
|
</where>
|
|
339
|
339
|
order by id desc
|