Merge branch 'dev' of joke.wang/joke-i3plus-pojo into dev

yun-zuoyi
陆卫豪 5 years ago committed by nancy.li
commit e43aee2e82

@ -17,7 +17,8 @@ public class MesEnumUtil {
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_ACTION_MODULE {
WORK_ORDER_LANDED(10, "生产工单下达");
WORK_ORDER_LANDED(10, "生产工单下达"),
QUEUE_JIT_ACTUAL_LANDED(20, "客户JIT生产工单下达");
private int value;
private String description;
@ -2915,7 +2916,8 @@ public class MesEnumUtil {
STANDARD_ORDER(10, "标准工单"),
BTS_ORDER(20, "BTS工单"),
ATTEMPT_ORDER(30, "试制工单"),
BH_ORDER(40, "B&H工单");
BH_ORDER(40, "B&H工单"),
JIT_ORDER(50, "JIT工单");
private int value;
private String description;
@ -4068,7 +4070,7 @@ public class MesEnumUtil {
* JIT
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_QUEUE_JIT_ACTUAL_STATUS {
public enum QUEUE_JIT_ACTUAL_STATUS {
CREATE(10, "创建"),
LANDED(20, "下达"),
CANCEL(30, "取消");
@ -4076,7 +4078,7 @@ public class MesEnumUtil {
private int value;
private String description;
MES_QUEUE_JIT_ACTUAL_STATUS(int value, String description) {
QUEUE_JIT_ACTUAL_STATUS(int value, String description) {
this.value = value;
this.description = description;
}
@ -4104,14 +4106,117 @@ public class MesEnumUtil {
* JIT
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum MES_QUEUE_JIT_ACTUAL_SPECIAL_FLAG {
public enum QUEUE_JIT_ACTUAL_SPECIAL_FLAG {
NORMAL(10, "正常"),
EMPTYING(20, "放空");
private int value;
private String description;
MES_QUEUE_JIT_ACTUAL_SPECIAL_FLAG(int value, String description) {
QUEUE_JIT_ACTUAL_SPECIAL_FLAG(int value, String description) {
this.value = value;
this.description = description;
}
public int 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 == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* JIS
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum QUEUE_JIS_STATUS {
CREATE(10, "创建");
private int value;
private String description;
QUEUE_JIS_STATUS(int value, String description) {
this.value = value;
this.description = description;
}
public int 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 == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum QUEUE_ORDER_QUEUE_TYPE {
PRODUCT_QUEUE(10, "生产队列"),
PRELOAD_QUEUE(20, "预装队列");
private int value;
private String description;
QUEUE_ORDER_QUEUE_TYPE(int value, String description) {
this.value = value;
this.description = description;
}
public int 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 == val) {
tmp = values()[i].description;
}
}
return tmp;
}
}
/**
* JIS
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum QUEUE_JIS_DETAIL_STATUS {
CREATE(10, "创建");
private int value;
private String description;
QUEUE_JIS_DETAIL_STATUS(int value, String description) {
this.value = value;
this.description = description;
}

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

@ -64,6 +64,14 @@ public class MesQueueJis extends BaseBean implements Serializable {
@ApiParam("工作单元代码")
private String workCellCode;
@Column(name = "CUST_CODE")
@ApiParam("客户代码")
private String custCode;
@Column(name = "CUST_PLANT_CODE")
@ApiParam("客户产线代码")
private String custPlantCode;
@Transient
@ApiParam("颜色")
private String color;

@ -59,4 +59,12 @@ public class MesQueueJisDetail extends BaseBean implements Serializable {
@ApiParam("产品条码")
private String serialNumber;
@Column(name = "QUEUE_GROUP_NO")
@ApiParam("分组队列编号")
private String queueGroupNo;
@Column(name = "GROUP_NO")
@ApiParam("组内编号")
private Integer groupNo;
}

@ -88,4 +88,16 @@ public class MesQueueJitActual extends BaseBean implements Serializable {
@ApiParam("客户需求结束时间")
private String custPointEndDate;
@Transient
@ApiParam("产品配置名称")
private String prodCfgName;
@Transient
@ApiParam("状态名称")
private String statusName;
@Transient
@ApiParam("特殊标识名称")
private String specialFlagName;
}

@ -31,9 +31,9 @@ public class MesQueueJitActualDetail extends BaseBean implements Serializable {
private static final long serialVersionUID = 1442091799346314190L;
@Column(name = "QGR_CODE")
@ApiParam("分组规则代码")
private String qgrCode;
@Column(name = "JIS_ACTUAL_NO")
@ApiParam("队列编号")
private String jisActualNo;
@Column(name = "PROD_CFG_CODE")
@ApiParam("配置代码")

@ -72,6 +72,26 @@ public class MesQueueOrder extends BaseBean implements Serializable {
@ApiParam("区域代码")
private String areaCode;
@Column(name = "IS_LOCK")
@ApiParam("锁定标识")
private Integer isLock;
@Column(name = "CUST_CODE")
@ApiParam("客户代码")
private String custCode;
@Column(name = "WORK_TYPE")
@ApiParam("区域代码")
private String workType;
@Column(name = "QUEUE_TYPE")
@ApiParam("队列类型")
private Integer queueType;
@Column(name = "PG_CODE")
@ApiParam("生产组代码")
private String pgCode;
@Transient
@ApiParam("起始车号")
private String custFlagNoStart;

@ -72,10 +72,18 @@ public class MesQueueOrderDetail extends BaseBean implements Serializable {
@ApiParam("产品类型名称")
private String produceCategoryNameRdd;
@Column(name = "产品生产类型")
@ApiParam("产品类型名称")
@Column(name = "PPT_CODE")
@ApiParam("产品生产类型")
private String pptCode;
@Column(name = "QUEUE_GROUP_NO")
@ApiParam("分组队列编号")
private String queueGroupNo;
@Column(name = "GROUP_NO")
@ApiParam("组内编号")
private Integer groupNo;
@Transient
@ApiParam("队列序号")
private Double queueSeq;

Loading…
Cancel
Save