Browse Source

修正分页错误

master
xyiege 4 years ago
parent
commit
58fc220d86
  1. 2
      src/main/resources/mapper/szwh/GoodsMapper.xml

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

@ -30,7 +30,7 @@
FROM <include refid="tbName"/>
<where>
<foreach collection="map" item="v" index="k" separator="and">
<if test="v != null and v != ''">
<if test="v != null and v != '' and k!='id'">
${k} = #{v}
</if>
<if test="k=='id'">

Loading…
Cancel
Save