Parcourir la source

修复查询表达式

shichen il y a 2 mois
Parent
commit
f91d4446ad
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/common/dao/store/order/StoreOrderDao.php

+ 1 - 1
app/common/dao/store/order/StoreOrderDao.php

@@ -122,7 +122,7 @@ class StoreOrderDao extends BaseDao
122
                         ->whereOr('verify_code', 'like', '%' . $where['keywords'] . '%')
122
                         ->whereOr('verify_code', 'like', '%' . $where['keywords'] . '%')
123
                         ->whereOr('order_id', 'in', $orderIdList)
123
                         ->whereOr('order_id', 'in', $orderIdList)
124
                         ->whereOr('group_order_id', 'in', function ($query) use ($where) {
124
                         ->whereOr('group_order_id', 'in', function ($query) use ($where) {
125
-                            $query->name('store_group_order')->where('like', 'hf_pay_id', "%" . $where['keywords'] . "%")->field('group_order_id');
125
+                            $query->name('store_group_order')->where('hf_pay_id', 'like', "%" . $where['keywords'] . "%")->field('group_order_id');
126
                         });
126
                         });
127
                 });
127
                 });
128
             })
128
             })