From df713033409ba3552a6c8b58e78ad917cebc27f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=87=A4=E5=90=89?= Date: Fri, 25 Jul 2025 14:40:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:solutions=5Fid=E5=AD=97=E6=AE=B5=E4=B8=8D?= =?UTF-8?q?=E5=BA=94=E8=AF=A5=E6=9C=89s=E5=8E=BB=E6=8E=89s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iflytop/colortitration/common/model/entity/Container.java | 2 +- src/main/resources/sql/init.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/iflytop/colortitration/common/model/entity/Container.java b/src/main/java/com/iflytop/colortitration/common/model/entity/Container.java index 66e48bc..f34ffd4 100644 --- a/src/main/java/com/iflytop/colortitration/common/model/entity/Container.java +++ b/src/main/java/com/iflytop/colortitration/common/model/entity/Container.java @@ -16,7 +16,7 @@ public class Container extends BaseEntity { private String name; @Schema(description = "关联的溶液ID") - private Integer solutionsId; + private Integer solutionId; @Schema(description = "总容量") private Integer capacityTotal; diff --git a/src/main/resources/sql/init.sql b/src/main/resources/sql/init.sql index e57b566..ec4ef7e 100644 --- a/src/main/resources/sql/init.sql +++ b/src/main/resources/sql/init.sql @@ -42,7 +42,7 @@ CREATE TABLE IF NOT EXISTS container ( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, - solutions_id INTEGER, + solution_id INTEGER, capacity_total INTEGER, capacity_used INTEGER, create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,