Sql sql = Sqls.queryRecord("SELECT pp.*,s.value
as value FROM t_player_poker pp " +
"INNER JOIN t_poker p ON pp.poker_id = p.id " +
"INNER JOIN sys_setting s ON s.userid = p.user_id " +
"WHERE pp.poker_id = @pokerId AND pp.exploit > 0");
sql.setParam("pokerId",pokerId);
dao.execute(sql);
这个返回值是什么,用Map只能取到最后一次,前面被覆盖了,pp是个集合,value是一个字段
添加回复
请先登陆