SQL in mybatis is written in the mapper.xml file, and an error occurs when xml parsing <, >, <=, >=, then escape writing should be used.
< | <= | > | >= | & | ' | " |
< | <= | > | >= | & | ' | " |
or
<![CDATA[ sql statement ]]>
STATUS <![CDATA[ >= ]]> #{status,jdbcType=VARCHAR}
<![CDATA[ STATUS>= #{status,jdbcType=VARCHAR} ]]>