ptl IF_拣货数据

yun-zuoyi
王杰 5 years ago
parent 28fe4a03f8
commit 1d775acd69

@ -1281,7 +1281,7 @@ public class PtlPcnEnumUtil {
}
/**
* mes-pcn
* ptl-pcn
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PTL_PCN_TASK_SYNC_STATUS {
@ -1583,4 +1583,40 @@ public class PtlPcnEnumUtil {
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum SYNC_FLAG {
UNSYNC(1, "未同步"),
SYNCED(2, "已同步");
private int value;
private String description;
SYNC_FLAG(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;
}
}
}

@ -48,7 +48,7 @@ public class IfPickData extends BaseBean implements Serializable {
private Integer qty;
@Column(name = "SYNC_FLAG")
@ApiParam("同步标识:1=已同步 2=未同步")
@ApiParam("同步标识")
private Integer syncFlag;
}

Loading…
Cancel
Save