diff --git a/src/main/java/com/iflytop/handacid/common/model/entity/Channel.java b/src/main/java/com/iflytop/handacid/common/model/entity/Channel.java index eb2522b..7bd2249 100644 --- a/src/main/java/com/iflytop/handacid/common/model/entity/Channel.java +++ b/src/main/java/com/iflytop/handacid/common/model/entity/Channel.java @@ -25,6 +25,9 @@ public class Channel extends BaseEntity { @Schema(description = "溶液浓度") private Integer concentration; + @Schema(description = "添加溶液量") + private Double targetVolume; + @Schema(description = "当前溶液量") private Double currentVolume; diff --git a/src/main/resources/sql/init.sql b/src/main/resources/sql/init.sql index 15734a6..7abc626 100644 --- a/src/main/resources/sql/init.sql +++ b/src/main/resources/sql/init.sql @@ -31,6 +31,7 @@ CREATE TABLE IF NOT EXISTS channel ( code TEXT,--通道code solution_id INTEGER,--绑定的溶液id concentration INTEGER,--溶液浓度 + target_volume REAL,--添加溶液量 current_volume REAL,--当前溶液量 received_volume REAL,--领取溶液量 create_time TEXT DEFAULT CURRENT_TIMESTAMP,