添加设备管理相关功能
parent
57ee37d103
commit
89a9946432
@ -0,0 +1,44 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_FAULT_CAUSE")
|
||||
@Api("MES_设备故障原因")
|
||||
public class MesEquFaultCause extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1229825283741375978L;
|
||||
@Column(name = "FC_CODE")
|
||||
@ApiParam("故障原因代码")
|
||||
private String fcCode;
|
||||
|
||||
@Column(name = "FC_NAME")
|
||||
@ApiParam("故障原因描述")
|
||||
private String fcName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_FAULT_METHOD")
|
||||
@Api("MES_设备故障处理措施")
|
||||
public class MesEquFaultMethod extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1366849727309967125L;
|
||||
@Column(name = "FM_CODE")
|
||||
@ApiParam("故障方法代码")
|
||||
private String fmCode;
|
||||
|
||||
@Column(name = "FM_NAME")
|
||||
@ApiParam("故障方法描述")
|
||||
private String fmName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:42
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_EQU_FAULT_PHENOMENON")
|
||||
@Api("MES_设备故障现象")
|
||||
public class MesEquFaultPhenomenon extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 4373435091738791300L;
|
||||
@Column(name = "FP_CODE")
|
||||
@ApiParam("故障现象代码")
|
||||
private String fpCode;
|
||||
|
||||
@Column(name = "FP_NAME")
|
||||
@ApiParam("故障现象描述")
|
||||
private String fpName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_LOCATE")
|
||||
@Api("MES_库位")
|
||||
public class MesLocate extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1229825295729375298L;
|
||||
@Column(name = "LOCATE_NO")
|
||||
@ApiParam("库位编号")
|
||||
private String locateNo;
|
||||
|
||||
@Column(name = "LOCATE_NAME")
|
||||
@ApiParam("库位名称")
|
||||
private String locateName;
|
||||
|
||||
@Column(name = "ZONE_NO")
|
||||
@ApiParam("存储区代码")
|
||||
private String zoneNo;
|
||||
}
|
@ -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.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SP_ACTION_RECORD")
|
||||
@Api("MES_备件操作记录")
|
||||
public class MesSpActionRecord extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1222647293041375978L;
|
||||
@Column(name = "SP_NO")
|
||||
@ApiParam("备件编号")
|
||||
private String spNo;
|
||||
|
||||
@Column(name = "ACTION_TYPE")
|
||||
@ApiParam("操作类型")
|
||||
private Integer actionType;
|
||||
|
||||
@Column(name = "SP_CODE")
|
||||
@ApiParam("备件代码")
|
||||
private String spCode;
|
||||
|
||||
@Column(name = "SP_NAME")
|
||||
@ApiParam("备件名称")
|
||||
private String spName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
}
|
@ -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.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SPARE_PART")
|
||||
@Api("MES_备件表")
|
||||
public class MesSparePart extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1229825293041375978L;
|
||||
@Column(name = "SP_CODE")
|
||||
@ApiParam("备件代码")
|
||||
private String spCode;
|
||||
|
||||
@Column(name = "SP_NAME")
|
||||
@ApiParam("备件名称")
|
||||
private String spName;
|
||||
|
||||
@Column(name = "SP_TYPE")
|
||||
@ApiParam("备件类型")
|
||||
private String spType;
|
||||
|
||||
@Column(name = "SP_CATEGORY")
|
||||
@ApiParam("备件类别")
|
||||
private String spCategory;
|
||||
|
||||
@Column(name = "USEFUL_LIFE")
|
||||
@ApiParam("有效期")
|
||||
private Integer usefulLife;
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
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;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SPARE_PART_DETAIL")
|
||||
@Api("MES_备件明细")
|
||||
public class MesSparePartDetail extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1229825292839375978L;
|
||||
@Column(name = "SP_NO")
|
||||
@ApiParam("备件编号")
|
||||
private String spNo;
|
||||
|
||||
@Column(name = "SP_CODE")
|
||||
@ApiParam("备件代码")
|
||||
private String spCode;
|
||||
|
||||
@Column(name = "SP_NAME")
|
||||
@ApiParam("备件名称")
|
||||
private String spName;
|
||||
|
||||
@Column(name = "ZONE_NO")
|
||||
@ApiParam("存储区代码")
|
||||
private String zoneNo;
|
||||
|
||||
@Column(name = "LOCATE_NO")
|
||||
@ApiParam("库位编号")
|
||||
private String locateNo;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Integer qty;
|
||||
|
||||
@Column(name="RECEIVE_DATE")
|
||||
@ApiParam(value ="接收日期")
|
||||
private Date receiveDate;
|
||||
|
||||
@Column(name="ENABLE_DATE")
|
||||
@ApiParam(value ="启用日期")
|
||||
private Date enableDate;
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ZONES")
|
||||
@Api("MES_存储区")
|
||||
public class MesZones extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1229825293041375298L;
|
||||
@Column(name = "ZONE_NO")
|
||||
@ApiParam("存储区代码")
|
||||
private String zoneNo;
|
||||
|
||||
@Column(name = "ZONE_NAME")
|
||||
@ApiParam("存储区名称")
|
||||
private String zoneName;
|
||||
}
|
@ -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.MesEquFaultCause;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:08
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesEquFaultCauseRepository extends BaseRepository<MesEquFaultCause, 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.MesEquFaultMethod;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:07
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesEquFaultMethodRepository extends BaseRepository<MesEquFaultMethod, 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.MesEquFaultPhenomenon;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:05
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesEquFaultPhenomenonRepository extends BaseRepository<MesEquFaultPhenomenon, Long> {
|
||||
}
|
Loading…
Reference in New Issue