From 3eb467dcd6ec9e3d8ae44e1bb67dbe94a8ea9c37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=A2=A6=E8=BF=9C?= <1063331231@qq.com> Date: Sat, 7 Jun 2025 15:50:20 +0800 Subject: [PATCH] =?UTF-8?q?initsql=20=E5=A2=9E=E5=8A=A0system=5Fconfig?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/init.sql | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/main/resources/sql/init.sql b/src/main/resources/sql/init.sql index 694a728..a85a819 100644 --- a/src/main/resources/sql/init.sql +++ b/src/main/resources/sql/init.sql @@ -46,6 +46,21 @@ CREATE TABLE IF NOT EXISTS system_config create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP, update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP ); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (1, '水加液系数', 'water', '2', '2025-06-07 10:58:06.000', '2025-06-07 10:58:07.000'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (2, '浓硝酸加液系数', 'thick', '2', '2025-05-28 13:30:45', '2025-05-28 13:30:45'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (3, '稀硝酸加液系数', 'thin', '2', '2025-05-28 13:30:45', '2025-05-28 13:30:45'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (4, '回吸放滴落距离', 'back_flow_distance', '0.5', '2025-05-28 13:30:45', '2025-05-28 13:30:45'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (5, '过量预充距离', 'pre_fill_distance', '20', '2025-05-28 13:30:45', '2025-05-28 13:30:45'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (6, '过量排空距离', 'drain_distance', '20', '2025-05-28 13:30:45', '2025-05-28 13:30:45'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (7, '过量抽液距离', 'number_reduce', '10', '2025-05-28 13:30:45', '2025-05-28 13:30:45'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (8, '允许的最大清洁次数', 'cycle_clean_max', '8', '2025-05-28 13:30:45', '2025-05-28 13:30:45'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (9, '蠕动泵最大转速限制', 'liquid_max_speed', '150', '2025-05-28 13:30:45', '2025-05-28 13:30:45'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (10, '忽略门自检', 'ignore_door_self_test', 'false', '2025-05-29T14:23:48', '2025-05-29T14:23:48'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (11, '忽略加液升降自检', 'ignore_dual_robot_self_test', 'true', '2025-05-29T14:23:48', '2025-05-29T14:23:48'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (12, '忽略转运机械臂X轴自检', 'ignore_transfer_x_self_test', 'true', '2025-05-29T14:23:48', '2025-05-29T14:23:48'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (13, '忽略转运机械臂Z轴自检', 'ignore_transfer_z_self_test', 'true', '2025-06-04 18:38:03.000', '2025-05-29T14:23:48'); +INSERT OR IGNORE INTO system_config ("id", "name", "code", "value", "create_time", "update_time") VALUES (14, '工艺结束蜂鸣器次数', 'crafts_end_beep_times', '3', '2025-06-04 19:06:55.000', '2025-06-04 19:06:56.000'); + -- 系统日志 表