code(XD): 添加调试代码
This commit is contained in:
parent
fd1cf9292f
commit
b10abde619
@ -68,6 +68,7 @@ class StoreOrderCartInfoTwoLists extends BaseAdminDataLists implements ListsSear
|
||||
$export=$this->request->get('export');
|
||||
$this->searchWhere[] = ['is_pay', '=', 1];
|
||||
$this->searchWhere[] = ['status', '>=', 0];
|
||||
d($this->searchWhere);
|
||||
$query = StoreOrderCartInfo::where($this->searchWhere);
|
||||
if ($is_group == 1) {
|
||||
$query->field('store_id,product_id,price,SUM(total_price) as total_price,SUM(cart_num) as cart_num')->group(['store_id', 'product_id']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user