Merge pull request 'refactor(admin): 移除 StoreOrderCartInfoTwoLists 中的调试代码' (#317) from dev into main

Reviewed-on: #317
This commit is contained in:
mkm 2024-11-08 01:34:01 +08:00
commit a9e997bc02

View File

@ -68,7 +68,6 @@ 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']);