|
|
|
@ -1514,14 +1514,43 @@ public class WmsEnumUtil {
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum RC_RESPONSE_TIPS {
|
|
|
|
|
|
|
|
|
|
OK(10, "正确"),
|
|
|
|
|
FAIL(20, "失败"),
|
|
|
|
|
NO_SKIP(30, "不跳转");
|
|
|
|
|
OK(true, "正确"),
|
|
|
|
|
NG(false, "失败");
|
|
|
|
|
|
|
|
|
|
private boolean codeStatus;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
RC_RESPONSE_TIPS(boolean codeStatus, String description) {
|
|
|
|
|
this.codeStatus = codeStatus;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public boolean getCodeStatus() {
|
|
|
|
|
return codeStatus;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getDescription() {
|
|
|
|
|
return description;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 流程管家中触发源
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum ACTION_BUTLER_SOURCE {
|
|
|
|
|
|
|
|
|
|
SCANNER(10, "扫描枪"),
|
|
|
|
|
SUBMIT(20, "提交按钮"),
|
|
|
|
|
RESET(30, "重置按钮"),
|
|
|
|
|
CHECK_DETAILS(40, "查看明细"),
|
|
|
|
|
DELETE_DETAILS(50, "明细(删除)"),
|
|
|
|
|
CLEAR_DETAILS(60, "明细(清空)");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
RC_RESPONSE_TIPS(int value, String description) {
|
|
|
|
|
ACTION_BUTLER_SOURCE(int value, String description) {
|
|
|
|
|
this.value = value;
|
|
|
|
|
this.description = description;
|
|
|
|
|
}
|
|
|
|
|