Sql: select cid,pushUrl,chatRoomId,SUM(f.coinNum) as coinNum from channel_msg m,consume_flow f where m.userId=? AND m.userId=f.receiveUserId
model.findFirst(sql)
model的结果是下面的模样而不是null 如果不写SUM(f.coinNum) 是null
{pushUrl:null, chatRoomId:null, coinNum:null, cid:null}
项目:JFinal
只有jdbc 返回一条记录, jfinal 的 model.findFrist(sql) 才会返回一条记录