yun-zuoyi
joke.wang 5 years ago
parent a2f047553f
commit 52ad38fa9d

@ -6640,4 +6640,55 @@ public class MesEnumUtil {
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum GROUP_SIDE {
POSITIVE(10, "A", "正面"),
REVERSE_SIDE(20, "B", "背面");
private Integer value;
private String code;
private String description;
GROUP_SIDE(Integer value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public Integer getValue() {
return value;
}
public String getCode() {
return code;
}
public String getDescription() {
return description;
}
public static String codeOfDescription(String code) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].code.equals(code)) {
tmp = values()[i].description;
}
}
return tmp;
}
public static String valueOfDescription(Integer value) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value == value) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

@ -36,7 +36,7 @@ public class MesJitIssueCfg extends BaseBean implements Serializable {
private String custPlantCode;
@Column(name = "QTY")
@ApiParam("数量")
@ApiParam("配置数量")
private Integer qty;
@Column(name = "THRESHOLD_QTY")

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
/**
@ -46,4 +47,8 @@ public class MesQueueGroupCount extends BaseBean implements Serializable {
@Column(name = "CNT_QTY")
@ApiParam("累计数")
private Integer cntQty;
@Column(name = "GROUP_SIDE")
@ApiParam("料架摆放位置")
private String groupSide;
}

@ -14,7 +14,7 @@ import javax.persistence.Table;
import java.io.Serializable;
/**
* @Description :MES_QUEUE_GROUP_COUNT
* @Description :
* @Reference :
* @Author : joke
* @CreateDate : 2020-03-06 10:16

@ -116,6 +116,10 @@ public class MesQueueOrderDetail extends BaseBean implements Serializable {
@ApiParam("已生产数量")
private Double finsihQty;
@Column(name = "GROUP_SIDE")
@ApiParam("料架摆放位置")
private String groupSide;
@Transient
@ApiParam("Vin")
private String vinCode;

Loading…
Cancel
Save