标签:
<foreach collection="condition.keys" item="k" separator="and"> <if test="null != condition[k]"> ${k} = #{condition[${k}]} </if> </foreach>
mybatis 防止sql注入的 循环map写法
原文地址:http://www.cnblogs.com/mrgong/p/4605259.html