Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
2617793d0f
@ -0,0 +1,38 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : ANDON_动作
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-13 9:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_ACTION")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ANDON_动作")
|
||||
public class AndonAction extends BaseBean {
|
||||
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam(value = "动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "ACTION_NAME")
|
||||
@ApiParam(value = "动作名称")
|
||||
private String actionName;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : ANDON_呼叫原因
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-13 9:50
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_ALARM_CAUSE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ANDON_呼叫原因")
|
||||
public class AndonAlarmCause extends BaseBean {
|
||||
|
||||
@Column(name = "AC_CODE")
|
||||
@ApiParam(value = "呼叫原因代码")
|
||||
private String acCode;
|
||||
|
||||
@Column(name = "AC_NAME")
|
||||
@ApiParam(value = "呼叫原因描述")
|
||||
private String acName;
|
||||
|
||||
@Column(name = "PARENT_AC_CODE")
|
||||
@ApiParam(value = "父阶原因代码")
|
||||
private String parentAcCode;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型")
|
||||
private String alarmCode;
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : ANDON_呼叫通知配置
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-13 9:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_ALARM_RESPONSE_CFG")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ANDON_呼叫通知配置")
|
||||
public class AndonAlarmResponseCfg extends BaseBean {
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name = "ANDON_STATUS")
|
||||
@ApiParam(value = "安灯状态")
|
||||
private String andonStatus;
|
||||
|
||||
@Column(name = "RP_WHERE")
|
||||
@ApiParam(value = "通知条件时长")
|
||||
private String rpWhere;
|
||||
|
||||
@Column(name = "RP_CODE")
|
||||
@ApiParam(value = "通知方式代码")
|
||||
private String rpCode;
|
||||
|
||||
@Column(name = "RP_OBJECT_CODE")
|
||||
@ApiParam(value = "通知对象代码")
|
||||
private String rpObjectCode;
|
||||
|
||||
@Column(name = "RP_LEVEL")
|
||||
@ApiParam(value = "通知级别")
|
||||
private String rpLevel;
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 安灯类型
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_ALARM_TYPE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯类型")
|
||||
public class AndonAlarmType extends BaseBean {
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name = "ALARM_NAME")
|
||||
@ApiParam(value = "安灯类型名称")
|
||||
private String alarmName;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : ANDON_事件原因
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-13 9:40
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_EVENT_CAUSE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ANDON_事件原因")
|
||||
public class AndonEventCause extends BaseBean {
|
||||
|
||||
@Column(name = "EC_CODE")
|
||||
@ApiParam(value = "事件原因代码")
|
||||
private String ecCode;
|
||||
|
||||
@Column(name = "EC_NAME")
|
||||
@ApiParam(value = "事件原因描述")
|
||||
private String ecName;
|
||||
|
||||
@Column(name = "PARENT_EC_CODE")
|
||||
@ApiParam(value = "父阶原因代码")
|
||||
private String parentEcCode;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型")
|
||||
private String alarmCode;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : ANDON_事件处理方法
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-13 17:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_EVENT_METHOD")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ANDON_事件处理方法")
|
||||
public class AndonEventMethod extends BaseBean {
|
||||
|
||||
@Column(name = "EM_CODE")
|
||||
@ApiParam(value = "事件方法代码")
|
||||
private String emCode;
|
||||
|
||||
@Column(name = "EM_NAME")
|
||||
@ApiParam(value = "事件方法描述")
|
||||
private String emName;
|
||||
|
||||
@Column(name = "PARENT_EM_CODE")
|
||||
@ApiParam(value = "父阶方法代码")
|
||||
private String parentEmCode;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型")
|
||||
private String alarmCode;
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : ANDON_停机类型
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-13 9:45
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_HALT_TYPE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ANDON_停机类型")
|
||||
public class AndonHaltType extends BaseBean {
|
||||
|
||||
@Column(name = "HALT_CODE")
|
||||
@ApiParam(value = "停机类型代码")
|
||||
private String haltCode;
|
||||
|
||||
@Column(name = "HALT_NAME")
|
||||
@ApiParam(value = "停机类型名称")
|
||||
private String haltName;
|
||||
}
|
@ -0,0 +1,219 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description : 安灯队列
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_MANAGE_QUEUE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯队列")
|
||||
public class AndonManageQueue extends BaseBean {
|
||||
|
||||
@Column(name = "ANDON_ORDER_NO")
|
||||
@ApiParam(value = "安灯队列编号")
|
||||
private String andonOrderNo;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam(value = "安灯动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam(value = "工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_NAME_RDD")
|
||||
@ApiParam(value = "工作中心名称")
|
||||
private String workCenterNameRdd;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME_RDD")
|
||||
@ApiParam(value = "工作单元名称")
|
||||
private String workCellNameRdd;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam(value = "工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam(value = "设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name = "EQUIPMENT_NAME_RDD")
|
||||
@ApiParam(value = "设备名称")
|
||||
private String equipmentNameRdd;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam(value = "班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "SHIFT_NAME_RDD")
|
||||
@ApiParam(value = "班次名称")
|
||||
private String shiftNameRdd;
|
||||
|
||||
@Column(name = "STATUS_CODE")
|
||||
@ApiParam(value = "安灯状态代码")
|
||||
private String statusCode;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam(value = "序号", example = "1")
|
||||
private Double seq;
|
||||
|
||||
@Column(name = "PRIORITY_LEVEL")
|
||||
@ApiParam(value = "优先级别", example = "1")
|
||||
private Integer priorityLevel;
|
||||
|
||||
@Column(name="CALL_TIME",updatable = false)
|
||||
@ApiParam(value = "呼叫时间")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String callTime;
|
||||
|
||||
@Transient
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="呼叫时间",example = "2018-01-01 01:00:00")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String callTimeStr;
|
||||
|
||||
@Column(name="CONFIRM_TIME",updatable = false)
|
||||
@ApiParam(value = "响应时间")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String confirmTime;
|
||||
|
||||
@Transient
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="响应时间",example = "2018-01-01 01:00:00")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String confirmTimeStr;
|
||||
|
||||
@Column(name="RESET_TIME",updatable = false)
|
||||
@ApiParam(value = "解决时间")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String resetTime;
|
||||
|
||||
@Transient
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="解决时间",example = "2018-01-01 01:00:00")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String resetTimeStr;
|
||||
|
||||
@Column(name = "CALL_USER")
|
||||
@ApiParam(value = "呼叫人")
|
||||
private String callUser;
|
||||
|
||||
@Column(name = "CONFIRM_USER")
|
||||
@ApiParam(value = "响应人")
|
||||
private String confirmUser;
|
||||
|
||||
@Column(name = "RESET_USER")
|
||||
@ApiParam(value = "解决人")
|
||||
private String resetUser;
|
||||
|
||||
@Column(name = "IS_SHIFT_CALL")
|
||||
@ApiParam(value = "是否转呼", example = "1")
|
||||
private Integer isShiftCall;
|
||||
|
||||
@Column(name="SHIFT_CALL_TIME",updatable = false)
|
||||
@ApiParam(value = "转呼时间")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String shiftCallTime;
|
||||
|
||||
@Transient
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="转呼时间",example = "2018-01-01 01:00:00")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String shiftCallTimeStr;
|
||||
|
||||
@Column(name = "RP_OBJECT_CODE")
|
||||
@ApiParam(value = "转呼对象代码")
|
||||
private String rpObjectCode;
|
||||
|
||||
@Column(name = "SC_RESPONSE_CODE")
|
||||
@ApiParam(value = "转呼响应方式")
|
||||
private String scObjectCode;
|
||||
|
||||
@Column(name = "SC_RP_LEVEL")
|
||||
@ApiParam(value = "转呼通知等级")
|
||||
private String scRpLevel;
|
||||
|
||||
@Column(name = "AC_CODE")
|
||||
@ApiParam(value = "呼叫原因代码")
|
||||
private String acCode;
|
||||
|
||||
@Column(name = "AC_NAME_RDD")
|
||||
@ApiParam(value = "呼叫原因描述")
|
||||
private String acNameRdd;
|
||||
|
||||
@Column(name = "AC_DESC")
|
||||
@ApiParam(value = "呼叫具体原因")
|
||||
private String acDesc;
|
||||
|
||||
@Column(name = "EC_CODE")
|
||||
@ApiParam(value = "事件原因代码")
|
||||
private String ecCode;
|
||||
|
||||
@Column(name = "EC_NAME_RDD")
|
||||
@ApiParam(value = "事件原因描述")
|
||||
private String ecNameRdd;
|
||||
|
||||
@Column(name = "EC_DESC")
|
||||
@ApiParam(value = "事件具体原因")
|
||||
private String ecDesc;
|
||||
|
||||
@Column(name = "EM_CODE")
|
||||
@ApiParam(value = "事件方法代码")
|
||||
private String emCode;
|
||||
|
||||
@Column(name = "EM_NAME_RDD")
|
||||
@ApiParam(value = "事件方法描述")
|
||||
private String emNameRdd;
|
||||
|
||||
@Column(name = "EM_DESC")
|
||||
@ApiParam(value = "事件具体方法")
|
||||
private String emDesc;
|
||||
|
||||
@Column(name = "IS_HALT")
|
||||
@ApiParam(value = "是否停机", example = "1")
|
||||
private Integer isHalt;
|
||||
|
||||
@Column(name = "HALT_CODE")
|
||||
@ApiParam(value = "停机类型")
|
||||
private String haltCode;
|
||||
|
||||
@Column(name = "HALT_DESC")
|
||||
@ApiParam(value = "停机具体原因")
|
||||
private String haltDesc;
|
||||
|
||||
// 是否转呼
|
||||
public Integer getIsShiftCall() {
|
||||
return this.isShiftCall == null ? 0 : this.isShiftCall;
|
||||
}
|
||||
|
||||
// 获取优先级别
|
||||
public Integer getPriorityLevel() {
|
||||
return this.priorityLevel == null ? 0 : this.priorityLevel;
|
||||
}
|
||||
}
|
@ -0,0 +1,219 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description : 安灯记录
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_MANAGE_RECORD")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯记录")
|
||||
public class AndonManageRecord extends BaseBean {
|
||||
|
||||
@Column(name = "ANDON_ORDER_NO")
|
||||
@ApiParam(value = "安灯队列编号")
|
||||
private String andonOrderNo;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam(value = "安灯动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam(value = "工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_NAME_RDD")
|
||||
@ApiParam(value = "工作中心名称")
|
||||
private String workCenterNameRdd;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME_RDD")
|
||||
@ApiParam(value = "工作单元名称")
|
||||
private String workCellNameRdd;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam(value = "工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam(value = "设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name = "EQUIPMENT_NAME_RDD")
|
||||
@ApiParam(value = "设备名称")
|
||||
private String equipmentNameRdd;
|
||||
|
||||
@Column(name = "SHIFT_CODE")
|
||||
@ApiParam(value = "班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name = "SHIFT_NAME_RDD")
|
||||
@ApiParam(value = "班次名称")
|
||||
private String shiftNameRdd;
|
||||
|
||||
@Column(name = "STATUS_CODE")
|
||||
@ApiParam(value = "安灯状态代码")
|
||||
private String statusCode;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam(value = "序号", example = "1")
|
||||
private Double seq;
|
||||
|
||||
@Column(name = "PRIORITY_LEVEL")
|
||||
@ApiParam(value = "优先级别", example = "1")
|
||||
private Integer priorityLevel;
|
||||
|
||||
@Column(name="CALL_TIME",updatable = false)
|
||||
@ApiParam(value = "呼叫时间")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String callTime;
|
||||
|
||||
@Transient
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="呼叫时间",example = "2018-01-01 01:00:00")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String callTimeStr;
|
||||
|
||||
@Column(name="CONFIRM_TIME",updatable = false)
|
||||
@ApiParam(value = "响应时间")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String confirmTime;
|
||||
|
||||
@Transient
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="响应时间",example = "2018-01-01 01:00:00")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String confirmTimeStr;
|
||||
|
||||
@Column(name="RESET_TIME",updatable = false)
|
||||
@ApiParam(value = "解决时间")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String resetTime;
|
||||
|
||||
@Transient
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="解决时间",example = "2018-01-01 01:00:00")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String resetTimeStr;
|
||||
|
||||
@Column(name = "CALL_USER")
|
||||
@ApiParam(value = "呼叫人")
|
||||
private String callUser;
|
||||
|
||||
@Column(name = "CONFIRM_USER")
|
||||
@ApiParam(value = "响应人")
|
||||
private String confirmUser;
|
||||
|
||||
@Column(name = "RESET_USER")
|
||||
@ApiParam(value = "解决人")
|
||||
private String resetUser;
|
||||
|
||||
@Column(name = "IS_SHIFT_CALL")
|
||||
@ApiParam(value = "是否转呼", example = "1")
|
||||
private Integer isShiftCall;
|
||||
|
||||
@Column(name="SHIFT_CALL_TIME",updatable = false)
|
||||
@ApiParam(value = "转呼时间")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String shiftCallTime;
|
||||
|
||||
@Transient
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
||||
@ApiParam(value="转呼时间",example = "2018-01-01 01:00:00")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
public String shiftCallTimeStr;
|
||||
|
||||
@Column(name = "RP_OBJECT_CODE")
|
||||
@ApiParam(value = "转呼对象代码")
|
||||
private String rpObjectCode;
|
||||
|
||||
@Column(name = "SC_RESPONSE_CODE")
|
||||
@ApiParam(value = "转呼响应方式")
|
||||
private String scObjectCode;
|
||||
|
||||
@Column(name = "SC_RP_LEVEL")
|
||||
@ApiParam(value = "转呼通知等级")
|
||||
private String scRpLevel;
|
||||
|
||||
@Column(name = "AC_CODE")
|
||||
@ApiParam(value = "呼叫原因代码")
|
||||
private String acCode;
|
||||
|
||||
@Column(name = "AC_NAME_RDD")
|
||||
@ApiParam(value = "呼叫原因描述")
|
||||
private String acNameRdd;
|
||||
|
||||
@Column(name = "AC_DESC")
|
||||
@ApiParam(value = "呼叫具体原因")
|
||||
private String acDesc;
|
||||
|
||||
@Column(name = "EC_CODE")
|
||||
@ApiParam(value = "事件原因代码")
|
||||
private String ecCode;
|
||||
|
||||
@Column(name = "EC_NAME_RDD")
|
||||
@ApiParam(value = "事件原因描述")
|
||||
private String ecNameRdd;
|
||||
|
||||
@Column(name = "EC_DESC")
|
||||
@ApiParam(value = "事件具体原因")
|
||||
private String ecDesc;
|
||||
|
||||
@Column(name = "EM_CODE")
|
||||
@ApiParam(value = "事件方法代码")
|
||||
private String emCode;
|
||||
|
||||
@Column(name = "EM_NAME_RDD")
|
||||
@ApiParam(value = "事件方法描述")
|
||||
private String emNameRdd;
|
||||
|
||||
@Column(name = "EM_DESC")
|
||||
@ApiParam(value = "事件具体方法")
|
||||
private String emDesc;
|
||||
|
||||
@Column(name = "IS_HALT")
|
||||
@ApiParam(value = "是否停机", example = "1")
|
||||
private Integer isHalt;
|
||||
|
||||
@Column(name = "HALT_CODE")
|
||||
@ApiParam(value = "停机类型")
|
||||
private String haltCode;
|
||||
|
||||
@Column(name = "HALT_DESC")
|
||||
@ApiParam(value = "停机具体原因")
|
||||
private String haltDesc;
|
||||
|
||||
// 是否转呼
|
||||
public Integer getIsShiftCall() {
|
||||
return this.isShiftCall == null ? 0 : this.isShiftCall;
|
||||
}
|
||||
|
||||
// 获取优先级别
|
||||
public Integer getPriorityLevel() {
|
||||
return this.priorityLevel == null ? 0 : this.priorityLevel;
|
||||
}
|
||||
}
|
@ -0,0 +1,86 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : ANDON_PLC控制
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-10 17:32
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_PLC")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯PLC控制")
|
||||
public class AndonPLC extends BaseBean {
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam(value = "工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_NAME")
|
||||
@ApiParam(value = "工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam(value = "工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME")
|
||||
@ApiParam(value = "工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@Column(name = "NODE_CODE")
|
||||
@ApiParam(value = "控制节点代码")
|
||||
private String nodeCode;
|
||||
|
||||
@Column(name = "NODE_IP")
|
||||
@ApiParam(value = "IP地址")
|
||||
private String nodeIP;
|
||||
|
||||
@Column(name = "CHANNEL_NAME")
|
||||
@ApiParam(value = "通道名称")
|
||||
private String channelName;
|
||||
|
||||
@Column(name = "TAG_NAME")
|
||||
@ApiParam(value = "标签名称")
|
||||
private String tagName;
|
||||
|
||||
@Column(name = "TAG_ADDRESS")
|
||||
@ApiParam(value = "标签地址")
|
||||
private String tagAddress;
|
||||
|
||||
@Column(name = "TAG_TYPE")
|
||||
@ApiParam(value = "标签类型")
|
||||
private String tagType;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam(value = "分组号")
|
||||
private String groupNo;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name = "TAG_BUSINESS_TYPE")
|
||||
@ApiParam(value = "标签业务类型")
|
||||
private String tagBusinessType;
|
||||
|
||||
@Column(name = "IS_ALARM_STATUS")
|
||||
@ApiParam(value = "是否按灯状态", example = "1")
|
||||
private Integer isAlarmStatus;
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : ANDON_PLC监控记录
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-10 17:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_PLC_RECORD")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯PLC监控记录")
|
||||
public class AndonPLCRecord extends BaseBean {
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam(value = "工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_NAME")
|
||||
@ApiParam(value = "工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam(value = "工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME")
|
||||
@ApiParam(value = "工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@Column(name = "NODE_CODE")
|
||||
@ApiParam(value = "控制节点代码")
|
||||
private String nodeCode;
|
||||
|
||||
@Column(name = "NODE_IP")
|
||||
@ApiParam(value = "IP地址")
|
||||
private String nodeIP;
|
||||
|
||||
@Column(name = "CHANNEL_NAME")
|
||||
@ApiParam(value = "通道名称")
|
||||
private String channelName;
|
||||
|
||||
@Column(name = "TAG_NAME")
|
||||
@ApiParam(value = "标签名称")
|
||||
private String tagName;
|
||||
|
||||
@Column(name = "TAG_ADDRESS")
|
||||
@ApiParam(value = "标签地址")
|
||||
private String tagAddress;
|
||||
|
||||
@Column(name = "TAG_TYPE")
|
||||
@ApiParam(value = "标签类型")
|
||||
private String tagType;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam(value = "分组号")
|
||||
private String groupNo;
|
||||
|
||||
@Column(name = "TAG_VALUE")
|
||||
@ApiParam(value = "标签数值")
|
||||
private String tagValue;
|
||||
|
||||
@Column(name = "TAG_POINT")
|
||||
@ApiParam(value = "传递方向")
|
||||
private String tagPoint;
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 安灯通知方式
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_RESPONSE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯通知方式")
|
||||
public class AndonResponse extends BaseBean {
|
||||
|
||||
@Column(name = "RESPONSE_CODE")
|
||||
@ApiParam(value = "通知方式代码")
|
||||
private String responseCode;
|
||||
|
||||
@Column(name = "RESPONSE_NAME")
|
||||
@ApiParam(value = "通知方式名称")
|
||||
private String responseName;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 安灯通知对象
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_RESPONSE_OBJECT")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯通知对象")
|
||||
public class AndonResponseObject extends BaseBean {
|
||||
|
||||
@Column(name = "RP_OBJECT_CODE")
|
||||
@ApiParam(value = "对象代码")
|
||||
private String rpObjectCode;
|
||||
|
||||
@Column(name = "RP_OBJECT_NAME")
|
||||
@ApiParam(value = "对象名称")
|
||||
private String rpObjectName;
|
||||
|
||||
@Column(name = "RP_OBJECT_VALUE")
|
||||
@ApiParam(value = "对象值")
|
||||
private String rpObjectValue;
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 安灯状态
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_STATUS")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯状态")
|
||||
public class AndonStatus extends BaseBean {
|
||||
|
||||
@Column(name = "STATUS_CODE")
|
||||
@ApiParam(value = "状态代码")
|
||||
private String statusCode;
|
||||
|
||||
@Column(name = "STATUS_NAME")
|
||||
@ApiParam(value = "状态名称")
|
||||
private String statusName;
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.util.List;
|
||||
|
||||
/**
|
||||
* @Description :生产区域
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_AREA")
|
||||
@Api("生产区域")
|
||||
public class MesArea extends BaseBean {
|
||||
@Column(name="AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Column(name="AREA_NAME")
|
||||
@ApiParam("区域名称")
|
||||
private String areaName;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="子集列表")
|
||||
private List<MesWorkCenter> childTreeList;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="名称")
|
||||
private String name;
|
||||
|
||||
// 默认值 -1
|
||||
@Transient
|
||||
@ApiParam(value ="父节点" , access ="父节点" ,example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long parentId;
|
||||
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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;
|
||||
|
||||
/**
|
||||
* @Description :生产区域
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_EQUIPMENT")
|
||||
@Api("生产设备")
|
||||
public class MesEquipment extends BaseBean {
|
||||
@Column(name="EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name="EQUIPMENT_NAME")
|
||||
@ApiParam("设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@Column(name="STATUS")
|
||||
@ApiParam("设备状态")
|
||||
private String status;
|
||||
|
||||
@Column(name="WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="名称")
|
||||
private String name;
|
||||
|
||||
// 默认值 -1
|
||||
@Transient
|
||||
@ApiParam(value ="父节点" , access ="父节点" ,example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long parentId;
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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 : crish
|
||||
* @CreateDate : 2019-04-19
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_SHIFT")
|
||||
@Api("班次信息")
|
||||
public class MesShift extends BaseBean {
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="SHIFT_CODE")
|
||||
@ApiParam("班次代码")
|
||||
private String shiftCode;
|
||||
|
||||
@Column(name="SHIFT_NAME")
|
||||
@ApiParam("班次名称")
|
||||
private String shiftName;
|
||||
|
||||
@Column(name="START_TIME")
|
||||
@ApiParam("开班时间")
|
||||
private String startTime;
|
||||
|
||||
@Column(name="WORK_TIMES")
|
||||
@ApiParam("作业时长")
|
||||
private String workTimes;
|
||||
|
||||
public MesShift() {
|
||||
}
|
||||
|
||||
public MesShift(String workCenterCode,String organizeCode) {
|
||||
this.workCenterCode = workCenterCode;
|
||||
this.organizeCode = organizeCode;
|
||||
}
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.util.List;
|
||||
|
||||
/**
|
||||
* @Description :工作单元
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CELL")
|
||||
@Api("工作单元")
|
||||
public class MesWorkCell extends BaseBean {
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME")
|
||||
@ApiParam("工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("生产区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="子集列表")
|
||||
private List<MesEquipment> childTreeList;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="名称")
|
||||
private String name;
|
||||
|
||||
// 默认值 -1
|
||||
@Transient
|
||||
@ApiParam(value ="父节点" , access ="父节点" ,example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long parentId;
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
package cn.estsh.i3plus.pojo.andon.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.util.List;
|
||||
|
||||
/**
|
||||
* @Description :工作中心
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_WORK_CENTER")
|
||||
@Api("工作中心")
|
||||
public class MesWorkCenter extends BaseBean {
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_NAME")
|
||||
@ApiParam("工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@Column(name = "ERP_WORK_CENTER")
|
||||
@ApiParam("ERP工作中心")
|
||||
private String erpWorkCenter;
|
||||
|
||||
@Column(name = "WORK_VER")
|
||||
@ApiParam("工作版本")
|
||||
private String workVer;
|
||||
|
||||
@Column(name = "AREA_CODE")
|
||||
@ApiParam("生产区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="子集列表")
|
||||
private List<MesWorkCell> childTreeList;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="名称")
|
||||
private String name;
|
||||
|
||||
// 默认值 -1
|
||||
@Transient
|
||||
@ApiParam(value ="父节点" , access ="父节点" ,example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long parentId;
|
||||
|
||||
public MesWorkCenter(String organizeCode) {
|
||||
this.organizeCode = organizeCode;
|
||||
}
|
||||
|
||||
public MesWorkCenter() {
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonAlarmType;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :对象持久层仓用方法控制(安灯类型信息)
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonAlarmTypeRepository extends BaseRepository<AndonAlarmType,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonManageQueue;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :对象持久层仓用方法控制(安灯队列信息)
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonManageQueueRepository extends BaseRepository<AndonManageQueue,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonManageRecord;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :对象持久层仓用方法控制(安灯记录信息)
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonManageRecordRepository extends BaseRepository<AndonManageRecord,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonResponseObject;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :对象持久层仓用方法控制(安灯通知对象信息)
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonResponseObjectRepository extends BaseRepository<AndonResponseObject,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonResponse;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :对象持久层仓用方法控制(安灯通知方式信息)
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonResponseRepository extends BaseRepository<AndonResponse,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonStatus;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :对象持久层仓用方法控制(安灯状态信息)
|
||||
* @Reference :
|
||||
* @Author : silliter.yuan
|
||||
* @CreateDate : 2019-05-10 17:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonStatusRepository extends BaseRepository<AndonStatus,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.MesArea;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesAreaRepository extends BaseRepository<MesArea, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.MesEquipment;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEquipmentRepository extends BaseRepository<MesEquipment, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.MesShift;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-19-13:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesShiftRepository extends BaseRepository<MesShift, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.MesWorkCell;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellRepository extends BaseRepository<MesWorkCell, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.MesWorkCenter;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCenterRepository extends BaseRepository<MesWorkCenter, Long> {
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :生产区域
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_EQUIPMENT")
|
||||
@Api("生产设备")
|
||||
public class MesEquipment extends BaseBean {
|
||||
@Column(name="EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name="EQUIPMENT_NAME")
|
||||
@ApiParam("设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@Column(name="STATUS")
|
||||
@ApiParam("设备状态")
|
||||
private String status;
|
||||
|
||||
@Column(name="WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="AREA_CODE")
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="名称")
|
||||
private String name;
|
||||
|
||||
// 默认值 -1
|
||||
@Transient
|
||||
@ApiParam(value ="父节点" , access ="父节点" ,example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long parentId;
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
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.Entity;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: yiming.gu
|
||||
* @CreateDate:2019-04-18-14:16
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("生产区域")
|
||||
public class ProdOrgModel extends BaseBean {
|
||||
|
||||
@ApiParam("区域名称")
|
||||
private String areaName;
|
||||
|
||||
@ApiParam("区域代码")
|
||||
private String areaCode;
|
||||
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("工作中心名称")
|
||||
private String workCenterName;
|
||||
|
||||
@ApiParam("ERP工作中心")
|
||||
private String erpWorkCenter;
|
||||
|
||||
@ApiParam("工作版本")
|
||||
private String workVer;
|
||||
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@ApiParam("工作单元名称")
|
||||
private String workCellName;
|
||||
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@ApiParam("设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@ApiParam("设备状态")
|
||||
private String status;
|
||||
|
||||
@ApiParam("当前级")
|
||||
private Integer level;
|
||||
}
|
@ -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.MesEquipment;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEquipmentRepository extends BaseRepository<MesEquipment, Long> {
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package cn.estsh.i3plus.pojo.model.andon;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AndonOpcModel {
|
||||
|
||||
/**
|
||||
* 通常为localhost
|
||||
*/
|
||||
@ApiParam("opcserver地址-ip")
|
||||
private String host;
|
||||
|
||||
/**
|
||||
* opcserver的名称
|
||||
*/
|
||||
@ApiParam("opcserver名称")
|
||||
private String serverProgId;
|
||||
|
||||
/**
|
||||
* 一般为channel
|
||||
*/
|
||||
@ApiParam("第一层路径")
|
||||
private String accessPath;
|
||||
|
||||
/**
|
||||
* 一般为device.tag
|
||||
*/
|
||||
@ApiParam("剩余路径名称")
|
||||
private String itemName;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.model.andon;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class AndonResultBean {
|
||||
|
||||
@ApiParam("是否成功")
|
||||
private boolean success;
|
||||
|
||||
@ApiParam("处理信息")
|
||||
private String msg;
|
||||
|
||||
@ApiParam("处理结果")
|
||||
private String result;
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package cn.estsh.i3plus.pojo.model.mes;
|
||||
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesArea;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysOrganize;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
|
||||
import javax.persistence.Transient;
|
||||
import java.util.List;
|
||||
|
||||
public class SysOrganizeModel extends SysOrganize{
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="子集列表")
|
||||
private List<MesArea> childTreeList;
|
||||
|
||||
public List<MesArea> getChildTreeList() {
|
||||
return childTreeList;
|
||||
}
|
||||
|
||||
public void setChildTreeList(List<MesArea> childTreeList) {
|
||||
this.childTreeList = childTreeList;
|
||||
}
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.modelbean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.bean.ListPager;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 待发布订单列表发布输入模型
|
||||
* @Reference :
|
||||
* @Author : jack.lv
|
||||
* @CreateDate : 2019-05-13 13:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class SwebPOUpdatePublishForPublishModel extends BaseBean {
|
||||
|
||||
@ApiParam(value = "拆分请求时间数量列表", example = "1")
|
||||
private List<String> reqTimeList;
|
||||
|
||||
@ApiParam(value = "列表项", example = "1")
|
||||
private SwebPOForPubListResultItemModel item;
|
||||
}
|
Loading…
Reference in New Issue