Merge remote-tracking branch 'origin/dev' into dev
commit
081db93d0d
@ -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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/16 0016 - 15:09
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CACHA_QUEUE")
|
||||
@Api("MES缓存队列")
|
||||
public class MesCachaQueue extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 8272649623030195332L;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "CACHA_TYPE")
|
||||
@ApiParam("缓存类型")
|
||||
private String cachaType;
|
||||
|
||||
}
|
@ -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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/16 0016 - 15:50
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PART_FORMULA")
|
||||
@Api("MES_物料配方")
|
||||
public class MesPartFormula extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3120650997069271308L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "FORMULA_CONTENT")
|
||||
@ApiParam("配方内容")
|
||||
private String formulaContent;
|
||||
|
||||
@Column(name = "FORMULA_TYPE")
|
||||
@ApiParam("配方类型")
|
||||
private Integer formulaType;
|
||||
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Description :散件产品配置明细
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/9 0009 - 17:52
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_SCATTER_CFG_BOM")
|
||||
@Api("散件产品配置明细")
|
||||
public class MesProdScatterCfgBom extends BaseBean implements Serializable {
|
||||
|
||||
@Column(name = "SP_CFG_CODE")
|
||||
@ApiParam("散件配置编码")
|
||||
private String spCfgCode;
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品位置代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("散件产品代码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "ITEM_PART_NO")
|
||||
@ApiParam("原材料物料号")
|
||||
private String itemPartNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("用量")
|
||||
private BigDecimal qty;
|
||||
|
||||
@Column(name = "IS_KEY_PART")
|
||||
@ApiParam("是否关键件")
|
||||
private Integer isKeyPart ;
|
||||
}
|
@ -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.MesProdScatterCfgBom;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/9 0009 - 18:03
|
||||
*/
|
||||
@Repository
|
||||
public interface MesProdScatterCfgBomRepository extends BaseRepository<MesProdScatterCfgBom, Long> {
|
||||
|
||||
}
|
@ -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 :MES_缓存队列
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/16 0016 - 14:52
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CACHA_QUEUE")
|
||||
@Api("MES缓存队列")
|
||||
public class MesCachaQueue extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6875307024103023380L;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "CACHA_TYPE")
|
||||
@ApiParam("缓存类型")
|
||||
private String cachaType;
|
||||
|
||||
}
|
@ -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/16 0016 - 15:45
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PART_FORMULA")
|
||||
@Api("MES_物料配方")
|
||||
public class MesPartFormula extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4905294092563287950L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "FORMULA_CONTENT")
|
||||
@ApiParam("配方内容")
|
||||
private String formulaContent;
|
||||
|
||||
@Column(name = "FORMULA_TYPE")
|
||||
@ApiParam("配方类型")
|
||||
private Integer formulaType;
|
||||
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
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_PROD_SCATTER_CFG_BOM")
|
||||
@Api("散件产品配置明细")
|
||||
public class MesProdScatterCfgBom extends BaseBean implements Serializable {
|
||||
|
||||
@Column(name = "SP_CFG_CODE")
|
||||
@ApiParam("散件配置编码")
|
||||
private String spCfgCode;
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品位置代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("散件产品代码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "ITEM_PART_NO")
|
||||
@ApiParam("原材料物料号")
|
||||
private String itemPartNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("用量")
|
||||
private BigDecimal qty;
|
||||
|
||||
@Column(name = "IS_KEY_PART")
|
||||
@ApiParam("是否关键件")
|
||||
private Integer isKeyPart ;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
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 : Wynne.Lu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_MODULE")
|
||||
@Api("作业程序组件参数")
|
||||
public class MesWorkCellModule extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -3537487776977917751L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
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.Index;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author :QianHuaSheng
|
||||
* @CreateDate : 2020-03-12 7:45 下午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_MODULE_PARAM", indexes = {
|
||||
@Index(columnList = "CREATE_DATE_TIME")
|
||||
})
|
||||
@Api("工作单元组件参数配置")
|
||||
public class MesWorkCellModuleParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 4836155960343256982L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "CALL_CLASS")
|
||||
@ApiParam("调用类")
|
||||
private String callClass;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("参数值")
|
||||
private String paramValue;
|
||||
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
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 : Wynne.Lu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_MODULE")
|
||||
@Api("作业程序组件")
|
||||
public class MesWorkModule extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -4121840589026322086L;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "MODULE_NAME")
|
||||
@ApiParam("组件名称")
|
||||
private String moduleName;
|
||||
|
||||
@Column(name = "MODULE_TYPE")
|
||||
@ApiParam("组件类型")
|
||||
private Integer moduleType;
|
||||
|
||||
@Column(name = "CALL_CLASS")
|
||||
@ApiParam("调用类")
|
||||
private String callClass;
|
||||
|
||||
@Column(name = "TRIGGER_TYPE")
|
||||
@ApiParam("触发类型")
|
||||
private Integer triggerType;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
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 : Wynne.Lu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_MODULE_PARAM")
|
||||
@Api("作业程序组件参数")
|
||||
public class MesWorkModuleParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -3965186392895014717L;
|
||||
|
||||
@Column(name = "MODULE_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String moduleCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_NAME")
|
||||
@ApiParam("参数名称")
|
||||
private String paramName;
|
||||
|
||||
@Column(name = "PARAM_TYPE")
|
||||
@ApiParam("参数类型")
|
||||
private Integer paramType;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkCellModuleParam;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesWorkModule;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/10 15:24
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class MonitoringModel {
|
||||
|
||||
private String monitorType;
|
||||
|
||||
private Boolean isStop;
|
||||
|
||||
private MesWorkModule workModule;
|
||||
|
||||
private List<MesWorkCellModuleParam> cellModuleParams;
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/3/13 17:55
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class StepDispatchModel {
|
||||
|
||||
private String stepListKey;
|
||||
|
||||
private String firstScanKey;
|
||||
|
||||
private String cellParamKey;
|
||||
|
||||
private String scanInfo;
|
||||
|
||||
public StepDispatchModel(String stepListKey, String firstScanKey, String cellParamKey, String scanInfo) {
|
||||
this.stepListKey = stepListKey;
|
||||
this.firstScanKey = firstScanKey;
|
||||
this.cellParamKey = cellParamKey;
|
||||
this.scanInfo = scanInfo;
|
||||
}
|
||||
}
|
@ -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.MesCachaQueue;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/16 0016 - 15:05
|
||||
*/
|
||||
@Repository
|
||||
public interface MesCachaQueueRepository extends BaseRepository<MesCachaQueue,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.MesPartFormula;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/16 0016 - 15:59
|
||||
*/
|
||||
@Repository
|
||||
public interface MesPartFormulaRepository extends BaseRepository<MesPartFormula,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.MesProdScatterCfgBom;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : zcg
|
||||
* @Date : 2020/3/9 0009 - 18:56
|
||||
*/
|
||||
@Repository
|
||||
public interface MesProdScatterCfgBomRepository extends BaseRepository<MesProdScatterCfgBom, Long> {
|
||||
}
|
@ -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.MesWorkCellModuleParam;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/18 10:05 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellModuleParamRepository extends BaseRepository<MesWorkCellModuleParam, Long> {
|
||||
}
|
@ -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.MesWorkCellModule;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/18 10:05 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellModuleRepository extends BaseRepository<MesWorkCellModule, Long> {
|
||||
}
|
@ -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.MesWorkModuleParam;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/18 10:05 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkModuleParamRepository extends BaseRepository<MesWorkModuleParam, Long> {
|
||||
}
|
@ -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.MesWorkModule;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/18 10:05 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkModuleRepository extends BaseRepository<MesWorkModule, Long> {
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "PTL_AREA_ACTOR_ACTION")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("PTL_区域观察者事件配置")
|
||||
public class PtlAreaActorAction extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -1596837642283797995L;
|
||||
|
||||
@Column(name = "AREA_NO")
|
||||
@ApiParam("区域代码")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String areaNo;
|
||||
|
||||
@Column(name = "ACTOR_CODE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("观察者编码")
|
||||
private String actorCode;
|
||||
|
||||
@Column(name = "MT_CODE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("消息类型代码")
|
||||
private String mtCode;
|
||||
|
||||
@Column(name = "OTHER_WHERE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("特定条件")
|
||||
private String otherWhere;
|
||||
|
||||
@Column(name = "AMG_ID")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("组件集编号")
|
||||
private Long amgId;
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "PTL_AREA_ROUTE_MODULE_PARAM")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("PTL_区域流程组件调用参数")
|
||||
public class PtlAreaRouteModuleParam extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -1596829442283797995L;
|
||||
|
||||
@Column(name = "AREA_NO")
|
||||
@ApiParam("区域代码")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String areaNo;
|
||||
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "AMG_ID")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("组件集编号")
|
||||
private Long amgId;
|
||||
|
||||
@Column(name = "AM_CODE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("组件代码")
|
||||
private String amCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("参数值")
|
||||
private String paramValue;
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "PTL_IF")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("PTL_接口清单")
|
||||
public class PtlIf extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -1596882732758197995L;
|
||||
|
||||
@Column(name = "IF_CODE")
|
||||
@ApiParam("接口代码")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String ifCode;
|
||||
|
||||
@Column(name = "IF_NAME")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("接口名称")
|
||||
private String ifName;
|
||||
|
||||
@Column(name = "IF_CONNECT_TYPE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
||||
@ApiParam("交互方式")
|
||||
private String ifConnectType;
|
||||
|
||||
@Column(name = "IF_CLASS")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
||||
@ApiParam("接口实现类")
|
||||
private String ifClass;
|
||||
|
||||
@Column(name = "IF_CALL_TYPE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
||||
@ApiParam("接口调用方向")
|
||||
private String ifCallType;
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "PTL_RFID")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("PTL_RFID")
|
||||
public class PtlRfid extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -1596837642758197995L;
|
||||
|
||||
@Column(name = "RFID_CONTROL_NO")
|
||||
@ApiParam("RFID读写器代码")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String rfidControlNo;
|
||||
|
||||
@Column(name = "IP")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("IP")
|
||||
private String ip;
|
||||
|
||||
@Column(name = "PORT")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("端口号")
|
||||
private String port;
|
||||
|
||||
@Column(name = "AREA_NO")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.SELECT)
|
||||
@ApiParam("区域代码")
|
||||
private String areaNo;
|
||||
|
||||
@Column(name = "RFID_VALUE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("rfid内容")
|
||||
private String rfidValue;
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||
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;
|
||||
import javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "PTL_WINDOW")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("PTL_界面")
|
||||
public class PtlWindow extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -1596443842758197995L;
|
||||
|
||||
@Column(name = "WINDOW_NO")
|
||||
@ApiParam("界面代码")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String windowNo;
|
||||
|
||||
@Column(name = "WINDOW_NAME")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("界面名称")
|
||||
private String windowName;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "PTL_WINDOW_ELEMENT")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("PTL_界面元素")
|
||||
public class PtlWindowElement extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -1596427582758197995L;
|
||||
|
||||
@Column(name = "WINDOW_NO")
|
||||
@ApiParam("界面代码")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String windowNo;
|
||||
|
||||
@Column(name = "ELEMENT_NO")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("元素代码")
|
||||
private String elementNo;
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.DynamicField;
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "PTL_WINDOW_ELEMENT_ATTRIBUTE")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("PTL_界面元素属性")
|
||||
public class PtlWindowElementAttribute extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -1596427582758285995L;
|
||||
|
||||
@Column(name = "WINDOW_NO")
|
||||
@ApiParam("界面代码")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
private String windowNo;
|
||||
|
||||
@Column(name = "ELEMENT_NO")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("元素代码")
|
||||
private String elementNo;
|
||||
|
||||
@Column(name = "ATTRIBUTE_NO")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("属性代码")
|
||||
private String attributeNo;
|
||||
|
||||
@Column(name = "ATTRIBUTE_VALUE")
|
||||
@DynamicField(webFieldType = WmsEnumUtil.FIELD_TYPE.TEXT)
|
||||
@ApiParam("属性值")
|
||||
private String attributeValue;
|
||||
|
||||
}
|
Loading…
Reference in New Issue