Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
f53e1011a7
@ -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_ALARM_DETAIL_TYPE")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯子类型")
|
||||
public class AndonAlarmDetailType extends BaseBean {
|
||||
|
||||
@Column(name = "ALARM_DETAIL_CODE")
|
||||
@ApiParam(value = "安灯类型代码")
|
||||
private String alarmDetailCode;
|
||||
|
||||
@Column(name = "ALARM_DETAIL_NAME")
|
||||
@ApiParam(value = "安灯类型名称")
|
||||
private String alarmDetailName;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型代码")
|
||||
private String alarmCode;
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
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-31 14:08
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_DISPOSAL_CFG")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ANDON_自处理配置")
|
||||
public class AndonDisposalCfg extends BaseBean {
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam(value = "工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam(value = "工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name = "AC_CODE")
|
||||
@ApiParam(value = "呼叫原因代码")
|
||||
private String acCode;
|
||||
|
||||
@Column(name = "APPROVAL_STATUS")
|
||||
@ApiParam(value = "审批状态")
|
||||
private String approvalStatus;
|
||||
}
|
@ -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 : ANDON_事件现象
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2019-05-31 9:47
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="ANDON_EVENT_PHENOMENON")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ANDON_事件现象")
|
||||
public class AndonEventPhenoMenon extends BaseBean {
|
||||
|
||||
@Column(name = "EPM_CODE")
|
||||
@ApiParam(value = "事件现象代码")
|
||||
private String epmCode;
|
||||
|
||||
@Column(name = "EPM_NAME")
|
||||
@ApiParam(value = "事件现象描述")
|
||||
private String epmName;
|
||||
|
||||
@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 : 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;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonDisposalCfg;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : ANDON_自处理配置
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2019-05-31 14:14
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonDisposalCfgRepository extends BaseRepository<AndonDisposalCfg, Long> {
|
||||
}
|
@ -0,0 +1,134 @@
|
||||
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;
|
||||
import javax.persistence.Transient;
|
||||
|
||||
/**
|
||||
* @Description : 产品条码履历实体类
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2019-05-29 16:22
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_PRODUCE_SN_TRAVEL")
|
||||
@Api("产品条码履历表")
|
||||
public class MesProduceSnTravel extends BaseBean {
|
||||
@Column(name="SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name="QTY")
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@Column(name="QC_STATUS")
|
||||
@ApiParam("质量状态")
|
||||
private Integer qcStatus;
|
||||
|
||||
@Column(name="SN_STATUS")
|
||||
@ApiParam("条码状态")
|
||||
private Integer snStatus;
|
||||
|
||||
@Column(name="PRINT_COUNT")
|
||||
@ApiParam("打印次数")
|
||||
private Integer printCount;
|
||||
|
||||
@Column(name="PRINT_STATUS")
|
||||
@ApiParam("打印状态")
|
||||
private Integer printStatus;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name="ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name="PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name="NEXT_PROCESS_CODE")
|
||||
@ApiParam("下一工序代码")
|
||||
private String nextProcessCode;
|
||||
|
||||
@Column(name="IN_WC_TIME")
|
||||
@ApiParam("进产线时间")
|
||||
private String inWorkCenterTime;
|
||||
|
||||
@Column(name="OUT_WC_TIME")
|
||||
@ApiParam("出产线时间")
|
||||
private String outWorkCenterTime;
|
||||
|
||||
@Column(name="SHIPPING_TIME")
|
||||
@ApiParam("发运时间")
|
||||
private String shippingTime;
|
||||
|
||||
@Column(name="WORK_ORDER_NO")
|
||||
@ApiParam("生产工单号")
|
||||
private String workOrderNo;
|
||||
|
||||
@Column(name="CUST_SN")
|
||||
@ApiParam("客户条码")
|
||||
private String custSn;
|
||||
|
||||
@Column(name="CUST_PART_NO")
|
||||
@ApiParam("客户零件号")
|
||||
private String custPartNo;
|
||||
|
||||
@Column(name="PACKAGE_SN")
|
||||
@ApiParam("包装条码")
|
||||
private String packageSn;
|
||||
|
||||
@Transient
|
||||
@ApiParam("返回信息")
|
||||
private String resultMsg;
|
||||
|
||||
public double getQtyVal() {
|
||||
return this.qty == null ? 0.0d : this.qty;
|
||||
}
|
||||
|
||||
public int getQcStatusVal() {
|
||||
return this.qcStatus == null ? 0 : this.qcStatus;
|
||||
}
|
||||
|
||||
public int getSnStatusVal() {
|
||||
return this.snStatus == null ? 0 : this.snStatus;
|
||||
}
|
||||
|
||||
public int getPrintCountVal() {
|
||||
return this.printCount == null ? 0 : this.printCount;
|
||||
}
|
||||
|
||||
public int getPrintStatusVal() {
|
||||
return this.printStatus == null ? 0 : this.printStatus;
|
||||
}
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
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.MesProduceSn;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesProduceSnTravel;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 条码履历Dao层接口
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2019-05-29 16:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesProduceSnTravelRepository extends BaseRepository<MesProduceSnTravel, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
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.MesWorkCell;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesWorkCellPoint;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :工站队列Dao层接口
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2019-05-29 14:40
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellPointRepository extends BaseRepository<MesWorkCellPoint, Long> {
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 产品条码履历实体类
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2019-05-29 16:22
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_PRODUCE_SN_TRAVEL")
|
||||
@Api("产品条码履历表")
|
||||
public class MesProduceSnTravel extends MesProduceSn {
|
||||
}
|
@ -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.MesProduceSnTravel;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 条码履历Dao层接口
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2019-05-29 16:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesProduceSnTravelRepository extends BaseRepository<MesProduceSnTravel, 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.MesWorkCellPoint;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :工站队列Dao层接口
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2019-05-29 14:40
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesWorkCellPointRepository extends BaseRepository<MesWorkCellPoint, Long> {
|
||||
}
|
Loading…
Reference in New Issue