【13608 20027-BI-首页点击产线-物流运行情况-新增实际出库与BP业务表对比-2021-01-15】

yun-zuoyi
陈思洁 4 years ago
parent 90bfcd6d46
commit 193c4a254c

@ -8243,4 +8243,49 @@ public class MesEnumUtil {
return tmp;
}
}
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum DELIVER_ORDER_MOVE_TYPE {
SHIPING(10, "发运"),
ALLOCATION(20, "发运&调拨");
private int value;
private String description;
DELIVER_ORDER_MOVE_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public static MesEnumUtil.DELIVER_ORDER_MOVE_TYPE getByValue(Integer value) {
for (MesEnumUtil.DELIVER_ORDER_MOVE_TYPE showSupplierCode : values()) {
if (showSupplierCode.getValue() == value) {
return showSupplierCode;
}
}
return null;
}
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;
}
public int getValue() {
return value;
}
public String getValueStr() {
return value + "";
}
public String getDescription() {
return description;
}
}
}

@ -48,6 +48,10 @@ public class IfDeliverOrderData extends BaseBean implements Serializable {
@ApiParam("发运数量")
private Integer qty = 0;
@Column(name = "MOVE_TYPE")
@ApiParam("移动类型")
private Integer moveType;
@Column(name = "SYNC_STATUS")
@ApiParam("同步状态")
private Integer syncStatus;

@ -27,4 +27,10 @@ public class LogisticsBiModel implements Serializable {
@ApiParam(value = "月份")
private Integer month;
@ApiParam(value = "实际出库数量")
private double outQty = 0;
@ApiParam(value = "BP总数")
private double bpQty= 0;
}

Loading…
Cancel
Save