Browse Source

feat:[资源库管理][状态定义]

master
15881625488@163.com 3 weeks ago
parent
commit
d2d045e7ea
4 changed files with 254 additions and 0 deletions
  1. +61
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JcmcysEnum.java
  2. +66
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JlztEnum.java
  3. +56
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JyztEnum.java
  4. +71
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/ZjztEnum.java

+ 61
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JcmcysEnum.java View File

@ -0,0 +1,61 @@
package com.hxhq.business.enums.zykgl;
/**
* 稽查名称颜色1蓝色3红色5绿色7橙色
* @author tanfei
*/
public enum JcmcysEnum {
/**
* 蓝色
*/
wsd(1, "蓝色"),
/**
* 红色
*/
ysd(3, "红色"),
/**
* 绿色
*/
dgd(5, "绿色"),
/**
* 橙色
*/
gd(7, "橙色");
private int value;
private String text;
JcmcysEnum(int value, String text) {
this.value = value;
this.text = text;
}
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public static JcmcysEnum getEnumByValue(int type) {
for (JcmcysEnum bt : values()) {
if (bt.value == type) {
return bt;
}
}
return null;
}
}

+ 66
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JlztEnum.java View File

@ -0,0 +1,66 @@
package com.hxhq.business.enums.zykgl;
/**
* 记录状态 1:未锁定 3:已锁定 5:待归档 7:归档 9:待解档
* @author tanfei
*/
public enum JlztEnum {
/**
* 未锁定
*/
wsd(1, "未锁定"),
/**
* 已锁定
*/
ysd(3, "已锁定"),
/**
* 待归档
*/
dgd(5, "待归档"),
/**
* 归档
*/
gd(7, "归档"),
/**
* 待解档
*/
djd(9, "待解档");
private int value;
private String text;
JlztEnum(int value, String text) {
this.value = value;
this.text = text;
}
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public static JlztEnum getEnumByValue(int type) {
for (JlztEnum bt : values()) {
if (bt.value == type) {
return bt;
}
}
return null;
}
}

+ 56
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/JyztEnum.java View File

@ -0,0 +1,56 @@
package com.hxhq.business.enums.zykgl;
/**
* 借阅状态 1:未借阅 3:待借阅 5:借阅中
* @author tanfei
*/
public enum JyztEnum {
/**
* 未借阅
*/
wjy(1, "未借阅"),
/**
* 待借阅
*/
djy(3, "待借阅"),
/**
* 借阅中
*/
jyz(5, "借阅中");
private int value;
private String text;
JyztEnum(int value, String text) {
this.value = value;
this.text = text;
}
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public static JyztEnum getEnumByValue(int type) {
for (JyztEnum bt : values()) {
if (bt.value == type) {
return bt;
}
}
return null;
}
}

+ 71
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/enums/zykgl/ZjztEnum.java View File

@ -0,0 +1,71 @@
package com.hxhq.business.enums.zykgl;
/**
* 制剂状态1入库3已发放5已锁定7待归档9归档11待解档
* @author tanfei
*/
public enum ZjztEnum {
/**
* 入库
*/
rk(1, "入库"),
/**
* 已发放
*/
yff(3, "已发放"),
/**
* 已锁定
*/
ysd(5, "已锁定"),
/**
* 待归档
*/
dgd(7, "待归档"),
/**
* 归档
*/
gd(9, "归档"),
/**
* 待解档
*/
djd(11, "待解档");
private int value;
private String text;
ZjztEnum(int value, String text) {
this.value = value;
this.text = text;
}
public int getValue() {
return value;
}
public void setValue(int value) {
this.value = value;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public static ZjztEnum getEnumByValue(int type) {
for (ZjztEnum bt : values()) {
if (bt.value == type) {
return bt;
}
}
return null;
}
}

Loading…
Cancel
Save