From e79d2c882de52bebc3597179ea4b3140d9fb69cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=87=A4=E5=90=89?= Date: Thu, 31 Jul 2025 13:57:54 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=A6=96=E6=AC=A1=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=8C=96=E9=BB=98=E8=AE=A4=E5=80=BC=E4=B8=BAnull?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/sql/init.sql | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/resources/sql/init.sql b/src/main/resources/sql/init.sql index 1ad88f9..605bd35 100644 --- a/src/main/resources/sql/init.sql +++ b/src/main/resources/sql/init.sql @@ -43,12 +43,12 @@ CREATE TABLE IF NOT EXISTS channel ( ); INSERT OR IGNORE INTO channel ( - id, name, code, solution_id,concentration, current_volume, received_volume + id, name, code ) VALUES - (1, '通道一', 'CHANNEL_1',1, '10', 5000, 5000), - (2, '通道二', 'CHANNEL_2',2, '10', 5000, 5000), - (3, '通道三', 'CHANNEL_3',3, '10', 5000, 5000), - (4, '通道四', 'CHANNEL_4',4, '10', 5000, 5000); + (1, '通道一', 'CHANNEL_1'), + (2, '通道二', 'CHANNEL_2'), + (3, '通道三', 'CHANNEL_3'), + (4, '通道四', 'CHANNEL_4'); -- 配方 CREATE TABLE IF NOT EXISTS formulation (