标签:for class div 忽略 data att ima amount _id
<select id="getDriverAttendanceFine" resultType="java.math.BigDecimal"> <![CDATA[select SUM(driver_fine_fine_amount) from sl_driver_fine where driver_fine_driver_id=10 and driver_fine_fine_date > DATE_FORMAT(#{beginDate},‘%Y-%m-%d %H:%i‘) and driver_fine_fine_date < DATE_FORMAT(#{endDate},‘%Y-%m-%d %H:%i‘) ]]> </select>
CDATA内部的所有内容都会被解析器忽略
mybatis xml某些字符被转义解决办法 <![CDATA[ ]]>
标签:for class div 忽略 data att ima amount _id
原文地址:https://www.cnblogs.com/zhengxq21/p/10250908.html