Browse Source

修复商品名称搜索的bug

master
xyiege 4 years ago
parent
commit
9fe72e3a56
  1. 3
      src/main/resources/mapper/szwh/GoodsMapper.xml

3
src/main/resources/mapper/szwh/GoodsMapper.xml

@ -62,7 +62,8 @@
<where>
<if test="map!=null">
<foreach collection="map" item="v" index="k" separator="and">
<if test="v != null and v != '' and k!='orderway' and k!='id' and k!='gd.goods_name' and k!='g.entrust_name'">
<if test="v != null and v != '' and k!='orderway' and k!='id'
and k!='gd.goods_name' and k!='g.entrust_name'">
${k} = #{v}
</if>
<if test="k=='gd.goods_name'">

Loading…
Cancel
Save