【VDA质检】【缺了检验条码数量是否为-bug6402】

yun-zuoyi
曾贞一 6 years ago
parent c27daae8e4
commit 7dbb55bcb0

@ -4180,4 +4180,51 @@ public class WmsEnumUtil {
}
}
/**
*
* 10
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum SHIPP_QTY_CONTROL {
LESS_SEND(10, "少发"),
MANY_SEND(20, "多发"),
CONSISTENT(30, "一致"),
NO_CONTROL(40, "不控制");
private int value;
private String description;
SHIPP_QTY_CONTROL(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static SHIPP_QTY_CONTROL codeOf(int value) {
for (int i = 0; i < values().length; i++) {
if (values()[i].value == value) {
return values()[i];
}
}
return null;
}
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;
}
}
}

@ -60,4 +60,8 @@ public class BasCustomer extends BaseBean {
@Column(name = "CUST_FAX")
@ApiParam(value = "传真")
private String custFax;
@Column(name = "SHIPP_QTY")
@ApiParam(value = "发运数量控制")
private Integer shippQty;
}

Loading…
Cancel
Save