Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
f5801ba43b
@ -0,0 +1,74 @@
|
||||
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 : crish
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="ANDON_BROADCAST")
|
||||
@Api("安灯广播")
|
||||
public class AndonBroadCast extends BaseBean {
|
||||
@Column(name="DEVICE_NUM")
|
||||
@ApiParam("广播设备编号")
|
||||
private String targetIds;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="DEVICE_DEC")
|
||||
@ApiParam("广播设备名称")
|
||||
private String deviceDec;
|
||||
|
||||
@Column(name="DEVICE_IP")
|
||||
@ApiParam("广播设备ip")
|
||||
private String deviceIp;
|
||||
|
||||
@Column(name="PLAY_INTERVAL")
|
||||
@ApiParam("播放间隔")
|
||||
private Integer playInterval = 0;
|
||||
|
||||
@Column(name="PLAY_PRIORITY")
|
||||
@ApiParam("播放优先级")
|
||||
private Integer playPriority = 500;
|
||||
|
||||
@Column(name="VOLUME")
|
||||
@ApiParam("播放音量")
|
||||
private Integer volume;
|
||||
|
||||
@Column(name="TTS_NAME")
|
||||
@ApiParam("广播语音引擎")
|
||||
private String voiceEngine;
|
||||
|
||||
@Column(name="TEXT_ENCODE")
|
||||
@ApiParam("广播内容编码格式")
|
||||
private String textEncode = "UTF-8";
|
||||
|
||||
@Column(name="PLAY_SPEED")
|
||||
@ApiParam("播放语速")
|
||||
private Integer playSpeed = 0;
|
||||
|
||||
@Column(name="PLAY_TIME")
|
||||
@ApiParam("播放循环次数")
|
||||
private Integer playTime = 1;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
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;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :广播配置
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="ANDON_BROADCAST_CFG")
|
||||
@Api("生产区域")
|
||||
public class AndonBroadCastCfg extends BaseBean {
|
||||
@Column(name="ALARM_CODE")
|
||||
@ApiParam("安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name="DEVICE_NUM")
|
||||
@ApiParam("广播设备编号")
|
||||
private String targetIds;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonAlarmCause;
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonBroadCastCfg;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 安灯广播配置持久层
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonBroadCastCfgRepository extends BaseRepository<AndonBroadCastCfg, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonAlarmCause;
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonBroadCast;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 安灯广播持久层
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonBroadCastRepository extends BaseRepository<AndonBroadCast, Long> {
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/10/10 8:37 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FI_CFG")
|
||||
@Api("首检件配置")
|
||||
public class MesFiCfg extends BaseBean {
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name="FI_QTY")
|
||||
@ApiParam("首检数量")
|
||||
private String fiQty;
|
||||
}
|
@ -0,0 +1,101 @@
|
||||
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;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\12 16:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_QC_CHECK_DATA")
|
||||
@Api("质量过程检测数据")
|
||||
public class MesQcCheckData extends BaseBean {
|
||||
|
||||
@Column(name = "CHECK_ID")
|
||||
@ApiParam("检测id")
|
||||
private String checkId;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "CHECK_TYPE")
|
||||
@ApiParam("检测类型")
|
||||
private Integer checkType;
|
||||
|
||||
@Column(name = "CHECK_ITEM")
|
||||
@ApiParam("检测项")
|
||||
private String checkItem;
|
||||
|
||||
@Column(name = "CHECK_STANDARD")
|
||||
@ApiParam("检测标准")
|
||||
private String checkStandard;
|
||||
|
||||
@Column(name = "CHECK_GUIDE")
|
||||
@ApiParam("检测指导")
|
||||
private String checkGuide;
|
||||
|
||||
@Column(name = "CHECK_FREQUENCY")
|
||||
@ApiParam("频率")
|
||||
private String checkFrequency;
|
||||
|
||||
@Column(name = "CHECK_VALUE")
|
||||
@ApiParam("检测值")
|
||||
private String checkValue;
|
||||
|
||||
@Column(name = "CHECK_RESULT")
|
||||
@ApiParam("判定结果")
|
||||
private String checkResult;
|
||||
|
||||
@Column(name = "SN")
|
||||
@ApiParam("产品条码")
|
||||
private String sn;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("产品数量")
|
||||
private String qty;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("工单号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name = "CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam("过程质量检测数据")
|
||||
private List<MesQcCheckStandard> mesQcCheckStandardList;
|
||||
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\12 14:46
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_QC_CHECK_STANDARD")
|
||||
@Api("质量检测标准")
|
||||
public class MesQcCheckStandard extends BaseBean {
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "CHECK_TYPE")
|
||||
@ApiParam("检测类型")
|
||||
private Integer checkType;
|
||||
|
||||
@Column(name = "CHECK_ITEM")
|
||||
@ApiParam("检测项")
|
||||
private String checkItem;
|
||||
|
||||
@Column(name = "CHECK_STANDARD")
|
||||
@ApiParam("检测标准")
|
||||
private String checkStandard;
|
||||
|
||||
@Column(name = "CHECK_GUIDE")
|
||||
@ApiParam("检测指导")
|
||||
private String checkGuide;
|
||||
|
||||
@Column(name = "CHECK_FREQUENCY")
|
||||
@ApiParam("频率")
|
||||
private String checkFrequency;
|
||||
|
||||
@Transient
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Transient
|
||||
@ApiParam("检测结果")
|
||||
private String checkResult;
|
||||
|
||||
@Transient
|
||||
@ApiParam("检测值")
|
||||
private String checkValue;
|
||||
|
||||
}
|
@ -0,0 +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.MesQcCheckData;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\12 16:43
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesQcCheckDataRepository extends BaseRepository<MesQcCheckData, Long> {
|
||||
}
|
@ -0,0 +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.MesQcCheckStandard;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\12 14:58
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesQcCheckStandardRepository extends BaseRepository<MesQcCheckStandard, Long> {
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
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 javax.persistence.Transient;
|
||||
|
||||
/**
|
||||
* @Description :设备作业要求
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_EQU_TASK_STANDARD")
|
||||
@Api("设备作业要求")
|
||||
public class MesEquTaskStandard extends BaseBean {
|
||||
@Column(name="EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name="EQUIPMENT_NAME")
|
||||
@ApiParam("设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@Column(name="TASK_TYPE")
|
||||
@ApiParam("作业类型")
|
||||
private Integer taskType;
|
||||
|
||||
@Column(name="ACTION_ITEM")
|
||||
@ApiParam("操作项")
|
||||
private String actionItem;
|
||||
|
||||
@Column(name="ACTION_STANDARD")
|
||||
@ApiParam("操作标准")
|
||||
private String actionStandard;
|
||||
|
||||
@Column(name="ACTION_GUIDE")
|
||||
@ApiParam("操作指导")
|
||||
private String actionGuide;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value="生产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value="设备类别")
|
||||
private String equipmentCategory;
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:56
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FAULT_CAUSE")
|
||||
@Api("PLC配置表")
|
||||
public class MesFaultCause extends BaseBean {
|
||||
|
||||
@Column(name = "FC_CODE")
|
||||
@ApiParam("故障原因代码")
|
||||
private String fcCode;
|
||||
|
||||
@Column(name = "FC_NAME")
|
||||
@ApiParam("故障原因描述")
|
||||
private String fcName;
|
||||
|
||||
@Column(name = "PARENT_FC_CODE")
|
||||
@ApiParam("父阶原因代码")
|
||||
private String parentFcCode;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FAULT_METHOD")
|
||||
@Api("PLC配置表")
|
||||
public class MesFaultMethod extends BaseBean {
|
||||
|
||||
@Column(name = "FM_CODE")
|
||||
@ApiParam("故障方法代码")
|
||||
private String fmCode;
|
||||
|
||||
@Column(name = "FM_NAME")
|
||||
@ApiParam("故障方法描述")
|
||||
private String fmName;
|
||||
|
||||
@Column(name = "PARENT_FM_CODE")
|
||||
@ApiParam("父阶故障代码")
|
||||
private String parentFmCode;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 11:42
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FAULT_PHENOMENON")
|
||||
@Api("PLC配置表")
|
||||
public class MesFaultPhenomenon extends BaseBean {
|
||||
|
||||
@Column(name = "FP_CODE")
|
||||
@ApiParam("故障现象代码")
|
||||
private String fpCode;
|
||||
|
||||
@Column(name = "FP_NAME")
|
||||
@ApiParam("故障现象描述")
|
||||
private String fpName;
|
||||
|
||||
@Column(name = "PARENT_FP_CODE")
|
||||
@ApiParam("父阶现象代码")
|
||||
private String parentFpCode;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/10/10 8:37 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FI_CFG")
|
||||
@Api("首检件配置")
|
||||
public class MesFiCfg extends BaseBean {
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name="FI_QTY")
|
||||
@ApiParam("首检数量")
|
||||
private String fiQty;
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
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: joke.wang
|
||||
* @CreateDate:2019\10\9 0009
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PLC")
|
||||
@Api("PLC配置表")
|
||||
public class MesPlc extends BaseBean {
|
||||
|
||||
@Column(name = "PLC_CODE")
|
||||
@ApiParam("PLC代码")
|
||||
private String plcCode;
|
||||
|
||||
@Column(name = "PLC_NAME")
|
||||
@ApiParam("PLC名称")
|
||||
private String plcName;
|
||||
|
||||
@Column(name = "PLC_MODEL")
|
||||
@ApiParam("PLC型号")
|
||||
private String plcModel;
|
||||
|
||||
@Column(name = "PLC_IP")
|
||||
@ApiParam("PLC IP")
|
||||
private String plcIp;
|
||||
|
||||
@Column(name = "CHANNEL")
|
||||
@ApiParam("通道")
|
||||
private String channel;
|
||||
|
||||
@Column(name = "TAG_NAME")
|
||||
@ApiParam("标签名称")
|
||||
private String tagName;
|
||||
|
||||
@Column(name = "TAG_ADDRESS")
|
||||
@ApiParam("标签地址")
|
||||
private String tagAddress;
|
||||
|
||||
@Column(name = "DATA_TYPE")
|
||||
@ApiParam("标签数据类型")
|
||||
private String dataType;
|
||||
|
||||
@Column(name = "GROUP_NAME")
|
||||
@ApiParam("分组名称")
|
||||
private String groupName;
|
||||
|
||||
@Column(name = "EQUIPMENT_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "PLC_CFG")
|
||||
@ApiParam("PLC的值的设定")
|
||||
private String plcCfg;
|
||||
|
||||
@Column(name = "ANALYSIS_RULE")
|
||||
@ApiParam("解析规则")
|
||||
private String analysisRule;
|
||||
|
||||
@Column(name = "IS_ANALYSIS")
|
||||
@ApiParam("是否解析")
|
||||
private String isAnalysis;
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
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: joke.wang
|
||||
* @CreateDate: 2019\10\12 14:46
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_QC_CHECK_STANDARD")
|
||||
@Api("质量检测标准")
|
||||
public class MesQcCheckStandard extends BaseBean {
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "CHECK_TYPE")
|
||||
@ApiParam("检测类型")
|
||||
private Integer checkType;
|
||||
|
||||
@Column(name = "CHECK_ITEM")
|
||||
@ApiParam("检测项")
|
||||
private String checkItem;
|
||||
|
||||
@Column(name = "CHECK_STANDARD")
|
||||
@ApiParam("检测标准")
|
||||
private String checkStandard;
|
||||
|
||||
@Column(name = "CHECK_GUIDE")
|
||||
@ApiParam("检测指导")
|
||||
private String checkGuide;
|
||||
|
||||
@Column(name = "CHECK_FREQUENCY")
|
||||
@ApiParam("频率")
|
||||
private String checkFrequency;
|
||||
|
||||
}
|
@ -0,0 +1,77 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
@Data
|
||||
public class MesEquTaskStandardModel implements Serializable {
|
||||
@ApiParam("id")
|
||||
private Long id;
|
||||
|
||||
@ApiParam("设备代码")
|
||||
private String equipmentCode;
|
||||
|
||||
@ApiParam("设备名称")
|
||||
private String equipmentName;
|
||||
|
||||
@ApiParam("作业类型")
|
||||
private Integer taskType;
|
||||
|
||||
@ApiParam("操作项")
|
||||
private Integer actionItem;
|
||||
|
||||
@ApiParam("操作标准")
|
||||
private String actionStandard;
|
||||
|
||||
@ApiParam("操作指导")
|
||||
private String actionGuide;
|
||||
|
||||
@ApiParam("生产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam(value ="组织代码")
|
||||
public String organizeCode;
|
||||
|
||||
@ApiParam(value = "有效性")
|
||||
public Integer isValid;
|
||||
|
||||
@ApiParam(value = "是否已删除")
|
||||
public Integer isDeleted;
|
||||
|
||||
@ApiParam(value = "创建用户")
|
||||
public String createUser;
|
||||
|
||||
@ApiParam(value = "创建日期")
|
||||
public String createDatetime;
|
||||
|
||||
@ApiParam(value = "修改人")
|
||||
public String modifyUser;
|
||||
|
||||
@ApiParam(value = "修改日期")
|
||||
public String modifyDatetime;
|
||||
|
||||
|
||||
public MesEquTaskStandardModel() {
|
||||
|
||||
}
|
||||
|
||||
public MesEquTaskStandardModel(Long id, String equipmentCode, String equipmentName, Integer taskType, Integer actionItem, String actionStandard, String actionGuide, String workCenterCode, String organizeCode, Integer isValid, Integer isDeleted, String createUser, String createDatetime, String modifyUser, String modifyDatetime) {
|
||||
this.id = id;
|
||||
this.equipmentCode = equipmentCode;
|
||||
this.equipmentName = equipmentName;
|
||||
this.taskType = taskType;
|
||||
this.actionItem = actionItem;
|
||||
this.actionStandard = actionStandard;
|
||||
this.actionGuide = actionGuide;
|
||||
this.workCenterCode = workCenterCode;
|
||||
this.organizeCode = organizeCode;
|
||||
this.isValid = isValid;
|
||||
this.isDeleted = isDeleted;
|
||||
this.createUser = createUser;
|
||||
this.createDatetime = createDatetime;
|
||||
this.modifyUser = modifyUser;
|
||||
this.modifyDatetime = modifyDatetime;
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesDatasource;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate:2019\10\9
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesDatasourceRepository extends BaseRepository<MesDatasource,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.MesEquTaskStandard;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : 王杰
|
||||
* @CreateDate : 2019-10-11
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesEquTaskStandardRepository extends BaseRepository<MesEquTaskStandard, 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.MesFaultCause;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:08
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesFaultCauseRepository extends BaseRepository<MesFaultCause, 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.MesFaultMethod;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:07
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesFaultMethodRepository extends BaseRepository<MesFaultMethod, 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.MesFaultPhenomenon;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\10 0010 13:05
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesFaultPhenomenonRepository extends BaseRepository<MesFaultPhenomenon, 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.MesPlc;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate:2019\10\9 0009 11:16
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesPlcRepository extends BaseRepository<MesPlc, 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.MesQcCheckStandard;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\12 0012 14:58
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesQcCheckStandardRepository extends BaseRepository<MesQcCheckStandard, Long> {
|
||||
}
|
@ -1,79 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.iotio;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@Data
|
||||
public class WmsCSOrderDetailsModel implements Serializable {
|
||||
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 工厂代码
|
||||
*/
|
||||
@ApiParam("工厂代码")
|
||||
public String organizeCode;
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 库位编码
|
||||
*/
|
||||
@ApiParam("库位编码")
|
||||
public String locateNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 订单编码
|
||||
*/
|
||||
@ApiParam("订单编号")
|
||||
public String orderNo;
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 物料代码
|
||||
*/
|
||||
@ApiParam("物料代码")
|
||||
public String partNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 物料名称
|
||||
*/
|
||||
@ApiParam("物料名称")
|
||||
public String partNameRdd;
|
||||
|
||||
/******
|
||||
*
|
||||
* 冻结数量
|
||||
*/
|
||||
@ApiParam("冻结数量")
|
||||
public String qty;
|
||||
|
||||
/******
|
||||
*
|
||||
* 实盘数量
|
||||
*/
|
||||
@ApiParam("实盘数量")
|
||||
public String factQty;
|
||||
|
||||
/******
|
||||
*
|
||||
* 条码
|
||||
*/
|
||||
@ApiParam("条码编号")
|
||||
public String sn;
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 仓库编码
|
||||
*/
|
||||
@ApiParam("仓库编码")
|
||||
public String whNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 区域编码
|
||||
*/
|
||||
@ApiParam("区域编码")
|
||||
public String zoneNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 状态
|
||||
*/
|
||||
@ApiParam("状态")
|
||||
public String wmStatus;
|
||||
}
|
||||
|
Loading…
Reference in New Issue