Merge remote-tracking branch 'remotes/origin/test'
commit
25e7ca08d3
@ -0,0 +1,75 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :mes-pcn定时任务工作清单
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-08-26
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_PCN_TASK")
|
||||
@Api("mes-pcn定时任务工作清单")
|
||||
public class MesPcnTask extends BaseBean {
|
||||
|
||||
@Column(name="TASK_CODE")
|
||||
@ApiParam("任务代码")
|
||||
private String taskCode;
|
||||
|
||||
@Column(name="TASK_NAME")
|
||||
@ApiParam("任务名称")
|
||||
private String taskName;
|
||||
|
||||
@Column(name="TASK_DESCRIPTION")
|
||||
@ApiParam("任务描述")
|
||||
private String taskDescription;
|
||||
|
||||
@Column(name="TASK_TYPE")
|
||||
@ApiParam("任务类型")
|
||||
private Integer taskType;
|
||||
|
||||
@Column(name="TASK_MODULE")
|
||||
@ApiParam("任务模块")
|
||||
private String taskModule;
|
||||
|
||||
@Column(name="TASK_CLASS")
|
||||
@ApiParam("任务类名")
|
||||
private String taskClass;
|
||||
|
||||
@Column(name="TASK_PACKAGE")
|
||||
@ApiParam("任务包名")
|
||||
private String taskPackage;
|
||||
|
||||
@Column(name="PCN_NAME")
|
||||
@ApiParam("PCN节点名称")
|
||||
private String pcnName;
|
||||
|
||||
@Column(name="TASK_CYCLE_EXPS")
|
||||
@ApiParam("任务周期表达式")
|
||||
private String taskCycleExps;
|
||||
|
||||
@Column(name="TASK_CYCLE_DESCRIPTION")
|
||||
@ApiParam("任务周期描述")
|
||||
private String taskCycleDescription;
|
||||
|
||||
public int getTaskTypeVal() {
|
||||
return this.taskType == null ? 0 : this.taskType;
|
||||
}
|
||||
}
|
@ -1,17 +1,14 @@
|
||||
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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesLabelTemplateParam;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
* @Description : 打印模板
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @Date : 2019-08-18 12:03:01.024
|
||||
* @Modify :
|
||||
**/
|
||||
@Repository
|
||||
public interface MesLabelTemplateParamRepository extends BaseRepository<MesLabelTemplateParam, Long> {
|
||||
}
|
||||
|
@ -1,17 +1,14 @@
|
||||
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.MesArea;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesLabelTemplate;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
* @Description : 打印模板
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @Date : 2019-08-18 12:03:01.024
|
||||
* @Modify :
|
||||
**/
|
||||
@Repository
|
||||
public interface MesLabelTemplateRepository extends BaseRepository<MesLabelTemplate, Long> {
|
||||
}
|
||||
|
@ -0,0 +1,52 @@
|
||||
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.*;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 打印模板
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-08-18 11:00
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_LABEL_TEMPLATE")
|
||||
@Api(value="打印模板",description = "打印模板")
|
||||
public class MesLabelTemplate extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 5371856566557305323L;
|
||||
@Column(name="TEMPLATE_CODE")
|
||||
@ApiParam(value ="模板代码")
|
||||
private String templateCode;
|
||||
|
||||
@Column(name="TEMPLATE_NAME")
|
||||
@ApiParam(value ="模板名称")
|
||||
private String templateName;
|
||||
|
||||
@Lob
|
||||
@Column(name="TEMPLATE_CONTENT")
|
||||
@ApiParam(value ="模板内容")
|
||||
private String templateContent;
|
||||
|
||||
// 参数拼接,多参数都好分隔,后台在做处理
|
||||
@ApiParam(value ="模板参数拼接")
|
||||
@Transient
|
||||
private String paramsPack;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value ="模板id对应的模板参数")
|
||||
private List<MesLabelTemplateParam> labelTemplateParamList;
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
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.*;
|
||||
|
||||
/**
|
||||
* @Description : 打印模板参数
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-08-18 11:00
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_LABEL_TEMPLATE_PARAM")
|
||||
@Api(value="打印模板参数",description = "打印模板参数")
|
||||
public class MesLabelTemplateParam extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 6476163540527157643L;
|
||||
@Column(name="TEMPLATE_ID")
|
||||
@ApiParam(value ="模板ID" , access ="模板ID" ,example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long templateId;
|
||||
|
||||
@Column(name="TEMPLATE_CODE")
|
||||
@ApiParam(value ="模板代码")
|
||||
private String templateCode;
|
||||
|
||||
@Column(name="TEMPLATE_PARAM")
|
||||
@ApiParam(value ="模板参数")
|
||||
private String templateParam;
|
||||
|
||||
@Lob
|
||||
@Column(name="TEMPLATE_PARAM_TEXT")
|
||||
@ApiParam(value ="模板参数描述")
|
||||
private String templateParamText;
|
||||
|
||||
// 参数拼接,多参数都好分隔,后台在做处理
|
||||
@ApiParam(value ="模板参数值")
|
||||
@Transient
|
||||
private String templateParamValue;
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: crish
|
||||
* @CreateDate:2019-08-23-17:20
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_PCN_SYNC_ERRORLOG")
|
||||
@Api("MES_PCN同步异常日志")
|
||||
public class MesPcnSyncErrorLog extends BaseBean {
|
||||
@Column(name="PCN_CODE")
|
||||
@ApiParam("PCN代码")
|
||||
private String pcnCode;
|
||||
|
||||
@Column(name="OBJECT_CODE")
|
||||
@ApiParam("对象代码")
|
||||
private String objectCode;
|
||||
|
||||
@Column(name="OBJECT_NAME")
|
||||
@ApiParam("对象名称")
|
||||
private String objectName;
|
||||
|
||||
@Column(name="ERROR_SPOT")
|
||||
@ApiParam("异常位置")
|
||||
private String errorSpot;
|
||||
|
||||
@Column(name="ERROR_CONTENT")
|
||||
@ApiParam("异常内容")
|
||||
private String errorContent;
|
||||
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :mes-pcn定时任务工作清单
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-08-26
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_PCN_TASK")
|
||||
@Api("mes-pcn定时任务工作清单")
|
||||
public class MesPcnTask extends BaseBean {
|
||||
|
||||
@Column(name="TASK_CODE")
|
||||
@ApiParam("任务代码")
|
||||
private String taskCode;
|
||||
|
||||
@Column(name="TASK_NAME")
|
||||
@ApiParam("任务名称")
|
||||
private String taskName;
|
||||
|
||||
@Column(name="TASK_DESCRIPTION")
|
||||
@ApiParam("任务描述")
|
||||
private String taskDescription;
|
||||
|
||||
@Column(name="TASK_TYPE")
|
||||
@ApiParam("任务类型")
|
||||
private Integer taskType;
|
||||
|
||||
@Column(name="TASK_MODULE")
|
||||
@ApiParam("任务模块")
|
||||
private String taskModule;
|
||||
|
||||
@Column(name="TASK_CLASS")
|
||||
@ApiParam("任务类名")
|
||||
private String taskClass;
|
||||
|
||||
@Column(name="TASK_PACKAGE")
|
||||
@ApiParam("任务包名")
|
||||
private String taskPackage;
|
||||
|
||||
@Column(name="PCN_NAME")
|
||||
@ApiParam("PCN节点名称")
|
||||
private String pcnName;
|
||||
|
||||
@Column(name="TASK_CYCLE_EXPS")
|
||||
@ApiParam("任务周期表达式")
|
||||
private String taskCycleExps;
|
||||
|
||||
@Column(name="TASK_CYCLE_DESCRIPTION")
|
||||
@ApiParam("任务周期描述")
|
||||
private String taskCycleDescription;
|
||||
|
||||
public int getTaskTypeVal() {
|
||||
return this.taskType == null ? 0 : this.taskType;
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
/**
|
||||
* @Description: PCN连接状态统计Model
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-08-07-14:56
|
||||
* @Modify:
|
||||
**/
|
||||
public class MesPcnStatusModel {
|
||||
|
||||
private int healthNodeNumber;
|
||||
|
||||
private int illNodeNumber;
|
||||
}
|
@ -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.MesLabelTemplateParam;
|
||||
|
||||
/**
|
||||
* @Description : 打印模板
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @Date : 2019-08-18 12:03:01.024
|
||||
* @Modify :
|
||||
**/
|
||||
public interface MesLabelTemplateParamRepository extends BaseRepository<MesLabelTemplateParam, 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.MesLabelTemplate;
|
||||
|
||||
/**
|
||||
* @Description : 打印模板
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @Date : 2019-08-18 12:03:01.024
|
||||
* @Modify :
|
||||
**/
|
||||
public interface MesLabelTemplateRepository extends BaseRepository<MesLabelTemplate, 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.MesPcnSyncErrorLog;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: crish
|
||||
* @CreateDate:2019-08-23-17:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesPcnSyncErrorLogRepository extends BaseRepository<MesPcnSyncErrorLog, 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.MesPcnTask;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :mes-pcn定时任务清单
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-08-26
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesPcnTaskRepository extends BaseRepository<MesPcnTask, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.model.platform;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: 获取打印模板和打印模板参数表的所有信息
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-08-23-11:38
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
class LabelTemplateAndParamModel implements Serializable {
|
||||
private static final long serialVersionUID = -3612131411549787983L;
|
||||
}
|
Loading…
Reference in New Issue