zoukankan      html  css  js  c++  java
  • MyBatis 的Mapper中有小于号的处理

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

     也可以进行转义:

          &lt;                                 

                         <

                         小于号                                           

                         &gt;

                         >                                      

                         大于号

                         &amp;

                         &

                         和

                         &apos;

                         ’

                         单引号

                         &quot;

                         "

                         双引号

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

  • 相关阅读:
    405
    406
    4-1
    3-11
    3-10
    3-9
    3-8
    3-7
    3-5
    3-4
  • 原文地址:https://www.cnblogs.com/stono/p/4508323.html
Copyright © 2011-2022 走看看