更新
This commit is contained in:
parent
87ff521c97
commit
0e2f30b557
@ -198,6 +198,10 @@ class Statistics extends BaseController
|
||||
return app('json')->fail('responsible_area:格式错误');
|
||||
}
|
||||
$merchant=Db::name('merchant')->where('street_id','in',$area)->select();
|
||||
if(!$merchant){
|
||||
return app('json')->fail('responsible_area:格式错误');
|
||||
|
||||
}
|
||||
$where[]=['p.create_time','between time',[date("Y-m-d H:i:s",$parmas['start_time']),date("Y-m-d H:i:s",$parmas['end_time'])]];
|
||||
$where[] = ['p.product_id','in',explode(',', $parmas['goods_id'])];
|
||||
$where[] = ['p.is_refund','=',0];
|
||||
|
Loading…
x
Reference in New Issue
Block a user