产品入库表新增

yun-zuoyi
钮海涛 5 years ago
parent 724ba402bf
commit 81f380aec4

@ -6506,4 +6506,51 @@ public class WmsEnumUtil {
return valueOf(val);
}
}
/**
* BatchHold
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum FG_INSTOCK_SN_TYPE {
NORMAL(10, "NORMAL", "实物条码(正常)"),
FIRST_PIECE(20, "FIRST_PIECE", "首件"),
MIDDLE_PIECE(30, "MIDDLE_PIECE", "中件"),
TAIL_PIECE(40, "TAIL_PIECE", "末件");
private int value;
private String code;
private String description;
FG_INSTOCK_SN_TYPE(int value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
public String getCode() {
return code;
}
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;
}
public static String valueOfDescription(int val) {
return valueOf(val);
}
}
}

@ -100,4 +100,19 @@ public class WmsFGInStock extends BaseBean {
@Column(name="MFG_LOG_NO")
@ApiParam("生产批次")
public String mfgLogNo;
@Column(name = "BATCH_NO")
@ApiParam("batch号")
private String batchNo;
@Column(name = "PACKAGE_NO")
@ApiParam("箱条码")
private String packageNo;
/**
* 10=(),20=,30=,40=
*/
@Column(name = "SN_TYPE")
@ApiParam("条码类型")
private Integer snType;
}

Loading…
Cancel
Save