Merge pull request 'code(XD): 添加调试代码' (#314) from dev into main
Reviewed-on: #314
This commit is contained in:
commit
1e4c9ced9c
@ -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