...
|
...
|
@@ -121,7 +121,7 @@ class AdminIndexController extends AdminBaseController |
|
|
'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('sum(whole) as whole,sum(whole_num) as whole_num')->select();
|
|
|
// $whole = $data[0]['whole'];
|
|
|
// $whole_num = $data[0]['whole_num'];
|
|
|
// $total = $whole - $whole_num;
|
...
|
...
|
|