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