Using greater than sign or less than sign to report error in mybatis

Problem Description: Using <; = will prompt an error Tag name Expecte

tee.F_EndDay <= dateadd(DAY,0,CONVERT (VARCHAR(100), GETDATE(), 23))

1, will be < Number or & gt; The number is escaped

tee.F_EndDay &lt;= dateadd(DAY,0,CONVERT (VARCHAR(100), GETDATE(), 23))

2. Use lt; ! [CDATA[ ]]> Symbol description

<![CDATA[ tee.F_EndDay &lt;= dateadd(DAY,0,CONVERT (VARCHAR(100), GETDATE(), 23)) ]]>  

Appendix escape comparison table

The

& amp; lt;

& lt; No.

<

& amp; gt;

& gt;

is greater than the number

& amp; amp;

& amp;

and

& amp; apos;

single quotes

& amp; quot;

double quotation marks


Read More: