MyBatis 的Mapper中有小于号的处理

<![CDATA[
 select * from person t where t.birthday < #{birthday}
]]>

 也可以进行转义:

      &lt;                                 

                     <

                     小于号                                           

                     &gt;

                     >                                      

                     大于号

                     &amp;

                     &

                     和

                     &apos;

                     ’

                     单引号

                     &quot;

                     "

                     双引号

参见:http://blog.csdn.net/zheng0518/article/details/10449549

原文地址:https://www.cnblogs.com/stono/p/4508323.html