成功处理移动单写入MOVE_TO_ERP表:根据移动单号+行号+零件号查询是否已存在数据,是则将此数据标记为不同步且无效软删除

yun-zuoyi
许心洁 6 years ago
parent b112bdb5e8
commit 7799937093

@ -285,6 +285,7 @@ public class WmsEnumUtil {
}
return tmp;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
@ -3440,7 +3441,8 @@ public class WmsEnumUtil {
COMPLETE_RECEIPT("COMPLETE_RECEIPT", "完成收货"),
PARTIAL_RECEIPT("PARTIAL_RECEIPT", "部分收货"),
OVER_RECEIVED_GOODS("OVER_RECEIVED_GOODS", "超量收货"),
OTHER("ELSE", "其他"),;
OTHER("ELSE", "其他"),
;
private String value;
private String description;
@ -3729,6 +3731,7 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
*
*/
@ -3782,6 +3785,7 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
*
*/
@ -3836,4 +3840,37 @@ public class WmsEnumUtil {
}
}
/**
* MOVE_TO_ERP
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MOVE_TO_ERP_IS_SYNC {
SYNCHRONIZED(1, "已同步"), UN_SYNCHRONIZED(2, "未同步"), NON_SYNCHRONIZED(3, "不同步");
private int value;
private String description;
MOVE_TO_ERP_IS_SYNC(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;
}
}
}
Loading…
Cancel
Save