Browse Source

fix:调整注释

master
白凤吉 5 days ago
parent
commit
5fe9d63af6
  1. 2
      src/main/java/com/iflytop/handacid/app/common/enums/ChannelStateCode.java
  2. 3
      src/main/java/com/iflytop/handacid/app/common/enums/Direction.java
  3. 3
      src/main/java/com/iflytop/handacid/app/common/enums/SolutionAddMode.java
  4. 3
      src/main/java/com/iflytop/handacid/app/common/enums/UserRole.java
  5. 12
      src/main/resources/sql/init.sql

2
src/main/java/com/iflytop/handacid/app/common/enums/ChannelStateCode.java

@ -2,7 +2,7 @@
package com.iflytop.handacid.app.common.enums;
/**
* 多模块枚举类型
* 通道状态
*/
public enum ChannelStateCode {
ADD,

3
src/main/java/com/iflytop/handacid/app/common/enums/Direction.java

@ -1,5 +1,8 @@
package com.iflytop.handacid.app.common.enums;
/**
* 泵旋转方向
*/
public enum Direction {
FORWARD, BACKWARD;
}

3
src/main/java/com/iflytop/handacid/app/common/enums/SolutionAddMode.java

@ -1,5 +1,8 @@
package com.iflytop.handacid.app.common.enums;
/**
* 加液方式
*/
public enum SolutionAddMode {
AUTO, CLICK
}

3
src/main/java/com/iflytop/handacid/app/common/enums/UserRole.java

@ -1,5 +1,8 @@
package com.iflytop.handacid.app.common.enums;
/**
* 用户角色
*/
public enum UserRole {
ADMIN,
DEVELOPER,

12
src/main/resources/sql/init.sql

@ -77,12 +77,12 @@ CREATE TABLE IF NOT EXISTS receive_record (
-- Table structure for solution
-- ----------------------------
CREATE TABLE IF NOT EXISTS solution (
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT,
concentration DOUBLE,
scale DOUBLE,
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP
id INTEGER PRIMARY KEY AUTOINCREMENT,
name TEXT,
concentration DOUBLE,
scale DOUBLE,
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
update_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);
-- ----------------------------

Loading…
Cancel
Save