ForEachHandler
TrimHandler
IfHandler
内部使用了OGNL处理表达式逻辑
<select id="selectOddPostsIn" resultType="org.apache.ibatis.domain.blog.Post">
SELECT *
FROM POST P
WHERE ID in
<foreach item="item" index="index" collection="list"
open="(" separator="," close=")">
<if test="index % 2 != 0">
#{item}
</if>
</foreach>
ORDER BY P.ID
</select>
内部使用了OGNL处理表达式逻辑查阅资料发现了是这个框架https://github.com/jkuhnert/ognl 并看到了作者,真的是老老老程序员了https://lenart.org.pl/