feat: add article and production modules

This commit is contained in:
2026-08-31 13:16:46 +08:00
parent ac3da246b2
commit 5c586a1a95
334 changed files with 34419 additions and 1 deletions
@@ -0,0 +1,35 @@
<?php
declare(strict_types=1);
namespace plugin\produce\app\dao;
use core\base\BaseDao;
use Illuminate\Database\Eloquent\Collection;
use plugin\produce\app\model\ProcessStep;
class ProcessStepDao extends BaseDao
{
protected function setModel(): string
{
return ProcessStep::class;
}
public function selectList(
array $where,
string|array $field = '*',
int $page = 0,
int $limit = 0,
string $order = '',
array $with = [],
bool $search = false,
?array $withoutScopes = null
): ?Collection {
return parent::selectList($where, $field, $page, $limit, $order, ['process'], $search, $withoutScopes);
}
protected function getKeywordFields(): array
{
return ['step_code', 'step_name', 'description'];
}
}