安灯类型 查 表 已从表改为枚举
安灯动作 查询 表 已从表改为枚举 安灯状态 查询 已从表改为枚举 ANDON_STATUS 通知方式 查询 已从表改为枚举 重要度 查 已从表改为枚举yun-zuoyi
parent
65ddc6f57a
commit
b7a7eb29ae
@ -1,38 +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;
|
||||
}
|
||||
//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;
|
||||
//}
|
||||
|
@ -1,38 +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;
|
||||
}
|
||||
//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_TYPE")
|
||||
// @ApiParam(value = "安灯类型代码")
|
||||
// private String alarmCode;
|
||||
//
|
||||
// @Column(name = "ALARM_NAME")
|
||||
// @ApiParam(value = "安灯类型名称")
|
||||
// private String alarmName;
|
||||
//}
|
||||
|
@ -1,38 +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 : siliter.yuan
|
||||
* @CreateDate : 2019-05-31 9:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_IMPORTANCE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ANDON_事件现象")
|
||||
public class AndonImportance extends BaseBean {
|
||||
|
||||
@Column(name = "IMPORTANCE_CODE")
|
||||
@ApiParam(value = "重要等级代码")
|
||||
private String importanceCode;
|
||||
|
||||
@Column(name = "IMPORTANCE_NAME")
|
||||
@ApiParam(value = "重要等级名称")
|
||||
private String importanceName;
|
||||
}
|
||||
//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 : siliter.yuan
|
||||
// * @CreateDate : 2019-05-31 9:47
|
||||
// * @Modify:
|
||||
// **/
|
||||
//@Data
|
||||
//@Entity
|
||||
//@Table(name="ANDON_IMPORTANCE")
|
||||
//@DynamicInsert
|
||||
//@DynamicUpdate
|
||||
//@EqualsAndHashCode(callSuper = true)
|
||||
//@Api("ANDON_事件现象")
|
||||
//public class AndonImportance extends BaseBean {
|
||||
//
|
||||
// @Column(name = "IMPORTANCE_CODE")
|
||||
// @ApiParam(value = "重要等级代码")
|
||||
// private String importanceCode;
|
||||
//
|
||||
// @Column(name = "IMPORTANCE_NAME")
|
||||
// @ApiParam(value = "重要等级名称")
|
||||
// private String importanceName;
|
||||
//}
|
||||
|
@ -1,38 +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;
|
||||
}
|
||||
//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;
|
||||
//}
|
||||
|
@ -1,38 +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;
|
||||
}
|
||||
//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_ACTION_TAG")
|
||||
//@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;
|
||||
//}
|
||||
|
@ -1,16 +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> {
|
||||
}
|
||||
//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> {
|
||||
//}
|
||||
|
@ -1,16 +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> {
|
||||
}
|
||||
//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> {
|
||||
//}
|
||||
|
@ -1,16 +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> {
|
||||
}
|
||||
//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> {
|
||||
//}
|
||||
|
Loading…
Reference in New Issue