Commit e4c06f8b6009293309b8314d0520b23725e301e9

Authored by yeqianyong
1 parent 055f2fb9

楚江ERP-生产厂模糊搜索bug修复

... ... @@ -32,10 +32,10 @@
32 32 <include refid="Workshop_sql"/>
33 33 <where>
34 34 <if test="vo.code != null and vo.code != ''">
35   - AND tb.code LIKE CONCAT('%', #{vo.code})
  35 + AND tb.code LIKE CONCAT('%', #{vo.code}, '%')
36 36 </if>
37 37 <if test="vo.name != null and vo.name != ''">
38   - AND tb.name LIKE CONCAT('%', #{vo.name})
  38 + AND tb.name LIKE CONCAT('%', #{vo.name}, '%')
39 39 </if>
40 40 <if test="vo.type != null">
41 41 AND tb.type = #{vo.type}
... ...