Mybatis.xml file is greater than or less
The first written:
Symbol escape character
<& lt;
<= & lt; =
> & gt;
> = & gt; =
& & amp;
'& apos,;
"& quot;
For example: sql follows:
date_sub(curdate(),interval 1 month) <![CDATA[ <= ]]> date(c.create_time)
The second writing:
Greater than <! [CDATA [>]]>
Greater than or equal <! [CDATA [> =]]>
Less than <! [CDATA [<]]>
Less <! [CDATA [<=]]>
例如:sql如下:date_sub(curdate(),interval 1 month) <![CDATA[ <= ]]> date(c.create_time)