فهرست منبع

优化count方法

evoxwht 2 سال پیش
والد
کامیت
6cf018c1cf
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      crmeb/app/dao/service/StoreServiceDao.php

+ 1 - 1
crmeb/app/dao/service/StoreServiceDao.php

@@ -96,7 +96,7 @@ class StoreServiceDao extends BaseDao
      * @email 442384644@qq.com
      * @date 2023/05/10
      */
-    public function count($where = [], $search = true)
+    public function count(array $where = [], $search = true)
     {
         return $this->search($where, false)->when(isset($where['noId']), function ($query) use ($where) {
             $query->whereNotIn('uid', $where['noId']);