Merge branch 'master' of http://git.estsh.com/i3-IMPP/i3plus-pojo
commit
4930ab058a
@ -0,0 +1,91 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description :JIT发运数据同步
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2020-03-27
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "if_queue_shipping")
|
||||
@Api("JIT发运数据同步")
|
||||
public class IfQueueShipping extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -8961182851667690154L;
|
||||
@Column(name = "JIT_NO")
|
||||
@ApiParam("JIT队列编号")
|
||||
private String jitNo;
|
||||
|
||||
@Column(name = "VIN_CODE")
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
|
||||
@Column(name = "CUST_FLAG_NO")
|
||||
@ApiParam("客户标识号")
|
||||
private String custFlagNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "PRODUCT_SN")
|
||||
@ApiParam("产品条码")
|
||||
private String productSn;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "SUPPLIER_CODE")
|
||||
@ApiParam("操作人")
|
||||
private String supplierCode;
|
||||
|
||||
@Column(name = "ACTION_DATE_TIME")
|
||||
@ApiParam("操作时间")
|
||||
private Date actionDateTime;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
|
||||
@Column(name = "ERROR_MESSAGE")
|
||||
@ApiParam("异常消息")
|
||||
private String errorMessage;
|
||||
|
||||
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam("动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "IF_CODE")
|
||||
@ApiParam("接口代码")
|
||||
private Integer ifCode;
|
||||
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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 : MES_容器
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-03-27 14:29
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CONTAINER")
|
||||
@Api("MES_容器类型")
|
||||
public class MesContainer extends BaseBean {
|
||||
private static final long serialVersionUID = -3843389042411645111L;
|
||||
|
||||
@Column(name = "CT_NO")
|
||||
@ApiParam(value = "容器编号")
|
||||
private String ctNo;
|
||||
|
||||
@Column(name = "CT_CODE")
|
||||
@ApiParam(value = "容器类型代码")
|
||||
private String ctCode;
|
||||
|
||||
@Column(name = "USE_STATUS")
|
||||
@ApiParam(value = "使用状态")
|
||||
private String useStatus;
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||
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 : MES_容器类型
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-03-27 14:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CONTAINER_TYPE")
|
||||
@Api("MES_容器类型")
|
||||
public class MesContainerType extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 2831600566482383573L;
|
||||
|
||||
@Column(name = "CT_CODE")
|
||||
@ApiParam(value = "容器类型代码")
|
||||
private String ctCode;
|
||||
|
||||
@Column(name = "CT_NAME")
|
||||
@ApiParam(value = "容器类型名称")
|
||||
private String ctName;
|
||||
|
||||
@Column(name = "USE_LIMIT")
|
||||
@ApiParam(value = "使用期限")
|
||||
private Integer useLimit;
|
||||
|
||||
@Column(name = "IS_RECYCLE")
|
||||
@ApiParam(value = "是否回收")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.TRUE_OR_FALSE.class, refForeignKey = "value", value = "description")
|
||||
private Integer isRecycle;
|
||||
|
||||
@Column(name = "LIMIT_UOM")
|
||||
@ApiParam(value = "期限单位")
|
||||
private String limitUom;
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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.Lob;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Author: wangjie
|
||||
* @CreateDate: 2020/04/03 7:12 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_DATA_WARNING")
|
||||
@Api("数据预警配置")
|
||||
public class MesDataWarning extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8328008752104417017L;
|
||||
|
||||
@Column(name = "OBJECT_CODE")
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@Column(name = "WARNING_RULE")
|
||||
@ApiParam("预警规则")
|
||||
private String warningRule;
|
||||
|
||||
@Column(name = "CHECK_TIME")
|
||||
@ApiParam("校验时间")
|
||||
private String checkTime;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数据量最大限制(分钟)")
|
||||
private Integer qty;
|
||||
|
||||
@Column(name = "WARNING_ITEM")
|
||||
@ApiParam("预警内容项")
|
||||
private String warningItem;
|
||||
|
||||
@Column(name = "INFORM_MODE")
|
||||
@ApiParam("通知方式")
|
||||
private Integer informMode;
|
||||
|
||||
@Lob
|
||||
@Column(name = "INFORM_USER")
|
||||
@ApiParam("通知对象")
|
||||
private String informUser;
|
||||
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/9 0009 - 17:58
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SCATTER_CFG_DETAIL")
|
||||
@Api("MES_散件配置报文关系")
|
||||
public class MesScatterCfgDetail extends BaseBean implements Serializable {
|
||||
|
||||
@Column(name = "SP_CFG_CODE")
|
||||
@ApiParam("散件配置编码")
|
||||
private String spCfgCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("散件产品代码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("用量")
|
||||
private BigDecimal qty;
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/30 11:48
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SM_ROUTE_OPT_PARAM")
|
||||
@Api("产品流程状态机配置操作参数表")
|
||||
public class MesSmRouteOptParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5466013923105175070L;
|
||||
|
||||
@Column(name = "PROD_ROUTE_CFG_ID")
|
||||
@ApiParam("产品流程Id")
|
||||
private Integer 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_TYPE")
|
||||
private Integer paramType;
|
||||
|
||||
@Column(name="PARAM_CODE")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name="PARAM_VALUE")
|
||||
private String paramValue;
|
||||
|
||||
@Column(name="IS_ACTION")
|
||||
private Integer isAction;
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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.Lob;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/30 11:12
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_STATE_MACHINE")
|
||||
@Api("MES状态机")
|
||||
public class MesStateMachine extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 6093522587973076640L;
|
||||
|
||||
@Column(name = "SM_CODE")
|
||||
@ApiParam("状态机代码")
|
||||
private String smCode;
|
||||
|
||||
@Column(name = "SM_NAME")
|
||||
@ApiParam("状态机名称")
|
||||
private String smName;
|
||||
|
||||
@Column(name = "SM_TYPE")
|
||||
@ApiParam("状态机类型")
|
||||
private String smType;
|
||||
|
||||
@Lob
|
||||
@Column(name = "POSITION")
|
||||
@ApiParam("GOJS的位置")
|
||||
private String position;
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/30 11:12
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_STATE_MACHINE_STATUS")
|
||||
@Api("MES状态机步骤")
|
||||
public class MesStateMachineStatus extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 6093522587973076640L;
|
||||
|
||||
@Column(name = "SM_CODE")
|
||||
@ApiParam("状态机代码")
|
||||
private String smCode;
|
||||
|
||||
@Column(name = "STATUS_CODE")
|
||||
@ApiParam("状态代码")
|
||||
private String statusCode;
|
||||
|
||||
@Column(name = "NEXT_STATUS")
|
||||
@ApiParam("下一状态")
|
||||
private String nextStatus;
|
||||
|
||||
@Column(name = "STATUS_NAME")
|
||||
@ApiParam("状态名称")
|
||||
private String statusName;
|
||||
|
||||
@Column(name = "TRIGGER_TYPE")
|
||||
@ApiParam("触发类型 10=内部触发 20=外部触发")
|
||||
private Integer triggerType;
|
||||
|
||||
@Column(name = "TRIGGER_EVENT")
|
||||
@ApiParam("触发事件")
|
||||
private String triggerEvent;
|
||||
|
||||
@Column(name = "TRIGGER_WHERE")
|
||||
@ApiParam("触发条件")
|
||||
private String triggerWhere;
|
||||
|
||||
@Column(name = "TRIGGER_AMG_ID")
|
||||
@ApiParam("触发调用")
|
||||
private Long triggerAmgId;
|
||||
|
||||
@Column(name = "IN_AMG_ID")
|
||||
@ApiParam("进入调用")
|
||||
private Long inAmgId;
|
||||
|
||||
@Column(name = "OUT_AMG_ID")
|
||||
@ApiParam("离开调用")
|
||||
private Long outAmgId;
|
||||
|
||||
@Column(name = "STATUS_TYPE", columnDefinition = "tinyint default 0")
|
||||
@ApiParam("状态类型 10=初始化状态")
|
||||
private Integer statusType;
|
||||
|
||||
@Transient
|
||||
@ApiParam("状态点是否完成")
|
||||
private boolean isComplete;
|
||||
|
||||
@Transient
|
||||
@ApiParam("状态点是否完成")
|
||||
private boolean isJump;
|
||||
|
||||
@Transient
|
||||
@ApiParam("前端显示颜色")
|
||||
private String color;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/30 11:28
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_STEP_GROUP")
|
||||
@Api("工步集")
|
||||
public class MesStepGroup extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 1876053661752102998L;
|
||||
|
||||
@Column(name = "AMG_ID")
|
||||
@ApiParam("组件集编号")
|
||||
private Long amgId;
|
||||
|
||||
@Column(name = "STEP_CODE")
|
||||
@ApiParam("组件集代码")
|
||||
private String stepCode;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("执行顺序")
|
||||
private Integer seq;
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :MES工装明细
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2020-03-19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_TOOLING_DETAIL")
|
||||
@Api("MES_工装明细")
|
||||
public class MesToolingDetail extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5033127912653649665L;
|
||||
|
||||
@Column(name = "TOOLING_NO")
|
||||
@ApiParam("工装编号")
|
||||
private String toolingNo;
|
||||
|
||||
@Column(name = "TOOLING_CODE ")
|
||||
@ApiParam("工装代码")
|
||||
private String toolingCode ;
|
||||
|
||||
@Column(name = "TOOLING_NAME")
|
||||
@ApiParam("工装名称")
|
||||
private String toolingName;
|
||||
|
||||
@Column(name = "TOOLING_TYPE")
|
||||
@ApiParam("工装类型")
|
||||
private Integer toolingType;
|
||||
|
||||
@Column(name = "USE_COUNT")
|
||||
@ApiParam("使用次数")
|
||||
private Integer useCount;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/20 0020 - 16:21
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WINDOW_MODULE")
|
||||
@Api("MES_界面组件配置")
|
||||
public class MesWindowModule extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -634938009999201410L;
|
||||
|
||||
@Column(name = "WINDOW_NO")
|
||||
@ApiParam("菜单编号")
|
||||
private String windowNo;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("按钮组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "WINDOW_MODULE_BACK")
|
||||
@ApiParam("回调界面方法")
|
||||
private String windowModuleBack;
|
||||
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/20 0020 - 16:25
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WINDOW_MODULE_PARAM")
|
||||
@Api("MES_界面组件参数配置")
|
||||
public class MesWindowModuleParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5834883080240684524L;
|
||||
|
||||
@Column(name = "WINDOW_NO")
|
||||
@ApiParam("界面编号")
|
||||
private String windowNo;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("参数值")
|
||||
private String paramValue;
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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;
|
||||
import javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : 工站分组队列
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-22 17:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_POINT_GROUP")
|
||||
@Api("工站分组队列")
|
||||
public class MesWorkCellPointGroup extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -6817903235638554748L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "QUEUE_GROUP_NO")
|
||||
@ApiParam("分组队列编号")
|
||||
private String queueGroupNo;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam("组内编号")
|
||||
private Integer groupNo;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("主队列编号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name = "QUEUE_SEQ")
|
||||
@ApiParam("队列主表序号")
|
||||
private Double queueSeq;
|
||||
|
||||
@Column(name = "QUEUE_DETAIL_SEQ")
|
||||
@ApiParam("队列明细表序号")
|
||||
private Double queueDetailSeq;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Transient
|
||||
@ApiParam("显示颜色")
|
||||
private String color;
|
||||
|
||||
public double getQueueSeqVal() {
|
||||
return this.queueSeq == null ? 0 : this.queueSeq;
|
||||
}
|
||||
|
||||
public double getQueueDetailSeqVal() {
|
||||
return this.queueDetailSeq == null ? 0 : this.queueDetailSeq;
|
||||
}
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesProduceSn;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/25 0025 - 19:41
|
||||
*/
|
||||
@Data
|
||||
@Api("按钮组件传输响应Model")
|
||||
public class ButtonComponentResultModel {
|
||||
|
||||
@ApiParam("成功信号")
|
||||
private boolean isSuccess;
|
||||
|
||||
@ApiParam("是否跳过工序")
|
||||
private boolean isJumpProcess;
|
||||
|
||||
@ApiParam("提示信息")
|
||||
private String msg;
|
||||
|
||||
@ApiParam("动态按钮组")
|
||||
private List<ButtonModel> buttonModels;
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("产品条码信息")
|
||||
private MesProduceSn produceSn;
|
||||
|
||||
@ApiParam("主队列编号")
|
||||
private String orderNo;
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Description : 按钮model
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/25 0025 - 5:02
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("按钮组件")
|
||||
public class ButtonModel {
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@ApiParam("组件名称")
|
||||
private String moduleName;
|
||||
|
||||
@ApiParam("界面回调方法")
|
||||
private String windowModuleBack;
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/30 22:18
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
public class FsmStatusModel {
|
||||
|
||||
private String from;
|
||||
|
||||
private String to;
|
||||
|
||||
private String event;
|
||||
|
||||
private Object context;
|
||||
|
||||
private String status;
|
||||
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesTooling;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : MES_设备工装关系Model
|
||||
* @Reference :
|
||||
* @Author :qianhuasheng
|
||||
* @CreateDate : 2020-04-02 16:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api("MES_设备工装关系Model")
|
||||
public class MesEquipmentToolingModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1947971352179107711L;
|
||||
|
||||
private Long id;
|
||||
|
||||
@ApiParam("显示颜色")
|
||||
private String color;
|
||||
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@ApiParam("工装编号")
|
||||
private String toolingNo;
|
||||
|
||||
@ApiParam("工装代码")
|
||||
private String toolingCode ;
|
||||
|
||||
@ApiParam("工装名称")
|
||||
private String toolingName;
|
||||
|
||||
@ApiParam("工装类型")
|
||||
private Integer toolingType;
|
||||
|
||||
@ApiParam("使用次数")
|
||||
private Integer useCount;
|
||||
|
||||
@ApiParam("更换开始时间")
|
||||
private String startTime;
|
||||
|
||||
@ApiParam("更换结束时间")
|
||||
private String endTime;
|
||||
|
||||
@Transient
|
||||
@ApiParam("最大次数")
|
||||
private Integer useCountMax;
|
||||
|
||||
public MesEquipmentToolingModel(MesTooling tooling, Integer useCount) {
|
||||
this.toolingCode = tooling.getToolingCode();
|
||||
this.toolingName = tooling.getToolingName();
|
||||
this.useCount = useCount;
|
||||
this.useCountMax = tooling.getUseCountMax();
|
||||
}
|
||||
public MesEquipmentToolingModel() {
|
||||
}
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :MES_JIT发运队列
|
||||
* @Reference :
|
||||
* @Author : qianhausheng
|
||||
* @CreateDate : 2020-03-06 10:16 上午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QUEUE_SHIPPING")
|
||||
@Api("MES_JIT发运队列")
|
||||
public class MesQueueShipping extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 655875369308414110L;
|
||||
|
||||
@Column(name = "JIT_NO")
|
||||
@ApiParam("队列编号")
|
||||
private String jitNo;
|
||||
|
||||
@Column(name = "PROD_CFG_CODE")
|
||||
@ApiParam("配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name = "VIN_CODE")
|
||||
@ApiParam("vin")
|
||||
private String vinCode;
|
||||
|
||||
@Column(name = "CUST_FLAG_NO")
|
||||
@ApiParam("客户标识号")
|
||||
private String custFlagNo;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("排序号")
|
||||
private Double seq;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name = "CUST_PLANT_CODE")
|
||||
@ApiParam("客户产线代码")
|
||||
private String custPlantCode;
|
||||
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :MES_JIT发运队列明细
|
||||
* @Reference :
|
||||
* @Author : qianhausheng
|
||||
* @CreateDate : 2020-03-06 10:16 上午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QUEUE_SHIPPING_DETAIL")
|
||||
@Api("MES_JIT发运队列明细")
|
||||
public class MesQueueShippingDetail extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1442091799346314190L;
|
||||
|
||||
@Column(name = "JIT_NO")
|
||||
@ApiParam("队列编号")
|
||||
private String jitNo;
|
||||
|
||||
@Column(name = "PROD_CFG_CODE")
|
||||
@ApiParam("配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "status")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name="SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "QUEUE_GROUP_NO")
|
||||
@ApiParam("分组队列编号")
|
||||
private String queueGroupNo;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam("组内编号")
|
||||
private Integer groupNo;
|
||||
|
||||
@Column(name = "GROUP_SEQ")
|
||||
@ApiParam("分组序号")
|
||||
private String groupSeq;
|
||||
|
||||
@Column(name = "qty")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @Description : 产品流程配置Model
|
||||
* @Reference :
|
||||
* @Author : adair
|
||||
* @CreateDate : 2020-4-2
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesRouteCfgModel {
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("产品生产类型")
|
||||
private String pptCode;
|
||||
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 产品流程配置参数Model
|
||||
* @Reference :
|
||||
* @Author : adair
|
||||
* @CreateDate : 2020-4-2
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesRouteCfgParamModel {
|
||||
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@ApiParam("是否执行 1=是 2=否")
|
||||
private Integer isActive;
|
||||
|
||||
List<MesRouteCfgStepModel> stepModelList;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 产品流程配置Model
|
||||
* @Reference :
|
||||
* @Author : adair
|
||||
* @CreateDate : 2020-4-2
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class MesRouteCfgStepModel {
|
||||
|
||||
@ApiParam("工步代码")
|
||||
private String stepCode;
|
||||
|
||||
List<MesRouteCfgModel> routeCfgModelList;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : JIT发运队列列表Model
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2019-05-22 16:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api("JIT发运队列列表Model")
|
||||
public class QueueShippingModel implements Serializable {
|
||||
private Long id;
|
||||
|
||||
@ApiParam("显示颜色")
|
||||
private String color;
|
||||
|
||||
@ApiParam("队列编号")
|
||||
private String jisActualNo;
|
||||
|
||||
@ApiParam("产品位置代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
@ApiParam("产品位置")
|
||||
private String prodCfgName;
|
||||
|
||||
@ApiParam("起始vin")
|
||||
private String vin;
|
||||
|
||||
@ApiParam("结束vin")
|
||||
private String endVin;
|
||||
|
||||
@ApiParam("料架号")
|
||||
private String queueGroupNo;
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.MesPcnEnumUtil;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/31 18:41
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class StationRequestCmdBean {
|
||||
|
||||
private StationRequestBean requestBean;
|
||||
|
||||
private MesPcnEnumUtil.STATION_REQUEST_BEAN_CMD cmd;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.IfQueueShipping;
|
||||
|
||||
/**
|
||||
* @Description :IF_JIT发运数据
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2020-03-06 10:57 上午
|
||||
* @Modify:
|
||||
**/
|
||||
public interface IfQueueShippingRepository extends BaseRepository<IfQueueShipping, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesDataWarning;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesDataWarningRepository extends BaseRepository<MesDataWarning, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesStateMachineStatus;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate:2019\10\9
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesStateMachineStatusRepository extends BaseRepository<MesStateMachineStatus, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWindowModuleParam;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/20 0020 - 16:37
|
||||
*/
|
||||
@Repository
|
||||
public interface MesWindowModuleParamRepository extends BaseRepository<MesWindowModuleParam,Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWindowModule;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/20 0020 - 16:36
|
||||
*/
|
||||
@Repository
|
||||
public interface MesWindowModuleRepository extends BaseRepository<MesWindowModule,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCellPointGroup;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :工站分组队列
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2019-05-29 14:40
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellPointGroupRepository extends BaseRepository<MesWorkCellPointGroup, Long> {
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.model.form;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.BlockFormEnumUtil;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description : 表单操作数据模型
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-04-02 10:22
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("表单操作数据模型")
|
||||
@NoArgsConstructor
|
||||
public class FormOperateDataModel {
|
||||
|
||||
@ApiModelProperty("元素代码")
|
||||
private Long refId;
|
||||
|
||||
@ApiModelProperty("元素名称")
|
||||
private String refName;
|
||||
|
||||
@ApiModelProperty("操作来源")
|
||||
@AnnoOutputColumn(refClass = BlockFormEnumUtil.FORM_TRIGGER_SOURCE.class)
|
||||
private String triggerSource;
|
||||
|
||||
@ApiModelProperty("来源名称")
|
||||
private String sourceName;
|
||||
|
||||
@ApiModelProperty("操作数据集合")
|
||||
private List<Map<String,String>> operateDataList;
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package cn.estsh.i3plus.pojo.model.report;
|
||||
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrElement;
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrLayout;
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrRefReport;
|
||||
import cn.estsh.i3plus.pojo.report.bean.BrReport;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-3-24 下午3:28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class BrDynamicPageModel {
|
||||
|
||||
@ApiParam(value ="报表信息")
|
||||
private BrReport report;
|
||||
|
||||
@ApiParam(value ="布局信息")
|
||||
private BrLayout layout;
|
||||
|
||||
@ApiParam(value = "报表排版关系")
|
||||
private List<BrRefReport> refReportList;
|
||||
|
||||
@ApiParam(value ="页面元素内容")
|
||||
private List<BrElement> elementList;
|
||||
|
||||
@ApiParam(value ="页面元素内容")
|
||||
private List<TemplateModel> templateModelList;
|
||||
|
||||
}
|
@ -1,116 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.platform.sqlpack;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.tool.BsonPackTool;
|
||||
import cn.estsh.i3plus.pojo.base.tool.DdlPreparedPack;
|
||||
import cn.estsh.i3plus.pojo.platform.platbean.SysLogException;
|
||||
import cn.estsh.i3plus.pojo.platform.platbean.SysLogOperate;
|
||||
import cn.estsh.i3plus.pojo.platform.platbean.SysLogSystem;
|
||||
import cn.estsh.i3plus.pojo.platform.platbean.SysLogTaskTime;
|
||||
import com.mongodb.BasicDBObject;
|
||||
import org.bson.conversions.Bson;
|
||||
|
||||
/**
|
||||
* @Description : Bson对象封装
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2018-11-08 13:15
|
||||
* @Modify:
|
||||
**/
|
||||
public class CoreBsonPack {
|
||||
|
||||
/**
|
||||
* 日志复杂查询
|
||||
*
|
||||
* @param logSystem
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonByLogSystem(SysLogSystem logSystem) {
|
||||
Bson bson = new BasicDBObject();
|
||||
|
||||
bson = BsonPackTool.getNumEqualPack(logSystem.getLogLevel(), "logLevel", bson);
|
||||
bson = BsonPackTool.getNumEqualPack(logSystem.getLogModuleId(), "logModuleId", bson);
|
||||
bson = BsonPackTool.timeBuilder(logSystem.getCreateDatetime(), "createDatetime", bson, false, false);
|
||||
bson = BsonPackTool.getStringLikerPack(logSystem.getRemoteIp(), "remoteIp", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(logSystem.getRequestUrl(), "requestUrl", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(logSystem.getLogMethod(), "logMethod", bson);
|
||||
|
||||
return bson;
|
||||
}
|
||||
|
||||
/**
|
||||
* 系统操作日志
|
||||
*
|
||||
* @param logOperate
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonByLogOperate(SysLogOperate logOperate) {
|
||||
Bson bson = new BasicDBObject();
|
||||
|
||||
bson = BsonPackTool.getNumEqualPack(logOperate.getOperateType(), "operateType", bson);
|
||||
bson = BsonPackTool.getNumEqualPack(logOperate.getOperateModule(), "operateModule", bson);
|
||||
bson = BsonPackTool.timeBuilder(logOperate.getCreateDatetime(), "createDatetime", bson, false, false);
|
||||
bson = BsonPackTool.getStringLikerPack(logOperate.getRemoteIp(), "remoteIp", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(logOperate.getOperateMessage(), "operateMessage", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(logOperate.getCreateUser(), "createUser", bson);
|
||||
|
||||
return bson;
|
||||
}
|
||||
|
||||
/**
|
||||
* 系统异常日志复杂查询
|
||||
*
|
||||
* @param sysLogException
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonBySysLogException(SysLogException sysLogException) {
|
||||
Bson bson = new BasicDBObject();
|
||||
|
||||
bson = BsonPackTool.getNumEqualPack(sysLogException.getExcModule(), "excModule", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(sysLogException.getExcMessage(), "excMessage", bson);
|
||||
bson = BsonPackTool.timeBuilder(sysLogException.getCreateDatetime(), "createDatetime", bson, false, false);
|
||||
|
||||
return bson;
|
||||
}
|
||||
|
||||
/**
|
||||
* 定时任务日志复杂查询
|
||||
*
|
||||
* @param sysLogTaskTime
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonByLogTaskTime(SysLogTaskTime sysLogTaskTime) {
|
||||
Bson bson = new BasicDBObject();
|
||||
|
||||
bson = BsonPackTool.getStringLikerPack(sysLogTaskTime.getName(), "name", bson);
|
||||
bson = BsonPackTool.getStringLikerPack(sysLogTaskTime.getGroupName(), "groupName", bson);
|
||||
bson = BsonPackTool.timeBuilder(sysLogTaskTime.getCreateDatetime(), "createDatetime", bson, false, false);
|
||||
|
||||
return bson;
|
||||
}
|
||||
|
||||
/**
|
||||
* 区间
|
||||
*
|
||||
* @param colName
|
||||
* @param min
|
||||
* @param max
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonByInterval(String colName, Object min, Object max) {
|
||||
Bson bson = new BasicDBObject();
|
||||
|
||||
bson = BsonPackTool.getNumBiggerPack(min, colName, bson);
|
||||
bson = BsonPackTool.getNumSmallerPack(max, colName, bson);
|
||||
|
||||
return bson;
|
||||
}
|
||||
|
||||
/**
|
||||
* 指定日期之后
|
||||
* @param dateTime 日期
|
||||
* @return
|
||||
*/
|
||||
public static Bson packBsonByDateTimeAfter(String dateTime){
|
||||
return BsonPackTool.timeLess(dateTime, "createDatetime", null, true);
|
||||
}
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: 生产队列主表
|
||||
* @Reference:
|
||||
* @Author: wangjie
|
||||
* @CreateDate:2019-04-16-17:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("生产队列主表")
|
||||
public class MesQueueOrder implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3124113504001270712L;
|
||||
|
||||
@ApiParam("主队列编号")
|
||||
private String orderNo;
|
||||
|
||||
@ApiParam("Vin")
|
||||
private String vinCode;
|
||||
|
||||
@ApiParam("客户标识号")
|
||||
private String custFlagNo;
|
||||
|
||||
@ApiParam("产品配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@ApiParam("产品配置名称")
|
||||
private String prodCfgNameRdd;
|
||||
|
||||
@ApiParam("排序")
|
||||
private Double seq;
|
||||
|
||||
@ApiParam("生产工单号")
|
||||
private String workOrderNo;
|
||||
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@ApiParam("客户产线代码")
|
||||
private String custProdLineCode;
|
||||
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@ApiParam("锁定标识")
|
||||
private Integer isLock;
|
||||
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@ApiParam("工单类型")
|
||||
private String workType;
|
||||
|
||||
@ApiParam("队列类型")
|
||||
private Integer queueType;
|
||||
|
||||
@ApiParam("生产组代码")
|
||||
private String pgCode;
|
||||
|
||||
@ApiParam(value = "id")
|
||||
public Long id;
|
||||
|
||||
@ApiParam(value ="组织代码")
|
||||
public String organizeCode;
|
||||
|
||||
@ApiParam(value = "有效性")
|
||||
public Integer isValid;
|
||||
|
||||
@ApiParam(value = "是否已删除")
|
||||
public Integer isDeleted;
|
||||
|
||||
@ApiParam(value = "创建用户")
|
||||
public String createUser;
|
||||
|
||||
@ApiParam(value = "创建日期")
|
||||
public String createDatetime;
|
||||
|
||||
@ApiParam(value = "修改人")
|
||||
public String modifyUser;
|
||||
|
||||
@ApiParam(value = "修改日期")
|
||||
public String modifyDatetime;
|
||||
|
||||
}
|
@ -0,0 +1,90 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: 生产队列明细
|
||||
* @Reference:
|
||||
* @Author: wangjie
|
||||
* @CreateDate:2019-04-16-17:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("生产队列明细")
|
||||
public class MesQueueOrderDetail implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1945173626511595078L;
|
||||
|
||||
@ApiParam("主队列编号")
|
||||
private String orderNo;
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("队列明细序号")
|
||||
private Double seq;
|
||||
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@ApiParam("生产类型")
|
||||
private String workType;
|
||||
|
||||
@ApiParam("产品类型代码")
|
||||
private String produceCategoryCode;
|
||||
|
||||
@ApiParam("产品类型名称")
|
||||
private String produceCategoryNameRdd;
|
||||
|
||||
@ApiParam("产品类型名称")
|
||||
private String pptCode;
|
||||
|
||||
@ApiParam("分组队列编号")
|
||||
private String queueGroupNo;
|
||||
|
||||
@ApiParam("组内编号")
|
||||
private Integer groupNo;
|
||||
|
||||
@ApiParam("料架是否已打印")
|
||||
private Integer isGroupPrinted;
|
||||
|
||||
@ApiParam("已生产数量")
|
||||
private Double finsihQty;
|
||||
|
||||
@ApiParam(value = "id")
|
||||
public Long id;
|
||||
|
||||
@ApiParam(value ="组织代码")
|
||||
public String organizeCode;
|
||||
|
||||
@ApiParam(value = "有效性")
|
||||
public Integer isValid;
|
||||
|
||||
@ApiParam(value = "是否已删除")
|
||||
public Integer isDeleted;
|
||||
|
||||
@ApiParam(value = "创建用户")
|
||||
public String createUser;
|
||||
|
||||
@ApiParam(value = "创建日期")
|
||||
public String createDatetime;
|
||||
|
||||
@ApiParam(value = "修改人")
|
||||
public String modifyUser;
|
||||
|
||||
@ApiParam(value = "修改日期")
|
||||
public String modifyDatetime;
|
||||
}
|
@ -0,0 +1,83 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :工位物料清单
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@ApiModel("工位物料清单")
|
||||
public class MesStationBom implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -2658812944873600461L;
|
||||
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("产品物料名称")
|
||||
private String partName;
|
||||
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("子零件")
|
||||
private String itemPartNo;
|
||||
|
||||
@ApiParam("原材料物料名称")
|
||||
private String itemPartName;
|
||||
|
||||
@ApiParam(value = "子零件数量")
|
||||
private Double qty;
|
||||
|
||||
@ApiParam(value = "是否可重复")
|
||||
private Integer isRepeat;
|
||||
|
||||
@ApiParam(value = "是否检查")
|
||||
private Integer isCheck;
|
||||
|
||||
@ApiParam(value = "是否投料配置")
|
||||
private Integer isFeed;
|
||||
|
||||
@ApiParam(value = "是否绑定关键件")
|
||||
private Integer isBindKey;
|
||||
|
||||
@ApiParam(value = "匹配规则")
|
||||
private Integer matchRule;
|
||||
|
||||
@ApiParam(value = "id")
|
||||
public Long id;
|
||||
|
||||
@ApiParam(value ="组织代码")
|
||||
public String organizeCode;
|
||||
|
||||
@ApiParam(value = "有效性")
|
||||
public Integer isValid;
|
||||
|
||||
@ApiParam(value = "是否已删除")
|
||||
public Integer isDeleted;
|
||||
|
||||
@ApiParam(value = "创建用户")
|
||||
public String createUser;
|
||||
|
||||
@ApiParam(value = "创建日期")
|
||||
public String createDatetime;
|
||||
|
||||
@ApiParam(value = "修改人")
|
||||
public String modifyUser;
|
||||
|
||||
@ApiParam(value = "修改日期")
|
||||
public String modifyDatetime;
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue