【增加查询参数条件】

yun-zuoyi
陈思洁 5 years ago
parent 817f4b2812
commit 50c2258f58

@ -7217,4 +7217,39 @@ public class MesEnumUtil {
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum STEP_TRIGGER_TYPE {
INTERNAL_TRIGGER(10, "内部触发"),
EXTERNAL_TRIGGER(20, "外部触发");
private int value;
private String description;
STEP_TRIGGER_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;
}
}
}

@ -136,6 +136,28 @@ public class MesQueueOrder extends BaseBean implements Serializable {
@ApiParam("产品颜色")
private String colorName;
@Transient
@ApiParam("零件号")
private String partNo;
@Transient
@ApiParam("零件名称")
private String partNameRdd;
@Transient
@ApiParam("箱数")
private Integer boxQty;
@Transient
@ApiParam("开始时间")
private String startTime;
@Transient
@ApiParam("结束时间")
private String endTime;
public MesQueueOrder(){}
public int getStatusVal() {
return this.status == null ? 0 : this.status;
}
@ -144,4 +166,19 @@ public class MesQueueOrder extends BaseBean implements Serializable {
return this.seq == null ? 0.0d : this.seq;
}
public MesQueueOrder(Double seq, String partNo, String partNameRdd,Integer boxQty,
Integer queueType,Integer status,String createUser,
String createDatetime,String modifyUser,String modifyDatetime) {
this.seq = seq;
this.partNo = partNo;
this.partNameRdd = partNameRdd;
this.boxQty = boxQty;
this.queueType = queueType;
this.status = status;
this.createUser = createUser;
this.createDatetime = createDatetime;
this.modifyUser = modifyUser;
this.modifyDatetime = modifyDatetime;
}
}

Loading…
Cancel
Save