From 56461aa3f43bb319e1dd93641953c7e65cc549cf Mon Sep 17 00:00:00 2001 From: JEECG <445654970@qq.com> Date: Thu, 9 Jul 2026 13:49:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E9=80=9F=E9=A6=96=E6=AC=A1=E5=88=9D?= =?UTF-8?q?=E5=A7=8B=E5=8C=96=E5=AF=BC=E5=85=A5=EF=BC=9A=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E9=80=90=E6=9D=A1=E6=8F=90=E4=BA=A4=E4=B8=8E=E5=94=AF=E4=B8=80?= =?UTF-8?q?=E6=80=A7=E6=A3=80=E6=9F=A5=EF=BC=8C=E6=95=B4=E4=BD=93=E6=89=B9?= =?UTF-8?q?=E9=87=8F=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jeecg-boot/db/jeecgboot-mysql-5.7.sql | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jeecg-boot/db/jeecgboot-mysql-5.7.sql b/jeecg-boot/db/jeecgboot-mysql-5.7.sql index 1fc056af5..0f7d2dfb9 100644 --- a/jeecg-boot/db/jeecgboot-mysql-5.7.sql +++ b/jeecg-boot/db/jeecgboot-mysql-5.7.sql @@ -19,6 +19,9 @@ USE `jeecg-boot`; SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; +-- 加速首次初始化导入:关闭逐条提交与唯一性检查,整体批量提交 +SET autocommit = 0; +SET unique_checks = 0; -- ---------------------------- -- Table structure for aigc_word_template @@ -9896,4 +9899,8 @@ END ;; delimiter ; +-- 统一提交并恢复会话设置 +COMMIT; +SET unique_checks = 1; +SET autocommit = 1; SET FOREIGN_KEY_CHECKS = 1; \ No newline at end of file