`
c__06
  • 浏览: 5238 次
  • 性别: Icon_minigender_1
  • 来自: 广州
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论

myBatis ibatis 查询多行结果集 resultMap 配置

阅读更多

假如有下面查询语句,现在是返回多行。如何写resultMap 呢,谢谢

select distinct G.gameId,G.name,G.createtime,G.maincategoryid,G.subcategoryid,G.fee,P.filterfield1

from WCgame G, GameInfo P

where G.gameId = P.gameId

order by G.createtime desc

limit 1,6;

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics