Merge remote-tracking branch 'origin/dev' into dev
commit
21ef38428c
@ -0,0 +1,88 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.ColumnDefault;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :BOM清单
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_BOM")
|
||||
@Api("BOM清单")
|
||||
public class MesBom extends BaseBean {
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("父零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="PART_NAME")
|
||||
@ApiParam("父零件名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam(value = "单位")
|
||||
private String unit;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "数量", example = "0")
|
||||
private Double qty;
|
||||
|
||||
@Column(name="ITEM_PART_NO")
|
||||
@ApiParam("子零件")
|
||||
private String itemPartNo;
|
||||
|
||||
@Column(name="ITEM_PART_NAME")
|
||||
@ApiParam("子零件名称")
|
||||
private String itemPartName;
|
||||
|
||||
@Column(name = "ITEM_UNIT")
|
||||
@ApiParam(value = "子零件单位")
|
||||
private String itemUnit;
|
||||
|
||||
@Column(name = "ITEM_QTY")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "子零件数量", example = "0")
|
||||
private Double itemQty;
|
||||
|
||||
@Column(name = "BOM_VERSION")
|
||||
@ApiParam(value = "BOM版本")
|
||||
private String bomVersion;
|
||||
|
||||
@Column(name = "EFF_START_TIME")
|
||||
@ApiParam(value = "生效时间")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private String effStartTime;
|
||||
|
||||
@Column(name = "EFF_END_TIME")
|
||||
@ApiParam(value = "失效时间")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private String effEndTime;
|
||||
|
||||
public double getQtyVal() {
|
||||
return this.qty == null ? 0.0d : this.qty;
|
||||
}
|
||||
|
||||
public double getitemQtyVal() {
|
||||
return this.itemQty == null ? 0.0d : this.itemQty;
|
||||
}
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :物料信息
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_PART")
|
||||
@Api("物料信息")
|
||||
public class MesPart extends BaseBean {
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="PART_NAME")
|
||||
@ApiParam("零件名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name="BRIEF_TEXT")
|
||||
@ApiParam("零件简称")
|
||||
private String briefText;
|
||||
|
||||
@Column(name="PART_SPEC")
|
||||
@ApiParam("零件规格")
|
||||
private String partSpec;
|
||||
|
||||
@Column(name="CATEGORY_CODE1")
|
||||
@ApiParam("分类1")
|
||||
private String categoryCode1;
|
||||
|
||||
@Column(name="CATEGORY_CODE2")
|
||||
@ApiParam("分类2")
|
||||
private String categoryCode2;
|
||||
|
||||
@Column(name="CATEGORY_CODE3")
|
||||
@ApiParam("分类3")
|
||||
private String categoryCode3;
|
||||
|
||||
@Column(name="UNIT")
|
||||
@ApiParam("单位")
|
||||
private String unit;
|
||||
|
||||
@Column(name="PACK_SPEC_CODE")
|
||||
@ApiParam("包装规格代码")
|
||||
private String packSpecCode;
|
||||
|
||||
@Column(name="DEFAULT_WORK_CENTER")
|
||||
@ApiParam("默认工作中心")
|
||||
private String defaultWorkCenter;
|
||||
|
||||
@Column(name="PRODUCE_CATEGORY")
|
||||
@ApiParam("产品类型")
|
||||
private String produceCategory;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :产品类流程配置表
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_ROUTE_CFG")
|
||||
@Api("产品类流程配置表")
|
||||
public class MesProdRouteCfg extends BaseBean {
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :产品流程配置操作参数表
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_ROUTE_OPT_PARAM")
|
||||
@Api("产品流程配置操作参数表")
|
||||
public class MesProdRouteOptParam extends BaseBean {
|
||||
@Column(name = "PROD_ROUTE_CFG_ID")
|
||||
@ApiParam("产品流程ID")
|
||||
private Long prodRouteCfgId;
|
||||
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name = "STEP_CODE")
|
||||
@ApiParam("工步代码")
|
||||
private String stepCode;
|
||||
|
||||
@Column(name = "STEP_SEQ")
|
||||
@ApiParam("工步顺序")
|
||||
private Integer stepSeq;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("工步参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("工步参数值")
|
||||
private String paramValue;
|
||||
|
||||
public long getProdRouteCfgIdVal() {
|
||||
return this.prodRouteCfgId == null ? 0l : this.prodRouteCfgId;
|
||||
}
|
||||
|
||||
public int getStepSeq() {
|
||||
return this.stepSeq == null ? 0 : this.stepSeq;
|
||||
}
|
||||
}
|
@ -0,0 +1,126 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-16-17:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_PRODUCE_SN")
|
||||
@Api("产品条码表")
|
||||
public class MesProduceSn extends BaseBean {
|
||||
|
||||
@Column(name="SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name="QC_STATUS")
|
||||
@ApiParam("质量状态")
|
||||
private Integer qcStatus;
|
||||
|
||||
@Column(name="SN_STATUS")
|
||||
@ApiParam("条码状态")
|
||||
private Integer snStatus;
|
||||
|
||||
@Column(name="PRINT_COUNT")
|
||||
@ApiParam("打印次数")
|
||||
private Integer printCount;
|
||||
|
||||
@Column(name="PRINT_STATUS")
|
||||
@ApiParam("打印状态")
|
||||
private Integer printStatus;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name="ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name="PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name="NEXT_PROCESS_CODE")
|
||||
@ApiParam("下一工序代码")
|
||||
private String nextProcessCode;
|
||||
|
||||
@Column(name="IN_WC_TIME")
|
||||
@ApiParam("进产线时间")
|
||||
private String inWorkCenterTime;
|
||||
|
||||
@Column(name="OUT_WC_TIME")
|
||||
@ApiParam("出产线时间")
|
||||
private String outWorkCenterTime;
|
||||
|
||||
@Column(name="SHIPPING_TIME")
|
||||
@ApiParam("发运时间")
|
||||
private String shippingTime;
|
||||
|
||||
@Column(name="WORK_ORDER_NO")
|
||||
@ApiParam("生产工单号")
|
||||
private String workOrderNo;
|
||||
|
||||
@Column(name="CUST_SN")
|
||||
@ApiParam("客户条码")
|
||||
private String custSn;
|
||||
|
||||
@Column(name="CUST_PART_NO")
|
||||
@ApiParam("客户零件号")
|
||||
private String custPartNo;
|
||||
|
||||
@Column(name="PACKAGE_SN")
|
||||
@ApiParam("包装条码")
|
||||
private String packageSn;
|
||||
|
||||
public double getQtyVal() {
|
||||
return this.qty == null ? 0.0d : this.qty;
|
||||
}
|
||||
|
||||
public int getQcStatusVal() {
|
||||
return this.qcStatus == null ? 0 : this.qcStatus;
|
||||
}
|
||||
|
||||
public int getSnStatusVal() {
|
||||
return this.snStatus == null ? 0 : this.snStatus;
|
||||
}
|
||||
|
||||
public int getPrintCountVal() {
|
||||
return this.printCount == null ? 0 : this.printCount;
|
||||
}
|
||||
|
||||
public int getPrintStatusVal() {
|
||||
return this.printStatus == null ? 0 : this.printStatus;
|
||||
}
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-16-17:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_QUEUE_ORDER")
|
||||
@Api("生产队列主表")
|
||||
public class MesQueueOrder extends BaseBean {
|
||||
@Column(name="ORDER_NO")
|
||||
@ApiParam("主队列编号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name="VIN_CODE")
|
||||
@ApiParam("Vin")
|
||||
private Integer vinCode;
|
||||
|
||||
@Column(name="CUST_FLAG_NO")
|
||||
@ApiParam("客户标识号")
|
||||
private String custFlagNo;
|
||||
|
||||
@Column(name="SEQ")
|
||||
@ApiParam("排序")
|
||||
private Double seq;
|
||||
|
||||
@Column(name="WORK_ORDER_NO")
|
||||
@ApiParam("生产工单号")
|
||||
private String workOrderNo;
|
||||
|
||||
@Column(name="STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name="CUST_PROD_LINE_CODE")
|
||||
@ApiParam("客户产线代码")
|
||||
private String custProdLineCode;
|
||||
|
||||
@Column(name="AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
public int getStatusVal() {
|
||||
return this.status == null ? 0 : this.status;
|
||||
}
|
||||
|
||||
public double getSeq() {
|
||||
return this.seq == null ? 0.0d : this.seq;
|
||||
}
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-16-17:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_QUEUE_ORDER_DETAIL")
|
||||
@Api("生产队列明细")
|
||||
public class MesQueueOrderDetail extends BaseBean {
|
||||
@Column(name="ORDER_NO")
|
||||
@ApiParam("工单号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private Integer partNo;
|
||||
|
||||
@Column(name="SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name="SEQ")
|
||||
@ApiParam("队列明细序号")
|
||||
private Double seq;
|
||||
|
||||
@Column(name="QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name="STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name="WORK_TYPE")
|
||||
@ApiParam("生产类型")
|
||||
private String workType;
|
||||
|
||||
@Column(name="PRODUCE_CATEGORY")
|
||||
@ApiParam("产品类型")
|
||||
private String produceCategory;
|
||||
|
||||
public double getSeqVal() {
|
||||
return this.seq == null ? 0.0d : this.seq;
|
||||
}
|
||||
|
||||
public double getQtyVal() {
|
||||
return this.qty == null ? 0.0d : this.qty;
|
||||
}
|
||||
|
||||
public int getStatusVal() {
|
||||
return this.status == null ? 0 : this.status;
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :工序工作单元
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ROUTE_PROCESS_CELL")
|
||||
@Api("工序工作单元对照")
|
||||
public class MesRouteProcessCell extends BaseBean {
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :工步
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_STEP")
|
||||
@Api("工步")
|
||||
public class MesStep extends BaseBean {
|
||||
@Column(name = "STEP_CODE")
|
||||
@ApiParam("工步代码")
|
||||
private String stepCode;
|
||||
|
||||
@Column(name = "STEP_NAME")
|
||||
@ApiParam("工步名称")
|
||||
private String stepName;
|
||||
|
||||
@Column(name = "STEP_TEXT")
|
||||
@ApiParam("工步描述")
|
||||
private String stepText;
|
||||
|
||||
@Column(name = "STEP_TYPE")
|
||||
@ApiParam("工步类型")
|
||||
private String stepType;
|
||||
|
||||
@Column(name = "STEP_OBJECT")
|
||||
@ApiParam("工步对象")
|
||||
private String stepObject;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :工步参数
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_STEP_PARAM")
|
||||
@Api("工步参数")
|
||||
public class MesStepParam extends BaseBean {
|
||||
@Column(name = "STEP_CODE")
|
||||
@ApiParam("工步代码")
|
||||
private String stepCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_NAME")
|
||||
@ApiParam("参数名称")
|
||||
private String paramName;
|
||||
|
||||
@Column(name = "PARAM_ATTRIBUTE")
|
||||
@ApiParam("参数属性")
|
||||
private String paramAttribute;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :工作单元
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL")
|
||||
@Api("工作单元")
|
||||
public class MesWorkCell extends BaseBean {
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME")
|
||||
@ApiParam("工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("生产区域代码")
|
||||
private String areaCode;
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :工作中心
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CENTER")
|
||||
@Api("工作中心")
|
||||
public class MesWorkCenter extends BaseBean {
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_NAME")
|
||||
@ApiParam("工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@Column(name = "ERP_WORK_CENTER")
|
||||
@ApiParam("ERP工作中心")
|
||||
private String erpWorkCenter;
|
||||
|
||||
@Column(name = "WORK_VER")
|
||||
@ApiParam("工作版本")
|
||||
private String workVer;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("生产区域代码")
|
||||
private String areaCode;
|
||||
}
|
@ -0,0 +1,141 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-16-17:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_WORK_ORDER")
|
||||
@Api("生产工单")
|
||||
public class MesWorkOrder extends BaseBean {
|
||||
@Column(name="ORDER_NO")
|
||||
@ApiParam("工单号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="PROD_CFG_CODE")
|
||||
@ApiParam("产品配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name="QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name="COMPLETE_QTY")
|
||||
@ApiParam("完成数量")
|
||||
private Double completeQty;
|
||||
|
||||
@Column(name="REPAIR_QTY")
|
||||
@ApiParam("返修数量")
|
||||
private Double repairQty;
|
||||
|
||||
@Column(name="SCRAP_QTY")
|
||||
@ApiParam("报废数量")
|
||||
private Double scrapQty;
|
||||
|
||||
@Column(name="SEQ")
|
||||
@ApiParam("工单序号")
|
||||
private Double seq;
|
||||
|
||||
@Column(name="WO_STATUS")
|
||||
@ApiParam("工单状态")
|
||||
private Integer workOrderStatus;
|
||||
|
||||
@Column(name="WO_TYPE")
|
||||
@ApiParam("工单类型")
|
||||
private Integer workOrderType;
|
||||
|
||||
@Column(name="NEXT_ORDER")
|
||||
@ApiParam("下一工单")
|
||||
private String nextOrder;
|
||||
|
||||
@Column(name="PLAN_ORDER_NO")
|
||||
@ApiParam("生产计划单号")
|
||||
private String planOrderNo;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name="SCHEDULE_DATE")
|
||||
@ApiParam("排产日期")
|
||||
private String scheduleDate;
|
||||
|
||||
@Column(name="CUST_PROD_LINE_CODE")
|
||||
@ApiParam("客户禅产线代码")
|
||||
private String custProdLineCode;
|
||||
|
||||
@Column(name="SHIFT_CODE")
|
||||
@ApiParam("班次")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name="START_TIME")
|
||||
@ApiParam("开始时间")
|
||||
private String startTime;
|
||||
|
||||
@Column(name="END_TIME")
|
||||
@ApiParam("结束时间")
|
||||
private String endTime;
|
||||
|
||||
@Column(name="WO_SOURCE")
|
||||
@ApiParam("工单来源")
|
||||
private String workOrderSource;
|
||||
|
||||
@Column(name="MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
|
||||
public double getQtyVal() {
|
||||
return this.qty == null ? 0.0d : this.qty;
|
||||
}
|
||||
|
||||
public double getCompleteQtyVal() {
|
||||
return this.completeQty == null ? 0.0d : this.completeQty;
|
||||
}
|
||||
|
||||
public double getRepairQtyVal() {
|
||||
return this.repairQty == null ? 0.0d : this.repairQty;
|
||||
}
|
||||
|
||||
public double getScrapQtyVal() {
|
||||
return this.scrapQty == null ? 0.0d : this.scrapQty;
|
||||
}
|
||||
|
||||
public double getSeqVal() {
|
||||
return this.seq == null ? 0.0d : this.seq;
|
||||
}
|
||||
|
||||
public int getWorkOrderStatusVal() {
|
||||
return this.workOrderStatus == null ? 0 : this.workOrderStatus;
|
||||
}
|
||||
|
||||
public int getWorkOrderTypeVal() {
|
||||
return this.workOrderType == null ? 0 : this.workOrderType;
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesBom;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesBomRepository extends BaseRepository<MesBom, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesPart;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesPartRepository extends BaseRepository<MesPart, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesProdRouteCfg;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesProdRouteCfgRepository extends BaseRepository<MesProdRouteCfg, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesProdRouteOptParam;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesProdRouteOptParamRepository extends BaseRepository<MesProdRouteOptParam, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesProduceSn;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-17-17:10
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesProduceSnRepository extends BaseRepository<MesProduceSn, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesQueueOrderDetail;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-17-17:12
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesQueueOrderDetailRepository extends BaseRepository<MesQueueOrderDetail, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesQueueOrder;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-17-17:11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesQueueOrderRepository extends BaseRepository<MesQueueOrder, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesRouteProcessCell;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesRouteProcessCellRepository extends BaseRepository<MesRouteProcessCell, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesStepParam;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesStepParamRepository extends BaseRepository<MesStepParam, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesStep;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesStepRepository extends BaseRepository<MesStep, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesWorkCell;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellRepository extends BaseRepository<MesWorkCell, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesWorkCenter;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCenterRepository extends BaseRepository<MesWorkCenter, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesWorkOrder;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-17-17:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkOrderRepository extends BaseRepository<MesWorkOrder, Long> {
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsStockSn;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 散件质检明细处理model
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-04-22 9:43
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class WmsLotQCTransModel implements Serializable {
|
||||
private String orderNo;
|
||||
private List<WmsStockSn> wmsStockSnList;
|
||||
}
|
Loading…
Reference in New Issue