新增枚举信息

移库单明细表冗余主表临时字段
新增物料表字段
yun-zuoyi
陈思洁 6 years ago
parent dcb9b59ec9
commit fe3d392e9b

@ -2853,4 +2853,38 @@ public class WmsEnumUtil {
return tmp;
}
}
/**
* ERP 10=20=30=
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum WMS_SN_GENERATE_RULE {
SOURCE(10, "源"), TARGET(20, "目标"), NON_ASSIGNMENT(30, "不赋值");
private int value;
private String description;
WMS_SN_GENERATE_RULE(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;
}
}
}

@ -210,4 +210,16 @@ public class WmsDocMovementDetails extends BaseBean {
@Column(name = "LOCK_VERSION")
@ApiParam(value = "乐观锁", example = "1")
public transient Integer lockVersion;
@Transient
@ApiParam("移动类型")
public Integer moveType;
@Transient
@ApiParam("业务类型")
public Integer busiType;
@Column(name = "IS_SN")
@ApiParam(value = "条码生成状态", example = "1")
public Integer isSn;
}

@ -151,6 +151,10 @@ public class WmsPart extends BaseBean {
@ApiParam("库存水平")
private String stockLevelStatus;
@Column(name = "IS_PROD_LOT")
@ApiParam(value = "是否录入生产批次", example = "1")
private Integer isProdLot;
public int getIqcValue(){
return this.iqc == null ? 0 : this.iqc.intValue();
}

@ -0,0 +1,40 @@
package cn.estsh.i3plus.pojo.wms.engine.rule;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GenerateSnRule {
/**
* 130
*/
private Integer busiType;
/**
*
*/
private Integer isGenerateSn;
/**
*
*/
private Integer snStatus;
/**
*
*/
private Integer qcStatus;
/**
*
*/
private Integer whSource;
/**
*
*/
private Integer zoneSource;
}
Loading…
Cancel
Save