Commit 5b9c130a by 冷斌

update

parent 9eb9899b
...@@ -80,9 +80,8 @@ class PromotersController extends AdminbaseController{ ...@@ -80,9 +80,8 @@ class PromotersController extends AdminbaseController{
$total_coin = M('users_coinrecord') $total_coin = M('users_coinrecord')
// ->select("sum('totalcoin') as sum") // ->select("sum('totalcoin') as sum")
->where("uid in ({$uids}) and type='expend' and action in ('sendgift','sendbarrage')") ->where("uid in ('{$uids}') and type='expend' and action in ('sendgift','sendbarrage')")
->sum('totalcoin'); ->sum('totalcoin');
$v['total_coin'] = (int)$total_coin; $v['total_coin'] = (int)$total_coin;
$map3=[]; $map3=[];
......
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