Merge remote-tracking branch 'origin/dev' into dev

yun-zuoyi
lbwgithub 6 years ago
commit 73b8fd1de4

@ -1256,13 +1256,13 @@ public class MesPcnEnumUtil {
}
/**
* redis
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum PCN_SN_TYPE {
NORMAL(10, "不过期"),
FIRST_INSPECTION(20, "一分钟");
NORMAL(10, "正常件"),
FIRST_INSPECTION(20, "首检件");
private int value;
private String description;
@ -1292,4 +1292,42 @@ public class MesPcnEnumUtil {
}
/**
* MesPlanOrdersource
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CACHE_KEY {
TRAY("TRAY:", "托盘缓存key"),
SERIAL_NO("PCN_SERIAL:", "条码缓存key");
private String value;
private String description;
CACHE_KEY(String value, String description) {
this.value = value;
this.description = description;
}
public String getValue() {
return value;
}
public String getDescription() {
return description;
}
public static String valueOfDescription(int val) {
String tmp = null;
for (int i = 0; i < values().length; i++) {
if (values()[i].value.equals(val)) {
tmp = values()[i].description;
}
}
return tmp;
}
}
}

@ -76,9 +76,13 @@ public class MesProcessBom extends BaseBean {
private Integer isCheck;
@Column(name = "IS_FEED")
@ApiParam(value = "是否检查")
@ApiParam(value = "是否投料配置")
private Integer isFeed;
@Column(name = "is_BIND_KEY")
@ApiParam(value = "是否绑定关键件")
private Integer isBindKey;
@Transient
@ApiParam("是否已绑定")
private Boolean isBind;

@ -61,4 +61,7 @@ public class StationRequestBean implements Serializable {
@ApiParam("工单号")
private String workOrderNo;
@ApiParam("托盘号")
private String tray;
}

@ -80,9 +80,13 @@ public class MesProcessBom extends BaseBean {
@Column(name = "IS_FEED")
@ApiParam(value = "是否检查")
@ApiParam(value = "是否投料配置")
private Integer isFeed;
@Column(name = "is_BIND_KEY")
@ApiParam(value = "是否绑定关键件")
private Integer isBindKey;
@Transient
@ApiParam("是否已绑定")
private Boolean isBind;

Loading…
Cancel
Save