【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}]]>
你投入得越多,就能得到越多得价值