淑昊柠 发表于 2016-11-28 09:05:23

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;
页: [1]
查看完整版本: myBatis ibatis 查询多行结果集 resultMap 配置