Mapper开发常用代码片段
code in (code1, code2, ...)
<if test="codeList != null and codeList != ''"> and code in <foreach collection="codeList.split(',')" open="(" close=")" separator="," item="item" index="index"> #{item} </foreach> </if>
code in (code1, code2, ...)
<if test="codeList != null and codeList != ''"> and code in <foreach collection="codeList.split(',')" open="(" close=")" separator="," item="item" index="index"> #{item} </foreach> </if>