mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 22:10:49 +00:00
优化count方法
This commit is contained in:
parent
eb94510941
commit
6cf018c1cf
@ -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']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user