Browse Source

一些功能

Kirin 4 years ago
parent
commit
7f0ad40385
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/models/store/StoreOrder.php

+ 1 - 0
app/models/store/StoreOrder.php

@@ -1978,6 +1978,7 @@ class StoreOrder extends BaseModel
     {
         if (isset($where['status']) && $where['status'] != '') $model = self::statusWhere($where['status'], $model, $aler);
         if (isset($where['is_del']) && $where['is_del'] != '' && $where['is_del'] != -1) $model = $model->where($aler . 'is_del', $where['is_del']);
+        if (isset($where['store_id']) && $where['store_id'] != '' && $where['store_id'] != -1) $model = $model->where($aler . 'store_id', $where['store_id']);
         if (isset($where['combination_id'])) {
             if ($where['combination_id'] == '普通订单') {
                 $model = $model->where($aler . 'combination_id', 0)->where($aler . 'seckill_id', 0)->where($aler . 'bargain_id', 0);