码迷,mamicode.com
首页 > 其他好文 > 详细

mybaits不能出现小于号

时间:2016-04-19 18:54:39      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:

org.xml.sax.SAXParseException; lineNumber: 146; columnNumber: 54; The content of elements must consist of well-formed character data or markup.

配置文件如下

	<select id="selectLastestBuildByGroupDt" resultMap="BaseResultMap">
			SELECT * FROM build where group_id = #{0} and  dt < #{1} order by dt desc limit 1
	</select>

  

修改为

	<select id="selectLastestBuildByGroupDt" resultMap="BaseResultMap">
			SELECT * FROM build where group_id = #{0} and #{1} > dt order by dt desc limit 1
	</select>

  

mybaits不能出现小于号

标签:

原文地址:http://www.cnblogs.com/laodageblog/p/5409044.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!