src/Leevel/Database/Ddd/Repository.php
public function findList($condition, $fieldValue, ?string $fieldKey = null): array
    {
        $select = $this->entity->selfDatabaseSelect();

        if ($condition) {
            $this->normalizeCondition($condition, $select);
        }

        return $select->list($fieldValue, $fieldKey);
    }
public function findList($condition, $fieldValue, ?string $fieldKey = null): array
    {
        $select = $this->entity->selfDatabaseSelect();

        if ($condition) {
            $this->normalizeCondition($condition, $select);
        }

        return $select->list($fieldValue, $fieldKey);
    }
返回一列数据.

@param null|array|\Closure|\Leevel\Database\Ddd\ISpecification|string $condition
@param mixed                                                          $fieldValue
@param string                                                         $fieldKey

@return array