首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件开发 >

ibatis动态查询复杂话语比较

2013-08-01 
ibatis动态查询复杂语句比较1,查询数据记录(查询表中某字段integral所在的数据小于传来的参数consumintegr

ibatis动态查询复杂语句比较

1,查询数据记录(查询表中某字段integral所在的数据小于传来的参数consumintegral的所有记录)

<select id="myshops4" parameterresultMap="exchangemap">
??? <![CDATA[
??? ??? select * from exchange_goods where integral < #consumeIntegral# order by addtime desc limit 4
??? ??? ?]]>
??? </select>

?

参考文档:http://yjhexy.iteye.com/blog/465150

热点排行