Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
f6b06e6b52
@ -0,0 +1,48 @@
|
||||
package cn.estsh.i3plus.pojo.aps.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.common.BaseAPS;
|
||||
import cn.estsh.i3plus.pojo.aps.enums.USE_TYPE;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :动态设置时间与副资源相关的配置
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2019-09-22
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name = "APS_ASSIST_RESOURCE_SET_TIME")
|
||||
@Api("副资源设置时间")
|
||||
public class AssistResourceSetTime extends BaseAPS {
|
||||
@Column(name="RES_CODE")
|
||||
@ApiParam(value ="资源编码")
|
||||
private String resCode;
|
||||
|
||||
@Column(name="TYPE")
|
||||
@ApiParam(value ="副资源使用类型")
|
||||
private USE_TYPE type;
|
||||
|
||||
@Column(name="PREV_RESOURCE")
|
||||
@ApiParam(value ="前资源编码")
|
||||
private String prevResource;
|
||||
|
||||
@Column(name="POST_RESOURCE")
|
||||
@ApiParam(value ="后资源编码")
|
||||
private String postResource;
|
||||
|
||||
@Column(name="TIME")
|
||||
@ApiParam(value ="设置时间")
|
||||
private String time;
|
||||
|
||||
@Column(name="PRIORITY")
|
||||
@ApiParam(value ="优先级")
|
||||
private int priority;
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
package cn.estsh.i3plus.pojo.aps.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.common.BaseAPS;
|
||||
import cn.estsh.i3plus.pojo.aps.enums.DYNAMIC_SET_CALC;
|
||||
import cn.estsh.i3plus.pojo.aps.enums.DYNAMIC_SET_TYPE;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :动态设置时间设置
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2019-09-22
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name = "APS_DYNAMIC_SET_TIME")
|
||||
@Api("动态设置时间")
|
||||
public class DynamicSetTime extends BaseAPS {
|
||||
@Column(name="RES_CODE")
|
||||
@ApiParam(value ="资源代码")
|
||||
private String resCode;
|
||||
|
||||
@Column(name="TYPE")
|
||||
@ApiParam(value ="应用工作计划类型")
|
||||
private DYNAMIC_SET_TYPE type;
|
||||
|
||||
@Column(name="CONSIDER_ASS_RES")
|
||||
@ApiParam(value ="是否启用副资源动态设置时间")
|
||||
private Boolean considerAssRes;
|
||||
|
||||
@Column(name="CONSIDER_MATERIAL")
|
||||
@ApiParam(value ="是否启用物料动态设置时间")
|
||||
private Boolean considerMaterial;
|
||||
|
||||
@Column(name="ASS_RES_CALC")
|
||||
@ApiParam(value ="副资源动态设置计算方式")
|
||||
private DYNAMIC_SET_CALC assResCalc;
|
||||
|
||||
@Column(name="MATERIAL_CALC")
|
||||
@ApiParam(value ="物料动态设置时间计算方式")
|
||||
private DYNAMIC_SET_CALC materialCalc;
|
||||
|
||||
@Column(name="STATIC_CALC")
|
||||
@ApiParam(value ="与静态设置时间计算方式")
|
||||
private DYNAMIC_SET_CALC staticCalc;
|
||||
|
||||
@Column(name="PRIORITY")
|
||||
@ApiParam(value ="优先级")
|
||||
private int priority;
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package cn.estsh.i3plus.pojo.aps.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.common.BaseAPS;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :动态设置时间与物料相关的配置
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2019-09-22
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name = "APS_MATERIAL_SET_TIME")
|
||||
@Api("物料设置时间")
|
||||
public class MaterialSetTime extends BaseAPS {
|
||||
@Column(name="RES_CODE")
|
||||
@ApiParam(value ="资源编码")
|
||||
private String resCode;
|
||||
|
||||
@Column(name="PREV_MATERIAL")
|
||||
@ApiParam(value ="前物料编码")
|
||||
private String prevMaterial;
|
||||
|
||||
@Column(name="POST_MATERIAL")
|
||||
@ApiParam(value ="后物料编码")
|
||||
private String postMaterial;
|
||||
|
||||
@Column(name="TIME")
|
||||
@ApiParam(value ="设置时间")
|
||||
private String time;
|
||||
|
||||
@Column(name="PRIORITY")
|
||||
@ApiParam(value ="优先级")
|
||||
private int priority;
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package cn.estsh.i3plus.pojo.aps.enums;
|
||||
|
||||
public enum DYNAMIC_SET_CALC {
|
||||
MIN, // 取最小值
|
||||
MAX, // 取最大值
|
||||
SUM // 求和
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package cn.estsh.i3plus.pojo.aps.enums;
|
||||
|
||||
public enum DYNAMIC_SET_TYPE {
|
||||
PREV_SET, // 只对前设置影响
|
||||
POST_SET, // 只对后设置影响
|
||||
ALL // 对前后设置都产生影响
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.aps.enums;
|
||||
|
||||
public enum EFFICIENCY_EFFECT {
|
||||
NONE(0),
|
||||
PREV_SET(1),
|
||||
PRODUCE(2),
|
||||
POST_SET(4);
|
||||
|
||||
private int _value;
|
||||
|
||||
EFFICIENCY_EFFECT(int value){
|
||||
_value = value;
|
||||
}
|
||||
|
||||
public int value() {
|
||||
return this._value;
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.aps.enums;
|
||||
|
||||
/**
|
||||
* @Description :工作计划包含的时间类型
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2019-09-17
|
||||
* @Modify:
|
||||
**/
|
||||
public enum PLAN_TYPE {
|
||||
PREV_SET,
|
||||
PRODUCE,
|
||||
POST_SET,
|
||||
LOCK
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package cn.estsh.i3plus.pojo.aps.enums;
|
||||
|
||||
public enum RESOURCE_LOCK_TYPE {
|
||||
NONE, // 不锁定
|
||||
PRODUCE_BEGIN, // 与后工序生产开始时刻有关
|
||||
PRODUCE_END // 与后工序生产结束时刻有关
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
package cn.estsh.i3plus.pojo.aps.holders;
|
||||
|
||||
public enum EFurnacePlan {
|
||||
WorkPlans
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.aps.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.bean.AssistResourceSetTime;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface AssistResourceSetTimeRepository extends CrudRepository<AssistResourceSetTime, Long> {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.aps.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.bean.DynamicSetTime;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface DynamicSetTimeRepository extends CrudRepository<DynamicSetTime, Long> {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.aps.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.bean.FurnacePlan;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface FurnacePlanRepository extends CrudRepository<FurnacePlan, Long> {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.aps.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.bean.MaterialSetTime;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface MaterialSetTimeRepository extends CrudRepository<MaterialSetTime, Long> {
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Class name="FurnacePlan">
|
||||
<Relation field="WorkPlans" name="WorkPlan" reverse="FurnacePlan" type="ONE_TO_MULTI" owner="true">
|
||||
</Relation>
|
||||
</Class>
|
@ -1,9 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Class name="WorkPlan">
|
||||
<Relation field="Work" name="Work" reverse="WorkPlan" type="ONE_TO_ONE" owner="true">
|
||||
</Relation>
|
||||
<Relation field="Resource" name="Resource" type="MULTI_TO_ONE" owner="false">
|
||||
</Relation>
|
||||
<Relation field="AssPlans" name="WorkPlan" type="ONE_TO_MULTI" owner="false">
|
||||
<Relation field="WorkResource" name="WorkResource" type="ONE_TO_ONE" owner="false">
|
||||
</Relation>
|
||||
<Relation field="AssPlans" name="WorkPlan" reverse="MainPlan" type="ONE_TO_MULTI" owner="false">
|
||||
</Relation>
|
||||
<Relation field="PrevPlan" name="WorkPlan" reverse="PostPlan" type="MULTI_TO_MULTI" owner="false">
|
||||
</Relation>
|
||||
</Class>
|
@ -0,0 +1,95 @@
|
||||
package cn.estsh.i3plus.pojo.lac.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 19-10-18 下午6:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="LAC_COMMAND_STACK_RECORD")
|
||||
@Api(value="适配记录",description = "适配记录")
|
||||
public class LacCommandStackRecord extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -2775980024345181459L;
|
||||
|
||||
@Column(name="commandStackId")
|
||||
@ApiParam(value ="指令集ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long commandStackId;
|
||||
|
||||
@Column(name="COMMAND_STACK_NAME_RDD")
|
||||
@ApiParam(value ="指令集名称")
|
||||
private String commandStackNameRdd;
|
||||
|
||||
@Column(name="COMMAND_STACK_CODE_RDD")
|
||||
@ApiParam(value ="指令集代码")
|
||||
private String commandStackCodeRdd;
|
||||
|
||||
@Column(name="COMMAND_STACK_TYPE_ID")
|
||||
@ApiParam(value ="指令集类型")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long commandStackTypeId;
|
||||
|
||||
@Column(name="STEP_INDEX")
|
||||
@ApiParam(value ="当前步骤")
|
||||
private Integer stepIndex;
|
||||
|
||||
@Column(name="STEP_NUM")
|
||||
@ApiParam(value ="步骤总数")
|
||||
private Integer stepNum;
|
||||
|
||||
@Column(name="TASK_COMPLETE_NUM")
|
||||
@ApiParam(value ="任务完成数量")
|
||||
private Integer taskCompleteNum;
|
||||
|
||||
@Column(name="TASK_NUM")
|
||||
@ApiParam(value ="任务总数")
|
||||
private Integer taskNum;
|
||||
|
||||
@Lob
|
||||
@Column(name="INPUT_PARAMETER")
|
||||
@ApiParam(value ="执行入参")
|
||||
private String inputParameter;
|
||||
|
||||
@Column(name="STACK_START_TIME")
|
||||
@ApiParam(value ="执行开始时间")
|
||||
private String stackStartTime;
|
||||
|
||||
@Column(name="STACK_END_TIME")
|
||||
@ApiParam(value ="执行结束时间")
|
||||
private String stackEndTime;
|
||||
|
||||
@Column(name="STACK_SPEND")
|
||||
@ApiParam(value ="执行耗时")
|
||||
private Integer stackSpend;
|
||||
|
||||
@Column(name="STACK_STATUS")
|
||||
@ApiParam(value ="执行状态")
|
||||
private Integer stackStatus;
|
||||
|
||||
@Column(name="EXECUTION_DESCRIPTION")
|
||||
@ApiParam(value ="执行说明")
|
||||
private String executionDescription;
|
||||
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package cn.estsh.i3plus.pojo.lac.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 : wei.peng
|
||||
* @CreateDate : 19-10-22 下午3:29
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="LAC_COMMAND_STACK_TYPE")
|
||||
@Api(value="指令集类型",description = "指令集类型")
|
||||
public class LacCommandStackType extends BaseBean {
|
||||
|
||||
|
||||
@Column(name="TYPE_NAME")
|
||||
@ApiParam(value ="类型名称")
|
||||
private String typeName;
|
||||
|
||||
@Column(name="TYPE_REF_NUM")
|
||||
@ApiParam(value ="适配器使用数量")
|
||||
private Integer typeRefNum;
|
||||
|
||||
@Column(name="TYPE_DESCRIPTION")
|
||||
@ApiParam(value ="类型描述")
|
||||
private String typeDescription;
|
||||
|
||||
}
|
@ -0,0 +1,106 @@
|
||||
package cn.estsh.i3plus.pojo.lac.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 19-10-18 下午6:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="LAC_LOG_TASK")
|
||||
@Api(value="适配任务记录",description = "适配任务记录")
|
||||
public class LacLogTask extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = 674009105885048131L;
|
||||
@Column(name="commandStackId")
|
||||
@ApiParam(value ="指令集ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long commandStackId;
|
||||
|
||||
@Column(name="COMMAND_STACK_NAME_RDD")
|
||||
@ApiParam(value ="指令集名称")
|
||||
private String commandStackNameRdd;
|
||||
|
||||
@Column(name="COMMAND_STACK_CODE_RDD")
|
||||
@ApiParam(value ="指令集代码")
|
||||
private String commandStackCodeRdd;
|
||||
|
||||
@Column(name="COMMAND_STACK_TYPE_ID")
|
||||
@ApiParam(value ="指令集类型")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long commandStackTypeId;
|
||||
|
||||
@Column(name="STEP_ID")
|
||||
@ApiParam(value ="步骤ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long stepId;
|
||||
|
||||
@Column(name="STEP_NAME_RDD")
|
||||
@ApiParam(value ="步骤名称")
|
||||
private String stepNameRdd;
|
||||
|
||||
@Column(name="STEP_SEQUENCE")
|
||||
@ApiParam(value ="步骤顺序")
|
||||
private String stepSequence;
|
||||
|
||||
@Column(name="TASK_ID")
|
||||
@ApiParam(value ="任务ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long taskId;
|
||||
|
||||
@Column(name="TASK_NAME_RDD")
|
||||
@ApiParam(value ="任务名称")
|
||||
private String taskNameRdd;
|
||||
|
||||
@Column(name="TASK_NAME_TYPE")
|
||||
@ApiParam(value ="任务类型")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long taskNameType;
|
||||
|
||||
@Column(name="adapterId")
|
||||
@ApiParam(value ="适配器ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long adapterId;
|
||||
|
||||
@Lob
|
||||
@Column(name="INPUT_PARAMETER")
|
||||
@ApiParam(value ="任务入参")
|
||||
private String inputParameter;
|
||||
|
||||
@Column(name="TASK_START_TIME")
|
||||
@ApiParam(value ="任务开始时间")
|
||||
private String taskStartTime;
|
||||
|
||||
@Column(name="TASK_END_TIME")
|
||||
@ApiParam(value ="任务结束时间")
|
||||
private String taskEndTime;
|
||||
|
||||
@Column(name="TASK_SPEND")
|
||||
@ApiParam(value ="任务耗时")
|
||||
private Integer taskSpend;
|
||||
|
||||
@Column(name="TASK_STATUS")
|
||||
@ApiParam(value ="任务状态")
|
||||
private Integer taskStatus;
|
||||
|
||||
}
|
@ -0,0 +1,94 @@
|
||||
package cn.estsh.i3plus.pojo.lac.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
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.Lob;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 19-10-18 下午6:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="LAC_LOG_TASK_DETAIL")
|
||||
@Api(value="适配任务记录明细",description = "适配任务记录明细")
|
||||
public class LacLogTaskDetail extends BaseBean {
|
||||
|
||||
|
||||
private static final long serialVersionUID = -4918694502072594064L;
|
||||
@Column(name="commandStackId")
|
||||
@ApiParam(value ="指令集ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long commandStackId;
|
||||
|
||||
@Column(name="COMMAND_STACK_TYPE_ID")
|
||||
@ApiParam(value ="指令集类型")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long commandStackTypeId;
|
||||
|
||||
@Column(name="STEP_ID")
|
||||
@ApiParam(value ="步骤ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long stepId;
|
||||
|
||||
@Column(name="TASK_ID")
|
||||
@ApiParam(value ="任务ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long taskId;
|
||||
|
||||
@Column(name="TASK_NAME_TYPE")
|
||||
@ApiParam(value ="任务类型")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long taskNameType;
|
||||
|
||||
@Column(name="adapterId")
|
||||
@ApiParam(value ="适配器ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long adapterId;
|
||||
|
||||
@Column(name="TASK_START_TIME")
|
||||
@ApiParam(value ="任务开始时间")
|
||||
private String taskStartTime;
|
||||
|
||||
@Column(name="TASK_END_TIME")
|
||||
@ApiParam(value ="任务结束时间")
|
||||
private String taskEndTime;
|
||||
|
||||
@Lob
|
||||
@Column(name="INPUT_PARAMETER")
|
||||
@ApiParam(value ="任务入参")
|
||||
private String inputParameter;
|
||||
|
||||
@Lob
|
||||
@Column(name="INPUT_PARAMETER_BODY")
|
||||
@ApiParam(value ="任务入参处理完成后")
|
||||
private String inputParameterBody;
|
||||
|
||||
@Lob
|
||||
@Column(name="OUTPUT_PARAMETER")
|
||||
@ApiParam(value ="任务出参")
|
||||
private String outputParameter;
|
||||
|
||||
@Lob
|
||||
@Column(name="OUTPUT_PARAMETER_BODY")
|
||||
@ApiParam(value ="任务出参处理后")
|
||||
private String outputParameterBody;
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.lac.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 : wei.peng
|
||||
* @CreateDate : 19-10-22 下午3:32
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="LAC_TASK_TYPE")
|
||||
@Api(value="任务类型",description = "任务类型")
|
||||
public class LacTaskType extends BaseBean {
|
||||
|
||||
@Column(name="TYPE_NAME")
|
||||
@ApiParam(value ="类型名称")
|
||||
private String typeName;
|
||||
|
||||
@Column(name="TYPE_REF_NUM")
|
||||
@ApiParam(value ="适配器使用数量")
|
||||
private Integer typeRefNum;
|
||||
|
||||
@Column(name="TYPE_DESCRIPTION")
|
||||
@ApiParam(value ="类型描述")
|
||||
private String typeDescription;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.lac.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.lac.bean.LacCommandStackRecord;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 19-10-22 下午5:19
|
||||
* @Modify:
|
||||
**/
|
||||
public interface LacCommandStackRecordRepository extends BaseRepository<LacCommandStackRecord, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.lac.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.lac.bean.LacCommandStackType;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 19-10-22 下午5:19
|
||||
* @Modify:
|
||||
|
||||
**/
|
||||
public interface LacCommandStackTypeRepository extends BaseRepository<LacCommandStackType, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.lac.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.lac.bean.LacLogTaskDetail;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 19-10-22 下午5:19
|
||||
* @Modify:
|
||||
|
||||
**/
|
||||
public interface LacLogTaskDetailRepository extends BaseRepository<LacLogTaskDetail, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.lac.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.lac.bean.LacLogTask;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 19-10-22 下午5:19
|
||||
* @Modify:
|
||||
|
||||
**/
|
||||
public interface LacLogTaskRepository extends BaseRepository<LacLogTask, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.lac.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.lac.bean.LacTaskType;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 19-10-22 下午5:19
|
||||
* @Modify:
|
||||
|
||||
**/
|
||||
public interface LacTaskTypeRepository extends BaseRepository<LacTaskType, Long> {
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package cn.estsh.i3plus.pojo.lac.sqlpack;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.DdlPackBean;
|
||||
import cn.estsh.i3plus.pojo.lac.bean.*;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 19-10-22 下午5:34
|
||||
* @Modify:
|
||||
**/
|
||||
public class LacHqlPack {
|
||||
|
||||
private LacHqlPack() {
|
||||
}
|
||||
|
||||
public static DdlPackBean packHqlLacTaskType(LacTaskType bean){
|
||||
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean();
|
||||
|
||||
return ddlPackBean;
|
||||
}
|
||||
|
||||
public static DdlPackBean packHqlLacLogTaskDetail(LacLogTaskDetail bean){
|
||||
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean();
|
||||
|
||||
return ddlPackBean;
|
||||
}
|
||||
|
||||
public static DdlPackBean packHqlLacLogTask(LacLogTask bean){
|
||||
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean();
|
||||
|
||||
return ddlPackBean;
|
||||
}
|
||||
|
||||
public static DdlPackBean packHqlLacCommandStackType(LacCommandStackType bean){
|
||||
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean();
|
||||
|
||||
return ddlPackBean;
|
||||
}
|
||||
|
||||
public static DdlPackBean packHqlLacCommandStackRecord(LacCommandStackRecord bean){
|
||||
DdlPackBean ddlPackBean = DdlPackBean.getDdlPackBean();
|
||||
|
||||
return ddlPackBean;
|
||||
}
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
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\16 14:25
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_DEFECT")
|
||||
@Api("缺陷表")
|
||||
public class MesDefect extends BaseBean {
|
||||
|
||||
@Column(name = "DEFECT_CODE")
|
||||
@ApiParam("缺陷代码")
|
||||
private String defectCode;
|
||||
|
||||
@Column(name = "DEFECT_NAME")
|
||||
@ApiParam("缺陷名称")
|
||||
private String defectName;
|
||||
|
||||
@Column(name = "DEFECT_TYPE")
|
||||
@ApiParam("缺陷类型")
|
||||
private String defectType;
|
||||
|
||||
@Transient
|
||||
@ApiParam("缺陷位置")
|
||||
private String defectLocation;
|
||||
|
||||
@Transient
|
||||
@ApiParam("缺陷类型子集")
|
||||
private List<MesDefect> mesDefectList;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\16 14:28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_DEFECT_CAUSE")
|
||||
@Api("缺陷原因表")
|
||||
public class MesDefectCause extends BaseBean {
|
||||
|
||||
@Column(name = "DC_CODE")
|
||||
@ApiParam("缺陷原因代码")
|
||||
private String dcCode;
|
||||
|
||||
@Column(name = "DC_NAME")
|
||||
@ApiParam("缺陷原因名称")
|
||||
private String dcName;
|
||||
|
||||
@Column(name = "DC_TYPE")
|
||||
@ApiParam("缺陷原因类型")
|
||||
private String dcType;
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
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\16 19:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_DEFECT_RECORD")
|
||||
@Api("不良信息记录表")
|
||||
public class MesDefectRecord extends BaseBean {
|
||||
@Column(name="SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name="DEFECT_CODE")
|
||||
@ApiParam("缺陷代码")
|
||||
private String defectCode;
|
||||
|
||||
@Column(name="DEFECT_NAME")
|
||||
@ApiParam("缺陷名称")
|
||||
private String defectName;
|
||||
|
||||
@Column(name="DEFECT_LOCATION")
|
||||
@ApiParam("缺陷位置")
|
||||
private String defectLocation;
|
||||
|
||||
@Column(name="REPAIR_STATUS")
|
||||
@ApiParam("维修状态")
|
||||
private Integer repairStatus;
|
||||
|
||||
@Column(name="WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name="WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name="MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
|
||||
@Transient
|
||||
private List<MesDefect> mesDefectList;
|
||||
}
|
@ -0,0 +1,86 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\16 15:03
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_DISMANTLE_RECORD")
|
||||
@Api("物料拆解记录表")
|
||||
public class MesDismantleRecord extends BaseBean {
|
||||
|
||||
@Column(name = "DISMANTLE_ID")
|
||||
@ApiParam("拆解编号")
|
||||
private String dismantleId;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "PARENT_PART_NO")
|
||||
@ApiParam("产品物料编码")
|
||||
private String parentPartNo;
|
||||
|
||||
@Column(name = "PARENT_PART_NAME")
|
||||
@ApiParam("产品物料名称")
|
||||
private String parentPartName;
|
||||
|
||||
@Column(name = "SN")
|
||||
@ApiParam("产品条码")
|
||||
private String sn;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("产品数量")
|
||||
private Integer qty;
|
||||
|
||||
@Column(name = "DISMANTLE_QTY")
|
||||
@ApiParam("拆解数")
|
||||
private Integer dismantleQty;
|
||||
|
||||
@Column(name = "ITEM_PART_NO")
|
||||
@ApiParam("子物料编码")
|
||||
private String itemPartNo;
|
||||
|
||||
@Column(name = "ITEM_PART_NAME")
|
||||
@ApiParam("子物料名称")
|
||||
private String itemPartName;
|
||||
|
||||
@Column(name = "OK_QTY")
|
||||
@ApiParam("合格数")
|
||||
private Integer okQty;
|
||||
|
||||
@Column(name = "MISS_QTY")
|
||||
@ApiParam("缺失数")
|
||||
private Integer missQty;
|
||||
|
||||
@Column(name = "SCRAP_QTY")
|
||||
@ApiParam("报废数")
|
||||
private Integer scrapQty;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
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.ColumnDefault;
|
||||
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 : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PACK_SPEC")
|
||||
@Api("包装规格")
|
||||
public class MesPackSpec extends BaseBean {
|
||||
@Column(name = "SPEC_CODE")
|
||||
@ApiParam("包装规格代码")
|
||||
private String specCode;
|
||||
|
||||
@Column(name = "SPEC_NAME")
|
||||
@ApiParam("包装规格名称")
|
||||
private String specName;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "包装数量", example = "0")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "QTY2")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "包装数量2", example = "0")
|
||||
private Double qty2;
|
||||
|
||||
@Column(name = "QTY3")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "包装数量3", example = "0")
|
||||
private Double qty3;
|
||||
|
||||
@Column(name = "QTY4")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "包装数量4", example = "0")
|
||||
private Double qty4;
|
||||
|
||||
@Column(name = "IS_MIXED")
|
||||
@ApiParam("是否混包")
|
||||
private Integer isMixed;
|
||||
|
||||
@Column(name = "IS_MIXED2")
|
||||
@ApiParam("是否混包2")
|
||||
private Integer isMixed2;
|
||||
|
||||
@Column(name = "IS_MIXED3")
|
||||
@ApiParam("是否混包3")
|
||||
private Integer isMixed3;
|
||||
|
||||
@Column(name = "IS_MIXED4")
|
||||
@ApiParam("是否混包4")
|
||||
private Integer isMixed4;
|
||||
|
||||
|
||||
public double getQtyVal() {
|
||||
return this.qty == null ? 0.0d : this.qty;
|
||||
}
|
||||
|
||||
public int getIsMixedVal() {
|
||||
return this.isMixed == null ? 0 : this.isMixed;
|
||||
}
|
||||
|
||||
public int getIsMixed2Val() {
|
||||
return this.isMixed2 == null ? 0 : this.isMixed2;
|
||||
}
|
||||
|
||||
public int getIsMixed3Val() {
|
||||
return this.isMixed3 == null ? 0 : this.isMixed3;
|
||||
}
|
||||
|
||||
public int getIsMixed4Val() {
|
||||
return this.isMixed4 == null ? 0 : this.isMixed4;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
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/18 2:55 下午
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PACKAGE")
|
||||
@Api("包装规格")
|
||||
public class MesPackageDetail extends BaseBean {
|
||||
|
||||
@Column(name = "PACKAGE_NO")
|
||||
@ApiParam("包装编码")
|
||||
private String packageNo;
|
||||
|
||||
@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 = "PACKAGE_NO2")
|
||||
@ApiParam("包装编码2")
|
||||
private String packageNo2;
|
||||
|
||||
@Column(name = "PACKAGE_NO3")
|
||||
@ApiParam("包装编码3")
|
||||
private String packageNo3;
|
||||
|
||||
@Column(name = "PACKAGE_NO4")
|
||||
@ApiParam("包装编码4")
|
||||
private String packageNo4;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
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/18 3:23 下午
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PACKAGE_TRAVEL")
|
||||
@Api("包装履历表")
|
||||
public class MesPackageTravel extends BaseBean {
|
||||
|
||||
@Column(name = "PACKAGE_NO")
|
||||
@ApiParam("包装编码")
|
||||
private String packageNo;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "OP_TYPE")
|
||||
@ApiParam("操作类型")
|
||||
private Integer opType;
|
||||
|
||||
@Column(name = "PACKAGE_NO2")
|
||||
@ApiParam("包装编码2")
|
||||
private String packageNo2;
|
||||
|
||||
@Column(name = "PACKAGE_NO3")
|
||||
@ApiParam("包装编码3")
|
||||
private String packageNo3;
|
||||
|
||||
@Column(name = "PACKAGE_NO4")
|
||||
@ApiParam("包装编码4")
|
||||
private String packageNo4;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
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/18 3:25 下午
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_PACK")
|
||||
@Api("产品包装关系")
|
||||
public class MesProdPack extends BaseBean {
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "CUSTOMER_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String customerCode;
|
||||
|
||||
@Column(name = "PACK_SPEC")
|
||||
@ApiParam("包装规格")
|
||||
private String packSpec;
|
||||
|
||||
@Column(name = "PROD_LABEL_TEMPLATE")
|
||||
@ApiParam("产品标签模板")
|
||||
private String prodLabelTemplate;
|
||||
|
||||
@Column(name = "PACK_LABEL_TEMPLATE2")
|
||||
@ApiParam("包装标签模板2")
|
||||
private String packLabelTemplate2;
|
||||
|
||||
@Column(name = "PACK_LABEL_TEMPLATE3")
|
||||
@ApiParam("包装标签模板3")
|
||||
private String packLabelTemplate3;
|
||||
|
||||
@Column(name = "PACK_LABEL_TEMPLATE4")
|
||||
@ApiParam("包装标签模板4")
|
||||
private String packLabelTemplate4;
|
||||
|
||||
@Column(name = "PROD_CFG_TYPE")
|
||||
@ApiParam("项目")
|
||||
private String prodCfgType;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\16 14:17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PRODUCE_CTGY_PICTURE")
|
||||
@Api("产品类型图片表")
|
||||
public class MesProduceCtgyPicture extends BaseBean {
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品类型代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
@Column(name = "SIDE_LOCATION")
|
||||
@ApiParam("面位")
|
||||
private String sideLocation;
|
||||
|
||||
@Column(name = "PICTURE_URL")
|
||||
@ApiParam("图片URL")
|
||||
private String pictureUrl;
|
||||
|
||||
@Column(name = "PICTURE_NAME")
|
||||
@ApiParam("图片名称")
|
||||
private String pictureName;
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
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\16 14:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_REPAIR_RECORD")
|
||||
@Api("维修信息记录表")
|
||||
public class MesRepairRecord extends BaseBean {
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("产品物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "DEFECT_CODE")
|
||||
@ApiParam("缺陷代码")
|
||||
private String defectCode;
|
||||
|
||||
@Column(name = "DEFECT_NAME")
|
||||
@ApiParam("缺陷名称")
|
||||
private String defectName;
|
||||
|
||||
@Column(name = "SIDE_LOCATION")
|
||||
@ApiParam("产品面位")
|
||||
private String sideLocation;
|
||||
|
||||
@Column(name = "DEFECT_LOCATION")
|
||||
@ApiParam("缺陷位置")
|
||||
private String defectLocation;
|
||||
|
||||
@Column(name = "REPAIR_CODE")
|
||||
@ApiParam("维修代码")
|
||||
private String repairCode;
|
||||
|
||||
@Column(name = "REPAIR_NAME")
|
||||
@ApiParam("维修名称")
|
||||
private String repairName;
|
||||
|
||||
@Column(name = "DC_CODE")
|
||||
@ApiParam("缺陷原因代码")
|
||||
private String dcCode;
|
||||
|
||||
@Column(name = "DC_NAME")
|
||||
@ApiParam("缺陷原因描述")
|
||||
private String dcName;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("生产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
|
||||
@Transient
|
||||
@ApiParam("备注")
|
||||
private String spareMemo;
|
||||
|
||||
@Transient
|
||||
@ApiParam("不良记录id")
|
||||
private Long defectRecordId;
|
||||
|
||||
@Transient
|
||||
@ApiParam("缺陷集合")
|
||||
private List<MesDefect> mesDefectList;
|
||||
}
|
@ -0,0 +1,70 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\10\16 14:42
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SCRAP_RECORD")
|
||||
@Api("报废信息记录表")
|
||||
public class MesScrapRecord extends BaseBean {
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("产品条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("产品物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "DEFECT_CODE")
|
||||
@ApiParam("缺陷代码")
|
||||
private String defectCode;
|
||||
|
||||
@Column(name = "SCRAP_CODE")
|
||||
@ApiParam("报废代码")
|
||||
private String scrapCode;
|
||||
|
||||
@Column(name = "SCRAP_NAME")
|
||||
@ApiParam("报废名称")
|
||||
private String scrapName;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("生产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "SCRAP_REASON")
|
||||
@ApiParam("报废原因")
|
||||
private String scrapReason;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue