src/Leevel/Database/Ddd/Repository.php
public function condition($condition): Select
    {
        $select = $this->entity->selfDatabaseSelect();

        $this->normalizeCondition($condition, $select);

        return $select;
    }
public function condition($condition): Select
    {
        $select = $this->entity->selfDatabaseSelect();

        $this->normalizeCondition($condition, $select);

        return $select;
    }
条件查询器.

@param array|\Closure|\Leevel\Database\Ddd\ISpecification|string $condition

@return \Leevel\Database\Ddd\Select