优化CURD代码生成关联

This commit is contained in:
2026-04-01 15:27:23 +08:00
parent effde58a53
commit 0429cf62c4
3 changed files with 9 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
list($where, $alias, $limit, $order) = $this->queryBuilder();
$res = $this->model
->withJoin($this->withJoinTable, $this->withJoinType)
->with($this->withJoinTable)
{%relationVisibleFields%}
->alias($alias)
->where($where)