Browse Source

fix:solutions_id字段不应该有s去掉s

master
白凤吉 1 week ago
parent
commit
df71303340
  1. 2
      src/main/java/com/iflytop/colortitration/common/model/entity/Container.java
  2. 2
      src/main/resources/sql/init.sql

2
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;

2
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,

Loading…
Cancel
Save