特殊字符 替代符号
& &
< <
> >
" "
' '
小于等于 a<=b a <= b a <![CDATA[<= ]]>b
大于等于 a>=b a >= b a <![CDATA[>= ]]>b
不等于 a!=b a <![CDATA[ <> ]]>b a <![CDATA[!= ]]>b
例子:
AND <![CDATA[ province_id = #{provinceId} ]]>
AND <![CDATA[ id <> #{id} ]]>