【Mybatis错误】Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 584; The content of elements must consist of well-formed character data or markup

 

编译器自动把sql语句中的小于号当成了开始标签
and a.start_time <= #{endTime} 
替换为:
<![CDATA[and a.start_time <= #{endTime}]]> 
posted @ 2020-09-02 22:56  N!CE波  阅读(758)  评论(0编辑  收藏  举报