|
|
@ -6048,14 +6048,14 @@ public class WmsEnumUtil {
|
|
|
|
* 默认为 10
|
|
|
|
* 默认为 10
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
public enum PART_RECEIVING_TYPE {
|
|
|
|
public enum PART_RECEIVING_METHOD {
|
|
|
|
STAND(10, "标准收货"),
|
|
|
|
STAND(10, "标准收货"),
|
|
|
|
PREPARE(20, "预收货");
|
|
|
|
PREPARE(20, "预收货");
|
|
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
private int value;
|
|
|
|
private String description;
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
|
|
PART_RECEIVING_TYPE(int value, String description) {
|
|
|
|
PART_RECEIVING_METHOD(int value, String description) {
|
|
|
|
this.value = value;
|
|
|
|
this.value = value;
|
|
|
|
this.description = description;
|
|
|
|
this.description = description;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -6068,7 +6068,7 @@ public class WmsEnumUtil {
|
|
|
|
return description;
|
|
|
|
return description;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public static PART_RECEIVING_TYPE codeOf(int value) {
|
|
|
|
public static PART_RECEIVING_METHOD codeOf(int value) {
|
|
|
|
for (int i = 0; i < values().length; i++) {
|
|
|
|
for (int i = 0; i < values().length; i++) {
|
|
|
|
if (values()[i].value == value) {
|
|
|
|
if (values()[i].value == value) {
|
|
|
|
return values()[i];
|
|
|
|
return values()[i];
|
|
|
|