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

  • 相关阅读:
    setState 是异步吗?
    React优化点滴
    JS原型,作用域,this,闭包
    Webpack 模块化打包优化
    JS异步编程
    Web网络安全
    Http2.0和Http3.0
    Http协议基础
    Harris算子以及未来的规划...
    剑指offer 二维数组查找
  • 原文地址:https://www.cnblogs.com/stono/p/4508323.html
Copyright © 2011-2022 走看看