From b8dc39f15627f3415481e22b5cd187f158884ae0 Mon Sep 17 00:00:00 2001 From: hubin Date: Sat, 8 Jun 2024 17:35:31 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=9F=E6=88=B7=E6=8F=92=E4=BB=B6=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E6=8F=92=E5=85=A5=E9=83=A8=E5=88=86=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/content/docs/plugins/tenant.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/content/docs/plugins/tenant.md b/src/content/docs/plugins/tenant.md index 7a85c38d..8fc4332f 100755 --- a/src/content/docs/plugins/tenant.md +++ b/src/content/docs/plugins/tenant.md @@ -140,6 +140,10 @@ static { } ``` +## 插入时自动添加租户字段 + +> 默认插入 SQL 是需要判断租户条件,因此需要配合[自动填充字段](https://baomidou.com/guides/auto-fill-field/)功能填充租户字段,否则租户字段不会自动保存到数据库。 + ## 注意事项 :::note[说明]