@ -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'">