mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-11-01 07:20:56 +00:00
修改
This commit is contained in:
parent
5fdd994b54
commit
d4e2238e03
@ -71,7 +71,7 @@ class StoreCombinationDao extends BaseDao
|
||||
* @return int
|
||||
* @throws \ReflectionException
|
||||
*/
|
||||
public function count(array $where = [], bool $search = true): int
|
||||
public function count(array $where = [], bool $search = true)
|
||||
{
|
||||
return $this->search($where, $search)->count();
|
||||
}
|
||||
|
||||
@ -39,7 +39,7 @@ class StoreIntegralDao extends BaseDao
|
||||
* @return int
|
||||
* @throws \ReflectionException
|
||||
*/
|
||||
public function count(array $where = [], bool $search = true): int
|
||||
public function count(array $where = [], bool $search = true)
|
||||
{
|
||||
return $this->search($where, $search)->count();
|
||||
}
|
||||
|
||||
@ -93,7 +93,7 @@ class StoreIntegralOrderDao extends BaseDao
|
||||
* @return int
|
||||
* @throws \ReflectionException
|
||||
*/
|
||||
public function count(array $where = [], bool $search = true): int
|
||||
public function count(array $where = [], bool $search = true)
|
||||
{
|
||||
return $this->search($where, $search)->count();
|
||||
}
|
||||
|
||||
@ -190,7 +190,7 @@ class OtherOrderDao extends BaseDao
|
||||
* @email 442384644@qq.com
|
||||
* @date 2023/04/11
|
||||
*/
|
||||
public function count(array $where = [], bool $search = true): int
|
||||
public function count(array $where = [], bool $search = true)
|
||||
{
|
||||
return $this->search($where, $search)->count();
|
||||
}
|
||||
|
||||
@ -269,7 +269,7 @@ class StoreOrderDao extends BaseDao
|
||||
* @return int
|
||||
* @throws \ReflectionException
|
||||
*/
|
||||
public function count(array $where = [], bool $search = true): int
|
||||
public function count(array $where = [], bool $search = true)
|
||||
{
|
||||
return $this->search($where, $search)->count();
|
||||
}
|
||||
|
||||
@ -96,7 +96,7 @@ class StoreServiceDao extends BaseDao
|
||||
* @email 442384644@qq.com
|
||||
* @date 2023/05/10
|
||||
*/
|
||||
public function count(array $where = [], $search = true)
|
||||
public function count(array $where = [], bool $search = true)
|
||||
{
|
||||
return $this->search($where, false)->when(isset($where['noId']), function ($query) use ($where) {
|
||||
$query->whereNotIn('uid', $where['noId']);
|
||||
|
||||
@ -106,7 +106,7 @@ class WechatReplyKeyDao extends BaseDao
|
||||
* @param bool $search
|
||||
* @return int
|
||||
*/
|
||||
public function count(array $where = [], bool $search = true): int
|
||||
public function count(array $where = [], bool $search = true)
|
||||
{
|
||||
return $this->search($where, $search)->group($this->alias . '.id')->count();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user