Explorar o código

【程序目录】修复查询错误

吴昊天 %!s(int64=3) %!d(string=hai) anos
pai
achega
ba2351161f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      crmeb/app/dao/order/StoreOrderDao.php

+ 1 - 1
crmeb/app/dao/order/StoreOrderDao.php

@@ -797,7 +797,7 @@ class StoreOrderDao extends BaseDao
      */
     public function getOrderListByWhere(array $where, $field = "*")
     {
-        return $this->search($where)->field()->select($field)->toArray();
+        return $this->search($where)->field($field)->select()->toArray();
     }
 
     /**批量修改订单