流程管家create

yun-zuoyi
gragon.xu 7 years ago
parent 83de8099bc
commit cd777e00a5

@ -745,6 +745,7 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
*
*/
@ -912,6 +913,7 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
*
*/
@ -1472,4 +1474,42 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ACTION_MODULE_TYPE {
HANDLE(10, "流程处理组件"),
INIT(20, "流程初始化组件"),
END(30, "流程结束组件"),
DETAILS(40, "明细处理组件"),
SHOW(50, "回显示组件");
private int value;
private String description;
ACTION_MODULE_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOf(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

@ -1,6 +1,8 @@
package cn.estsh.i3plus.pojo.wms.bean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
@ -41,7 +43,8 @@ public class WmsTransType extends BaseBean{
private Integer seq;
@Column(name = "PROG_CODE")
@ApiParam(value ="处理程序")
private String progCode;
@ApiParam(value = "处理程序", example = "-1")
@JsonSerialize(using = ToStringSerializer.class)
private Long progCode;
}

Loading…
Cancel
Save