...
|
...
|
@@ -117,11 +117,11 @@ class AdminIndexController extends AdminBaseController |
|
|
}
|
|
|
}
|
|
|
$map = [
|
|
|
'uid' => ['eq', $son_str],
|
|
|
'uid' => ['in', $son_str],
|
|
|
'pay_type' => ['eq', 3],
|
|
|
'step' => ['neq', 1]
|
|
|
];
|
|
|
$data = Db::name('zj_order')->where($map)->field('sum(whole) as whole,sum(whole_num) as whole_num')->select();
|
|
|
$data = Db::name('zj_order')->where($map)->field('*')->select();
|
|
|
$whole = $data[0]['whole'];
|
|
|
$whole_num = $data[0]['whole_num'];
|
|
|
$total = $whole - $whole_num;
|
...
|
...
|
|