pcn队列pojo vin字段改为string型

yun-zuoyi
yiming.gu 6 years ago
parent 9281b74453
commit 486dda639f

@ -571,4 +571,42 @@ public class MesEnumUtil {
}
}
/**
* level
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PROD_ORG_LEVEL{
LEVEL_ONE(1,"一级目录"),
LEVEL_TWO(1,"二级目录"),
LEVEL_THREE(1,"三级目录"),
LEVEL_FOUR(1,"四级目录");
private int value;
private String description;
PROD_ORG_LEVEL(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == val ) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

@ -33,7 +33,7 @@ public class MesQueueOrder extends BaseBean {
@Column(name="VIN_CODE")
@ApiParam("Vin")
private Integer vinCode;
private String vinCode;
@Column(name="CUST_FLAG_NO")
@ApiParam("客户标识号")

Loading…
Cancel
Save