【安全库存拉动】

yun-zuoyi
陈思洁 6 years ago
parent 96ea008725
commit b181cf2ac3

@ -4229,4 +4229,51 @@ public class WmsEnumUtil {
}
}
/**
*
* 10
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PULL_WAY_STATUS {
SAFETY_STOCK_PULL(10, "安全库存拉动"),
ELECTRONIC_KANBAN_PULL(20, "电子看板拉动"),
LINE_PULL(30, "巡线拉动"),
PLANNED_PULL(40, "计划拉动");
private int value;
private String description;
PULL_WAY_STATUS(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public static PULL_WAY_STATUS 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;
}
}
}

@ -187,6 +187,10 @@ public class WmsPart extends BaseBean {
@ApiParam(value = "是否录入生产批次", example = "1")
private Integer isProdLot = 2;
@Column(name = "PULL_WAY")
@ApiParam(value = "拉动方式", example = "0")
private Integer pullWay = 0;
public int getIqcValue(){
return this.iqc == null ? 0 : this.iqc.intValue();
}

@ -36,6 +36,9 @@ public class WmsMoveUnfinishedOrderModel extends BaseBean{
@ApiParam("关联单号")
private String refSrc;
public WmsMoveUnfinishedOrderModel(){
}
public WmsMoveUnfinishedOrderModel(String organizeCode, String partNo, String partNameRdd, Double destQty, String transTypeCode, String transTypeName, String refSrc) {
this.organizeCode = organizeCode;
this.partNo = partNo;

Loading…
Cancel
Save