Commit 4461e92f by 冷斌

fix bug

parent fd62badd
......@@ -272,7 +272,8 @@ class Model_Live extends PhalApi_Model_NotORM {
$result=DI()->notorm->users_coinrecord
->select('sum(totalcoin) as totalcoin, uid')
->where("type='expend' and action in ('sendgift','sendbarrage') and showid = '{$liveinfo['showid']}'")
->order('uid')
->group("uid")
->order("totalcoin desc")
->fetchOne();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment