yun-zuoyi
陈思洁 5 years ago
commit 4137fe1a80

@ -83,7 +83,6 @@ public abstract class BaseBean implements Serializable {
@Column(name="CREATE_USER",updatable = false)
@ApiParam(value = "创建用户")
@AnnoOutputColumn(hidden = true)
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.LIST, getValWay = CommonEnumUtil.DYNAMIC_FIELD_GET_WAY.URL,
dataSrc = "/impp/operate/sys-user/query-user-by-pager",
searchColumnName = "userName", listColumnName = "userLoginName,userName", explicitColumnName = "userName")
@ -97,7 +96,6 @@ public abstract class BaseBean implements Serializable {
@Column(name="MODIFY_USER")
@ApiParam(value = "修改人")
@AnnoOutputColumn(hidden = true)
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.LIST, getValWay = CommonEnumUtil.DYNAMIC_FIELD_GET_WAY.URL,
dataSrc = "/impp/operate/sys-user/query-user-by-pager",
searchColumnName = "userName", listColumnName = "userLoginName,userName", explicitColumnName = "userName")

@ -718,7 +718,7 @@ public class MesPcnEnumUtil {
DEFECTED(20, "不合格"),
SCRAPED(30, "报废"),
DISMANTLED(40, "已拆解"),
PRE_CHECK(50, "待检测");
PRE_CHECK(5, "待检测");
private int value;
private String description;

@ -300,6 +300,63 @@ public class WmsEnumUtil {
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum REC_STATUS_KANBAN {
TO_BE_RECEIVED(10, "TO_BE_RECEIVED", "待收货"),
RECEIVING(20, "RECEIVING", "收货中"),
DELAYED_NON_RECEIPT(30, "DELAYED_NON_RECEIPT", "延迟未收货"),
COMPLETED(40, "COMPLETED", "已完成");
private int value;
private String code;
private String description;
REC_STATUS_KANBAN(int value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public int getValue() {
return value;
}
public String getCode() {
return code;
}
public String getDescription() {
return description;
}
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 int descOf(String desc) {
int tmp = 1;
for (int i = 0; i < values().length; i++) {
if (values()[i].description.equals(desc)) {
tmp = values()[i].value;
}
}
return tmp;
}
public static String valueOfDescription(int val) {
return valueOf(val);
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
@ -1649,6 +1706,42 @@ public class WmsEnumUtil {
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum QC_STATUS {
INSPECTION_FREE(10, "免检"),
PENDING_QUALITY_INSPECTION(20, "待质检"),
QUALITY_INSPECTION_COMPLETED(30, "质检完成");
private int value;
private String description;
QC_STATUS(int value, String description) {
this.value = value;
this.description = description;
}
public int getValue() {
return value;
}
public String getDescription() {
return description;
}
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;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum QC_INFO_STATUS {
CREATE(10, "新建"),
FINISH(20, "处理中"),
@ -8454,4 +8547,78 @@ public class WmsEnumUtil {
return null;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum FREQUENCY {
ORDER_GENERATE(10, "MULTI_FREQUENCY", "多频次"),
STRATEGIC_ACTION(20, "NON_MULTI_FREQUENCY", "非多频次"),
TASK_GENERATE(30, "AMP", "AMP");
private int value;
private String code;
private String description;
FREQUENCY(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);
}
public static int descriptionOfValue(String desc) {
return descOf(desc);
}
public static int descOf(String desc) {
int tmp = 1;
for (int i = 0; i < values().length; i++) {
if (values()[i].description.equals(desc)) {
tmp = values()[i].value;
}
}
return tmp;
}
public static FREQUENCY codeOf(Integer value) {
if (value == null) {
return null;
} else {
for (int i = 0; i < values().length; i++) {
if (values()[i].value == value) {
return values()[i];
}
}
}
return null;
}
}
}

@ -78,6 +78,10 @@ public class MesProdRouteOptParam extends BaseBean implements Serializable {
@ApiParam("是否执行 1=是 2=否")
private Integer isActive;
@Column(name = "STEP_DISPLAY_NAME")
@ApiParam("工步展示名称")
private String stepDisplayName;
@Transient
@Column(name = "PARAM_ATTRIBUTE")
@ApiParam("参数属性")

@ -58,6 +58,10 @@ public class MesRouteProcessStep extends BaseBean implements Serializable {
@ApiParam("工步参数值")
private String paramValue;
@Column(name = "STEP_DISPLAY_NAME")
@ApiParam("工步展示名称")
private String stepDisplayName;
@Transient
@Column(name = "PARAM_ATTRIBUTE")
@ApiParam("参数属性")

@ -203,7 +203,7 @@ public class QueueOrderModel implements Serializable {
//getWaitQueueOrderModelNoSn
public QueueOrderModel(String serialNumber, String orderNo, Long id, Double queueSeq, Double queDetailSeq, String custFlagNo, String prodCfgNameRdd, String categoryNameRdd,
String partNo, String partNameRdd, String workType, Double finsihQty, Double qty,String pptCode) {
String partNo, String partNameRdd, String workType, Double finsihQty, Double qty, String pptCode, String produceCategoryCode) {
this.serialNumber = serialNumber;
this.id = id;
this.queueSeq = queueSeq;
@ -218,7 +218,9 @@ public class QueueOrderModel implements Serializable {
this.qty = qty;
this.orderNo = orderNo;
this.pptCode = pptCode;
this.produceCategoryCode = produceCategoryCode;
}
//getAlreadyQueueOrderModelNoSn
public QueueOrderModel(String serialNumber, String orderNo, Long id, Double queueSeq, Double queDetailSeq, String custFlagNo, String prodCfgNameRdd, String categoryNameRdd,
String partNo, String partNameRdd, String workType) {

@ -73,6 +73,9 @@ public class StepModel implements Serializable {
@ApiParam("参数代码")
private String paramCode;
@ApiParam("工步展示名称")
private String stepDisplayName;
/**
*
*/
@ -83,7 +86,7 @@ public class StepModel implements Serializable {
}
public StepModel(String stepCode, String stepName, String stepText, String stepType, String stepObject,
String routeCode, String processCode, Integer stepSeq, String paramCode, String workCellCode) {
String routeCode, String processCode, Integer stepSeq, String paramCode, String stepDisplayName, String workCellCode) {
this.stepCode = stepCode;
this.stepName = stepName;
this.stepText = stepText;
@ -93,6 +96,7 @@ public class StepModel implements Serializable {
this.processCode = processCode;
this.stepSeq = stepSeq;
this.paramCode = paramCode;
this.stepDisplayName = stepDisplayName;
this.workCellCode = workCellCode;
}
}

@ -16,6 +16,7 @@ import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;
/**
* @Description :
@ -154,6 +155,14 @@ public class WmsCSOrderDetails extends BaseBean {
@AnnoOutputColumn(refClass = WmsEnumUtil.INVENTORY_DIFFERENCE_TYPE.class,refForeignKey = "value",value = "description")
public Integer differenceType;
/**
* 102030
*/
@Transient
@ApiParam("差异集合")
@AnnoOutputColumn(refClass = WmsEnumUtil.INVENTORY_DIFFERENCE_TYPE.class, refForeignKey = "value", value = "description")
public List<Integer> differenceTypeList;
public Integer getDifferenceTypeVal() {
return this.differenceType == null ?
-1: this.differenceType;

@ -284,6 +284,13 @@ public class WmsPart extends BaseBean {
public Integer isRecycle;
@Column(name = "FREQUENCY")
@ApiParam(value = "频次", example = "0")
@DynamicField(webFieldType = CommonEnumUtil.FIELD_TYPE.SELECT, isRequire = 2, dataSrc = "FREQUENCY")
@AnnoOutputColumn(refClass = WmsEnumUtil.FREQUENCY.class, refForeignKey = "value", value = "description", hidden = true)
private Integer frequency;
public int getIqcVal() {
return this.iqc == null ? 0 : this.iqc.intValue();
}

@ -0,0 +1,54 @@
package cn.estsh.i3plus.pojo.wms.dto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @Description :
* @Reference :
* @Author :QianHuaSheng
* @CreateDate : 2020-07-09 9:50
* @Modify:
**/
@Data
@Api("静态盘点查询输出实体类")
public class WmsReceiptKanbanDto {
@ApiParam(value = "供应商编号")
private String vendorNo;
@ApiParam(value = "频次")
private String frequency;
@ApiParam(value = "供应商名称")
private String verdorName;
@ApiParam(value = "订单号")
private String orderNo;
@ApiParam(value = "道口")
private String dock;
@ApiParam(value = "项目")
private String prodCfgTypeCode;
@ApiParam(value = "窗口时间")
private String planDate;
@ApiParam(value = "开始收货时间")
private String earliestReceTime;
@ApiParam(value = "结束收货时间")
private String latestReceTime;
@ApiParam(value = "收货状态")
private String receStatus;
@ApiParam(value = "质检状态")
private String qcStatus;
@ApiParam(value = "工厂代码")
private String organizeCode;
}
Loading…
Cancel
Save