Merge branch 'test' into dev
commit
c6bc2e682a
@ -0,0 +1,13 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.andon.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.andon.bean.AndonMgnManageQueue;
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2021/6/18 5:14 PM
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
public interface IAndonMgnManageQueueRepository extends BaseRepository<AndonMgnManageQueue, Long> {
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.aps.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class RuleDetailModel {
|
||||||
|
@ApiParam(value ="主执行进度")
|
||||||
|
private Integer mainProcess = 0;
|
||||||
|
|
||||||
|
@ApiParam(value ="总规则数")
|
||||||
|
private Integer mainSize = 0;
|
||||||
|
|
||||||
|
@ApiParam(value ="当前执行进度")
|
||||||
|
private Integer curProcess = 0;
|
||||||
|
|
||||||
|
@ApiParam(value ="总行数")
|
||||||
|
private Integer totalSize = 0;
|
||||||
|
|
||||||
|
@ApiParam(value ="进度消息")
|
||||||
|
private String processMsg = "";
|
||||||
|
|
||||||
|
@ApiParam(value ="进度消息明细")
|
||||||
|
private String subMsg = "";
|
||||||
|
|
||||||
|
private Boolean finish = false;
|
||||||
|
|
||||||
|
@ApiParam(value ="异常消息")
|
||||||
|
private String exception = "";
|
||||||
|
|
||||||
|
public void addProcess() {
|
||||||
|
this.curProcess += 1;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mdm.bean.base;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
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 : pantianhu
|
||||||
|
* @CreateDate : 2021-05-26 17:04
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MDM_FIELD")
|
||||||
|
@ApiModel("表字段")
|
||||||
|
public class MdmField extends BaseMdmBean {
|
||||||
|
|
||||||
|
@Column(name="TABLE_NAME")
|
||||||
|
@ApiParam(value ="表名")
|
||||||
|
private String tableName;
|
||||||
|
|
||||||
|
@Column(name="TABLE_DESCRIPTION")
|
||||||
|
@ApiParam(value ="表描述")
|
||||||
|
private String tableDescription;
|
||||||
|
|
||||||
|
@Column(name="FIELD_NAME")
|
||||||
|
@ApiParam(value ="字段名称")
|
||||||
|
private String fieldName;
|
||||||
|
|
||||||
|
@Column(name="FIELD_DESCRIPTION")
|
||||||
|
@ApiParam(value ="字段描述")
|
||||||
|
private String fieldDescription;
|
||||||
|
|
||||||
|
@Column(name="SERVICE_NAME")
|
||||||
|
@ApiParam(value ="服务名称")
|
||||||
|
private String serviceName;
|
||||||
|
|
||||||
|
@Column(name="SERVICE_CODE")
|
||||||
|
@ApiParam(value ="服务代码")
|
||||||
|
private String serviceCode;
|
||||||
|
|
||||||
|
@Column(name="IS_SELECT")
|
||||||
|
@ApiParam(value ="是否选中")
|
||||||
|
private Integer isSelect;
|
||||||
|
}
|
@ -0,0 +1,41 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mdm.bean.base;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
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 : pantianhu
|
||||||
|
* @CreateDate : 2021-05-29 15:17
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MDM_MAIL")
|
||||||
|
@ApiModel("邮件配置")
|
||||||
|
public class MdmMail extends BaseMdmBean{
|
||||||
|
@Column(name = "MESSAGE_SENDER_NAME_RDD")
|
||||||
|
@ApiParam(value = "发送者名称")
|
||||||
|
private String messageSenderNameRdd;
|
||||||
|
|
||||||
|
@Column(name = "MESSAGE_RECEIVERS_NAME_RDD")
|
||||||
|
@ApiParam(value = "接受者名称")
|
||||||
|
private String messageReceiversNameRdd;
|
||||||
|
|
||||||
|
@Column(name = "IS_SEND")
|
||||||
|
@ApiParam(value = "是否发送")
|
||||||
|
private Integer isSend;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,111 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mdm.bean.master;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.MdmEnumUtil;
|
||||||
|
import cn.estsh.i3plus.pojo.mdm.bean.base.BaseMdmBean;
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
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 : yunhao
|
||||||
|
* @CreateDate : 2020-05-12 18:09
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="MDM_SYNC_DATA_THROUGH")
|
||||||
|
@ApiModel("处理以通过中心同步数据")
|
||||||
|
public class MdmSyncDataThrough extends BaseMdmBean {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -1642626000861174060L;
|
||||||
|
|
||||||
|
@ApiParam("同步数据类型")
|
||||||
|
@AnnoOutputColumn(refClass = MdmEnumUtil.MDM_SYNC_TYPE.class)
|
||||||
|
private Integer syncType;
|
||||||
|
|
||||||
|
public int getSyncTypeVal() {
|
||||||
|
return syncType == null ? MdmEnumUtil.MDM_SYNC_TYPE.INSERT.getValue() : syncType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSyncTypeTxt() {
|
||||||
|
return syncType == null ? "无" : MdmEnumUtil.MDM_SYNC_TYPE.valueOfDescription(syncType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@ApiParam("同步模块")
|
||||||
|
@AnnoOutputColumn(refClass = MdmEnumUtil.MDM_SYNC_APP_TYPE.class)
|
||||||
|
private Integer syncAppType;
|
||||||
|
|
||||||
|
public int getSyncAppTypeVal() {
|
||||||
|
return syncAppType == null ? MdmEnumUtil.MDM_SYNC_APP_TYPE.INTERNAL.getValue() : syncAppType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSyncAppTypeTxt() {
|
||||||
|
return syncAppType == null ? "无" : MdmEnumUtil.MDM_SYNC_APP_TYPE.valueOfDescription(syncAppType);
|
||||||
|
}
|
||||||
|
|
||||||
|
@ApiParam("同步模块")
|
||||||
|
private Long syncSoftType;
|
||||||
|
|
||||||
|
@ApiParam("同步模块名称")
|
||||||
|
private String syncSoftTypeName;
|
||||||
|
|
||||||
|
@ApiParam("是否是主数据")
|
||||||
|
@AnnoOutputColumn(refClass = CommonEnumUtil.TRUE_OR_FALSE.class)
|
||||||
|
private Integer isMasterData;
|
||||||
|
|
||||||
|
public int getIsMasterDataVal() {
|
||||||
|
return isMasterData == null ? CommonEnumUtil.TRUE_OR_FALSE.FALSE.getValue() : isMasterData;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getIsMasterDataTxt() {
|
||||||
|
return isMasterData == null ? "无" : CommonEnumUtil.TRUE_OR_FALSE.valueOfDescription(isMasterData);
|
||||||
|
}
|
||||||
|
|
||||||
|
@ApiParam("同步数据class")
|
||||||
|
private String syncDataClass;
|
||||||
|
|
||||||
|
public String getSyncDataClassSimpleName() {
|
||||||
|
if (syncDataClass == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
return syncDataClass.trim().substring(syncDataClass.trim().lastIndexOf(".") + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
@ApiParam("同步数据id")
|
||||||
|
@AnnoOutputColumn(hidden = true)
|
||||||
|
private String syncDataId;
|
||||||
|
|
||||||
|
@ApiParam("同步数据用户名")
|
||||||
|
private String syncDateUserName;
|
||||||
|
|
||||||
|
@ApiParam("同步时间")
|
||||||
|
private String syncDateTime;
|
||||||
|
|
||||||
|
@ApiParam("同步失败键")
|
||||||
|
private String syncFailKey;
|
||||||
|
|
||||||
|
@ApiParam("同步失败时间")
|
||||||
|
private String syncFailDateTime;
|
||||||
|
|
||||||
|
@ApiParam("同步失败信息")
|
||||||
|
private String syncFailMessage;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mdm.repository.master;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mdm.bean.base.MdmMail;
|
||||||
|
import cn.estsh.i3plus.pojo.mdm.bean.master.MdmGear;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : yunhao
|
||||||
|
* @CreateDate : 2020-05-15 16:26
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MdmMailRepository extends BaseRepository<MdmMail, Long> {
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mdm.repository.master;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mdm.bean.master.MdmGear;
|
||||||
|
import cn.estsh.i3plus.pojo.mdm.bean.master.MdmSyncDataThrough;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : yunhao
|
||||||
|
* @CreateDate : 2020-05-15 16:26
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MdmSyncDataThroughRepository extends BaseRepository<MdmSyncDataThrough, Long> {
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mdm.repository.master;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mdm.bean.base.MdmField;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : pantianhu
|
||||||
|
* @CreateDate : 2021-05-26 20:33
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MdmfieldRepository extends BaseRepository<MdmField, Long> {
|
||||||
|
}
|
@ -0,0 +1,59 @@
|
|||||||
|
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.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 泰国电检打印数据
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dominic
|
||||||
|
* @CreateDate : 2021/6/16 14:15
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Inheritance(strategy = InheritanceType.JOINED)
|
||||||
|
@Table(name = "MES_ELECTROTESTING_PRINT_DATA")
|
||||||
|
@Api("MES_电检打印数据")
|
||||||
|
public class MesElectrotestingPrintData extends BaseBean implements Serializable {
|
||||||
|
private static final long serialVersionUID = 5179928838368157923L;
|
||||||
|
|
||||||
|
@Column(name = "COLOUR_CODE")
|
||||||
|
@ApiParam("颜色代码")
|
||||||
|
private String colourCode;
|
||||||
|
|
||||||
|
@Column(name = "VARIANT")
|
||||||
|
@ApiParam("型号")
|
||||||
|
private String variant;
|
||||||
|
|
||||||
|
@Column(name = "PRODUCTION_NUMBER")
|
||||||
|
@ApiParam("产品号")
|
||||||
|
private String productionNumber;
|
||||||
|
|
||||||
|
@Column(name = "COMMISSION_NUMBER")
|
||||||
|
@ApiParam("佣金号")
|
||||||
|
private String commissionNumber;
|
||||||
|
|
||||||
|
@Column(name = "QAD_NO")
|
||||||
|
@ApiParam("位置号")
|
||||||
|
private String qadNo;
|
||||||
|
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam("物料号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "PRINT_STATUS")
|
||||||
|
@ApiParam("打印状态")
|
||||||
|
private Integer printStatus = 10;
|
||||||
|
}
|
@ -0,0 +1,60 @@
|
|||||||
|
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:
|
||||||
|
* @Author: dominic
|
||||||
|
* @Date: 2020/12/03 20:29
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_FAILURE_MODE_APPROVAL")
|
||||||
|
@Api("MES_失效模式审批人员")
|
||||||
|
public class MesFailureModeApproval extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -5274274774653791153L;
|
||||||
|
|
||||||
|
@Column(name = "PATTERN_CODE")
|
||||||
|
@ApiParam("模式代码")
|
||||||
|
private String patternCode;
|
||||||
|
|
||||||
|
@Column(name = "PATTERN_NAME")
|
||||||
|
@ApiParam("模式代码名称")
|
||||||
|
private String patternName;
|
||||||
|
|
||||||
|
@Column(name = "DEPARTMENT_NAME_RDD")
|
||||||
|
@ApiParam("部门名称")
|
||||||
|
private String departmentNameRdd;
|
||||||
|
|
||||||
|
@Column(name = "DEPARTMENT_ID")
|
||||||
|
@ApiParam("部门id")
|
||||||
|
private Long departmentId;
|
||||||
|
|
||||||
|
@Column(name = "USER_NAME")
|
||||||
|
@ApiParam("人员名称")
|
||||||
|
private String userName;
|
||||||
|
|
||||||
|
@Column(name = "USER_ID")
|
||||||
|
@ApiParam("人员id")
|
||||||
|
private Long userId;
|
||||||
|
|
||||||
|
@Column(name = "PERSONNEL_LEVEL")
|
||||||
|
@ApiParam("人员级别")
|
||||||
|
private Integer personnelLevel;
|
||||||
|
}
|
@ -0,0 +1,54 @@
|
|||||||
|
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.ColumnDefault;
|
||||||
|
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:
|
||||||
|
* @Author: dominic
|
||||||
|
* @Date: 2020/12/03 20:29
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_FAILURE_MODE_PARTS")
|
||||||
|
@Api("MES_失效模式零件")
|
||||||
|
public class MesFailureModeParts extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -5274274774653791153L;
|
||||||
|
|
||||||
|
@Column(name = "PATTERN_CODE")
|
||||||
|
@ApiParam("模式代码")
|
||||||
|
private String patternCode;
|
||||||
|
|
||||||
|
@Column(name = "PATTERN_NAME")
|
||||||
|
@ApiParam("模式代码名称")
|
||||||
|
private String patternName;
|
||||||
|
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam("零件号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "PART_NAME_RDD")
|
||||||
|
@ApiParam("零件名称")
|
||||||
|
private String partNameRdd;
|
||||||
|
|
||||||
|
@Column(name = "MAXIMUM", columnDefinition = "decimal(18,8)")
|
||||||
|
@ColumnDefault("0")
|
||||||
|
@ApiParam("上限值")
|
||||||
|
private Double maximum = 0d;
|
||||||
|
}
|
@ -0,0 +1,67 @@
|
|||||||
|
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.ColumnDefault;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
|
||||||
|
import javax.persistence.*;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :锁定记录
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dominic
|
||||||
|
* @CreateDate : 2021-06-10
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Inheritance(strategy = InheritanceType.JOINED)
|
||||||
|
@Table(name = "MES_LOCK_RECORD")
|
||||||
|
@Api("mes锁定记录表")
|
||||||
|
public class MesLockRecord extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 5132229443235106976L;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("产线代码")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CELL_CODE")
|
||||||
|
@ApiParam("工位代码")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CELL_NAME")
|
||||||
|
@ApiParam("工位名称")
|
||||||
|
private String workCellName;
|
||||||
|
|
||||||
|
@Column(name = "PROCESS_CODE")
|
||||||
|
@ApiParam("工序代码")
|
||||||
|
private String processCode;
|
||||||
|
|
||||||
|
@Column(name = "SERIAL_NUMBER")
|
||||||
|
@ApiParam("过程条码")
|
||||||
|
private String serialNumber;
|
||||||
|
|
||||||
|
@Column(name = "LOCK_REASON")
|
||||||
|
@ApiParam("锁定原因")
|
||||||
|
private String lockReason;
|
||||||
|
|
||||||
|
@Column(name = "EMPLOYEE_NUMBER")
|
||||||
|
@ApiParam("工号")
|
||||||
|
private String employeeNumber;
|
||||||
|
|
||||||
|
@Column(name = "LOCK_STATUS")
|
||||||
|
@ColumnDefault("1")
|
||||||
|
@ApiParam("锁定状态")
|
||||||
|
private Integer lockStatus = 1;
|
||||||
|
}
|
@ -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:
|
||||||
|
* @Author: dominic
|
||||||
|
* @Date: 2020/12/03 20:29
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_PENDING_REPORT_TYPE")
|
||||||
|
@Api("MES_待处理报工类型")
|
||||||
|
public class MesPendingReportType extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -5274274774653791153L;
|
||||||
|
|
||||||
|
@Column(name = "PATTERN_CODE")
|
||||||
|
@ApiParam("模式代码")
|
||||||
|
private String patternCode;
|
||||||
|
|
||||||
|
@Column(name = "PATTERN_NAME")
|
||||||
|
@ApiParam("模式代码名称")
|
||||||
|
private String patternName;
|
||||||
|
|
||||||
|
@Column(name = "REPORT_TYPE")
|
||||||
|
@ApiParam("类型")
|
||||||
|
private Integer reportType;
|
||||||
|
}
|
@ -0,0 +1,33 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.model.report;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 报废率趋势model
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dominic
|
||||||
|
* @CreateDate : 2021/6/17 19:12
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@ApiModel("报废率趋势model")
|
||||||
|
public class ScrapRateTrendReportModel {
|
||||||
|
|
||||||
|
@ApiParam("过程条码")
|
||||||
|
private String serialNumber;
|
||||||
|
|
||||||
|
@ApiParam("修改时间")
|
||||||
|
private String modifyDatetime;
|
||||||
|
|
||||||
|
@ApiParam("操作类型")
|
||||||
|
private Integer operateType;
|
||||||
|
|
||||||
|
@ApiParam("报废原因")
|
||||||
|
private String scrapCode;
|
||||||
|
}
|
@ -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.MesElectrotestingPrintData;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 泰国电检打印数据
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dominic
|
||||||
|
* @CreateDate : 2021/6/16 14:27
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesElectrotestingPrintDataRepository extends BaseRepository<MesElectrotestingPrintData, 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.MesFailureModeApproval;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Reference:
|
||||||
|
* @Author: joke.wang
|
||||||
|
* @CreateDate: 2019\11\13 11:53
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface MesFailureModeApprovalRepository extends BaseRepository<MesFailureModeApproval, Long> {
|
||||||
|
}
|
@ -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.MesFailureModeParts;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: dominic
|
||||||
|
* @Date: 2020/12/03 20:29
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesFailureModePartsRepository extends BaseRepository<MesFailureModeParts, 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.MesLockRecord;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : dominic
|
||||||
|
* @CreateDate : 2021/6/10 19:36
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface MesLockRecordRepository extends BaseRepository<MesLockRecord, Long> {
|
||||||
|
}
|
@ -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.MesPendingReportType;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: dominic
|
||||||
|
* @Date: 2020/12/03 20:29
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesPendingReportTypeRepository extends BaseRepository<MesPendingReportType, Long> {
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.ptl.model;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.DataInputStream;
|
||||||
|
import java.io.DataOutputStream;
|
||||||
|
import java.net.Socket;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2021/6/8 2:12 PM
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class MgnBjAblePickModel {
|
||||||
|
|
||||||
|
private Socket socket = null;
|
||||||
|
|
||||||
|
private String organizeCode;
|
||||||
|
private String areaNo;
|
||||||
|
private String clientInfo;
|
||||||
|
private String ip;
|
||||||
|
private Integer port;
|
||||||
|
private boolean isBackOff;
|
||||||
|
|
||||||
|
private Integer timeout = 3000;
|
||||||
|
private Integer sleepTime = 2000;
|
||||||
|
|
||||||
|
private DataOutputStream bw;
|
||||||
|
private DataInputStream br;
|
||||||
|
}
|
Loading…
Reference in New Issue