task `1295` mes添加索引

yun-zuoyi
luweihao 5 years ago
parent 0d212df73a
commit 1ec56edcdc

@ -295,4 +295,33 @@ public class PtlPcnEnumUtil {
} }
} }
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum StatusType {
START(10, "START", "开始状态"),
FINISH(20, "FINISH", "完成状态"),
TERMINATE(30, "TERMINATE", "中断状态");
private int value;
private String code;
private String description;
StatusType(int value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public int getValue() {
return value;
}
public String getCode() {
return code;
}
public String getDescription() {
return description;
}
}
} }

@ -70,9 +70,9 @@ public class PtlRouteStatus extends BaseBean implements Serializable {
@ApiParam("离开状态调用") @ApiParam("离开状态调用")
private Long outAmgId; private Long outAmgId;
@Column(name = "SEQ") @Column(name = "STATUS_TYPE")
@ApiParam("流程状态顺序") @ApiParam("状态类型")
private Integer seq; private Integer statusType;
} }

Loading…
Cancel
Save