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

yun-zuoyi
钮海涛 5 years ago
commit 917a101f20

@ -5499,7 +5499,7 @@ public class MesEnumUtil {
ORGANIZE_OEE_HOUR("ORGANIZE_OEE_HOUR", "工厂OEE(小时)"),
ORGANIZE_OEE_DAY("ORGANIZE_OEE_DAY", "工厂OEE(天)"),
WORK_CENTER_OEE_DAY("WORK_CENTER_OEE_DAY", "产线OEE(天)"),
EQU_OEE_DAY("EQU_OEE_Day", "设备OEE(天)");
EQU_OEE_DAY("EQU_OEE_DAY", "设备OEE(天)");
private String value;
private String description;

@ -2244,7 +2244,8 @@ public class WmsEnumUtil {
MATERIAL(40, "MATERIAL", "物料对象"),
TRANS_TYPE(50, "TRANS_TYPE", "交易代码对象"),
BUSI_TYPE(60, "BUSI_TYPE", "业务类型对象"),
BUSI_OPERATION_TYPE(70, "BUSI_OPERATION_TYPE", "业务操作对象");
BUSI_OPERATION_TYPE(70, "BUSI_OPERATION_TYPE", "业务操作对象"),
BH_CHECK_TYPE(80, "BH_CHECK_TYPE", "检测大类对象");
private String code;
private String description;

@ -25,7 +25,7 @@ import java.io.Serializable;
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper = true)
@Table(name = "MES_OPERATE_OBJECT_ATTRIBUTE")
@Table(name = "MES_OPERATE_OBJECT_CFG")
@Api("MES_运算对象属性配置")
public class MesOperateObjectCfg extends BaseBean implements Serializable {
@ -62,4 +62,8 @@ public class MesOperateObjectCfg extends BaseBean implements Serializable {
@Transient
@ApiParam("属性名称")
private String attributeName;
@Transient
@ApiParam("属性类型")
private Integer attributeType;
}

@ -61,8 +61,8 @@ public class MesPatternJis extends BaseBean implements Serializable {
private Integer patternType;
@Lob
@Column(name = "RULE")
@Column(name = "MATCH_RULE")
@ApiParam("规则")
private String rule;
private String matchRule;
}

@ -26,7 +26,7 @@ public class MesWorkOrderModel {
@AnnoOutputColumn
private String partNo;
//客户产线代码
//产线代码
@ApiParam("ProductionLineID")
@AnnoOutputColumn
private String workCenterCode;

@ -63,7 +63,7 @@ public class WmsPartItemCheck extends BaseBean {
@Column(name = "STANDARD")
@ApiParam("标准值")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
private Double standard;
private Integer standard;
@Column(name = "MAX")
@ApiParam("最大值")

@ -353,6 +353,14 @@ public class WmsStockSn extends BaseBean {
@Transient
private String requerimentCode;
@Transient
@ApiParam("大检测项类型")
public Integer checkType;
@Transient
@ApiParam("样本数")
private Integer sampleSize;
public WmsStockSn() {
}

@ -13,6 +13,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
/**
* @Description :
@ -64,4 +65,18 @@ public class WmsTestResultDetails extends BaseBean {
@Column(name = "check_value")
@ApiParam("检测值")
public String checkValue;
@Transient
@ApiParam("已检测数")
private Long checkSize;
public WmsTestResultDetails() {
}
public WmsTestResultDetails(String partNo, Integer checkType, String bhCode, Long checkSize) {
this.partNo = partNo;
this.checkType = checkType;
this.bhCode = bhCode;
this.checkSize = checkSize;
}
}

@ -70,7 +70,6 @@ public class WmsTestResultSummary extends BaseBean {
@Column(name = "PICK_STATUS")
@ApiParam("挑选状态")
@AnnoOutputColumn(refClass = WmsEnumUtil.REWORK_STATUS.class, refForeignKey = "value", value = "description")
public Integer pickStatus;
@Column(name = "PICK_RESULT")

@ -48,6 +48,9 @@ public class WmsDataAuthModel extends BaseBean {
@ApiParam("业务类型列表")
private List<String> busiOperationTypeList;
@ApiParam("检测大类列表")
private List<String> bhCheckTypeList;
@ApiParam(
value = "新增操作",
example = "0"

@ -0,0 +1,53 @@
package cn.estsh.i3plus.pojo.wms.modelbean;
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam;
import lombok.Data;
/**
* @Description :
* @Reference :
* @Author : jimmy.zeng
* @CreateDate : 2020-04-29 16:23
* @Modify:
**/
@Data
@Api("子检测项model")
public class WmsPartItemCheckModel {
@ApiParam("子检测项代码")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
private String checkItemCode;
@ApiParam("子检测项名称")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT, isRequire = 2)
private String checkItemName;
@ApiParam("子检测箱值类型")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT, entityName = "BH_VALUE_TYPE")
private Integer valueType;
@ApiParam("检测值")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
private Double checkValue;
@ApiParam("是否合格")
@AnnoOutputColumn(refClass = WmsEnumUtil.TRUE_OR_FALSE.class, refForeignKey = "value", value = "description")
public Integer isQualified;
@ApiParam("标准值")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
private Integer standard;
@ApiParam("最大值")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
private Double max;
@ApiParam("最小值")
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.NUMBER, isRequire = 2)
private Double min;
}

@ -3214,4 +3214,19 @@ public class WmsHqlPack {
return result;
}
/**
*
*
* @param checkType
* @return
*/
public static DdlPackBean packHqlWmsPartCheckType(WmsPartCheckType checkType) {
DdlPackBean result = new DdlPackBean();
DdlPreparedPack.getStringEqualPack(checkType.getWorkCenterCode(), "workCenterCode", result);
DdlPreparedPack.getStringEqualPack(checkType.getPartNo(), "partNo", result);
DdlPreparedPack.getNumEqualPack(checkType.getCheckType(), "checkType", result);
getStringBuilderPack(checkType, result);
return result;
}
}

Loading…
Cancel
Save