【2856 10 2.3.8 20027-PCN端工位监控如果报错数据没有采集怎么报警提示】
parent
9c1965ea6c
commit
8f060d4aa4
@ -0,0 +1,49 @@
|
||||
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.ColumnDefault;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Lob;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/4/18 21:05
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EXCEPTION_ALERT_CFG")
|
||||
@Api("MES_异常提醒配置")
|
||||
public class MesExceptionAlertCfg extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -2733956307324895221L;
|
||||
|
||||
@Column(name = "SRC_MENU_CODE")
|
||||
@ApiParam("来源模块代码")
|
||||
private String srcMenuCode;
|
||||
|
||||
@Column(name = "SRC_MENU_NAME")
|
||||
@ApiParam("来源模块名称")
|
||||
private String srcMenuName;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "USER_CODE_GROUP")
|
||||
@ApiParam("提醒人员集合")
|
||||
private String userCodeGroup;
|
||||
}
|
@ -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;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/4/18 21:05
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EXCEPTION_WINDOW_RECORD")
|
||||
@Api("MES_弹窗异常提醒记录")
|
||||
public class MesExceptionWindowRecord extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -2733956307324895345L;
|
||||
|
||||
@Column(name = "SRC_MENU_CODE")
|
||||
@ApiParam("来源模块代码")
|
||||
private String srcMenuCode;
|
||||
|
||||
@Column(name = "USER_CODE")
|
||||
@ApiParam("提醒人员")
|
||||
private String userCode;
|
||||
|
||||
@Column(name = "MESSAGE_TYPE")
|
||||
@ApiParam("消息类型")
|
||||
private Integer messageType;
|
||||
|
||||
@Column(name = "MESSAGE_HEAD")
|
||||
@ApiParam("提示表头")
|
||||
private String messageHead;
|
||||
|
||||
@Column(name = "MESSAGE_CONTENT")
|
||||
@ApiParam("提示内容")
|
||||
private String messageContent;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("处理状态")
|
||||
private Integer status;
|
||||
}
|
@ -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.MesExceptionAlertCfg;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : MES_异常提醒配置
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2020-10-13 16:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesExceptionAlertCfgRepository extends BaseRepository<MesExceptionAlertCfg, Long> {
|
||||
|
||||
}
|
@ -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.MesExceptionWindowRecord;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : MES_弹窗异常提醒记录
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2020-10-13 16:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesExceptionWindowRecordRepository extends BaseRepository<MesExceptionWindowRecord, Long> {
|
||||
|
||||
}
|
Loading…
Reference in New Issue