mybatis xml 大于小于
时间: 2023-09-22 21:10:07 浏览: 125
在MyBatis的XML中,对于大于小于等于这些符号,需要进行转义,不能直接写成<、>这种符号。有两种常见的转义写法可以使用:
第一种写法:
大于:< 等于:<![CDATA<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [mybatis xml 大于 小于 不等于 转义符转换](https://blog.csdn.net/weixin_43500424/article/details/130641622)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Mybatis xml中SQL处理小于号与大于号](https://blog.csdn.net/study_665/article/details/123480659)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [mybatis XML文件中特殊符号“大于”、“小于”、“大于等于”、“小于等于”,XML报错](https://blog.csdn.net/qq_46540738/article/details/124138523)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文