Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
e4c8431a22
@ -0,0 +1,47 @@
|
||||
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 : crish
|
||||
* @CreateDate : 2019-06-04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_STATUS")
|
||||
@Api("工位运行状态")
|
||||
public class MesWorkCellStatus extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 102975351699481524L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "TIME_OUT_STATUS")
|
||||
@ApiParam("超时状态")
|
||||
private Integer timeOutStatus;
|
||||
|
||||
|
||||
}
|
@ -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.MesWorkCellStatus;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\15 11:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellStatusRepository extends BaseRepository<MesWorkCellStatus, Long> {
|
||||
}
|
@ -0,0 +1,98 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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 : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQUIPMENT_TRAVEL")
|
||||
@Api("设备运行履历表")
|
||||
public class MesEquipmentTravel extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -419342647505833190L;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name = "EQUIPMENT_NAME")
|
||||
@ApiParam("设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("设备状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "EQUIPMENT_TYPE")
|
||||
@ApiParam("设备类型")
|
||||
private Integer equipmentType;
|
||||
|
||||
@Column(name = "EQUIPMENT_CATEGORY")
|
||||
@ApiParam("设备类别")
|
||||
private String equipmentCategory;
|
||||
|
||||
@Column(name = "EQUIPMENT_MODEL")
|
||||
@ApiParam("型号")
|
||||
private String equipmentModel;
|
||||
|
||||
@Column(name = "EQUIPMENT_SPEC")
|
||||
@ApiParam("规格")
|
||||
private String equipmentSpec;
|
||||
|
||||
@Column(name = "EQUIPMENT_MAKER")
|
||||
@ApiParam("制造商")
|
||||
private String equipmentMaker;
|
||||
|
||||
@Column(name = "RELEASE_DATE")
|
||||
@ApiParam("出厂日期")
|
||||
private String releaseDate;
|
||||
|
||||
@Column(name = "RECEIVE_DATE")
|
||||
@ApiParam("接收日期")
|
||||
private String receiveDate;
|
||||
|
||||
@Column(name = "ENABLE_DATE")
|
||||
@ApiParam("启用日期")
|
||||
private String enableDate;
|
||||
|
||||
@Column(name = "CONNECT_TYPE")
|
||||
@ApiParam("连接类型")
|
||||
private Integer connectType;
|
||||
|
||||
@Column(name = "CHECK_MODEL")
|
||||
@ApiParam("作业校验模式")
|
||||
private Integer checkModel;
|
||||
|
||||
@Column(name = "STATUS_START_TIME")
|
||||
@ApiParam("状态开始时间")
|
||||
private String statusStartTime;
|
||||
|
||||
@Column(name = "STATUS_END_TIME")
|
||||
@ApiParam("状态结束时间")
|
||||
private String statusEndTime;
|
||||
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
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 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;
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "MES_LOG")
|
||||
@Api("MES_日志表")
|
||||
public class MesLog extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 4089347882308864216L;
|
||||
|
||||
@Column(name = "METHOD_NAME")
|
||||
@ApiParam(value = "方法名")
|
||||
private String methodName;
|
||||
|
||||
@Column(name = "LOG")
|
||||
@ApiParam(value = "日志")
|
||||
private String log;
|
||||
|
||||
@Column(name = "RESULT")
|
||||
@ApiParam(value = "更新结果")
|
||||
private String result;
|
||||
}
|
@ -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 : crish
|
||||
* @CreateDate : 2019-06-04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL_STATUS")
|
||||
@Api("工位运行状态")
|
||||
public class MesWorkCellStatus extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 102975351699481524L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "TIME_OUT_STATUS")
|
||||
@ApiParam("超时状态")
|
||||
private Integer timeOutStatus;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesEquipment;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesEquipmentTravel;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :设备运行履历
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEquipmentTravelRepository extends BaseRepository<MesEquipmentTravel, 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.MesLog;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\18 10:34
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesLogRepository extends BaseRepository<MesLog, 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.MesWorkCellStatus;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\15 11:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellStatusRepository extends BaseRepository<MesWorkCellStatus, Long> {
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.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 wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "PTL_LOG")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("PTL_LOG")
|
||||
public class PtlLog extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3885987217528730391L;
|
||||
|
||||
@Column(name = "METHOD_NAME")
|
||||
@ApiParam(value = "方法名")
|
||||
private String methodName;
|
||||
|
||||
@Column(name = "EXCEPTION_LOG")
|
||||
@ApiParam(value = "异常日志")
|
||||
private String exceptionLog;
|
||||
|
||||
@Column(name = "CONTROL_CODE")
|
||||
@ApiParam(value = "控制器")
|
||||
private String controlCode;
|
||||
|
||||
@Column(name = "IP")
|
||||
@ApiParam(value = "IP")
|
||||
private String ip;
|
||||
|
||||
@Column(name = "AREA_NO")
|
||||
@ApiParam(value = "区域")
|
||||
private String areaNo;
|
||||
|
||||
@Column(name = "SECTION_CODE")
|
||||
@ApiParam(value = "区段")
|
||||
private String sectionCode;
|
||||
|
||||
@Column(name = "TAG_NO")
|
||||
@ApiParam(value = "标签地址")
|
||||
private Integer tagNo;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.IfPickData;
|
||||
import cn.estsh.i3plus.pojo.ptl.bean.PtlLog;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
public interface PtlLogRepository extends BaseRepository<PtlLog, Long> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue