kevin_zhangl 2 年之前
父节点
当前提交
1a986dddd0
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      backendApi/modules/v1/controllers/ShopController.php

+ 1 - 4
backendApi/modules/v1/controllers/ShopController.php

@@ -409,10 +409,7 @@ class ShopController extends BaseController {
             'CREATED_AT'=> 'O.CREATED_AT',
         ]);
 //        $filter['condition'] = !$filter['condition'] ? '1=1 AND O.IS_DELETE=0' : ('O.IS_DELETE=0 ' . $filter['condition']);
-
-        $condition = $filter['condition'];
-        $params = $filter['params'];
-        $condition .= ' AND O.IS_DELETE=0';
+        $filter['condition'] .= ' AND O.IS_DELETE=0';
 
         $form = new ShopExportForm();
         $result = $form->run($filter, '订单列表');