Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
a68475d3d0
@ -0,0 +1,56 @@
|
||||
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 org.springframework.data.annotation.Transient;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ACTION_MODULE")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("作业组件")
|
||||
public class AndonActionModule extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8909733530761576575L;
|
||||
|
||||
@Column(name = "AM_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String amCode;
|
||||
|
||||
@Column(name = "AM_NAME")
|
||||
@ApiParam("组件名称")
|
||||
private String amName;
|
||||
|
||||
@Column(name = "AM_DESC")
|
||||
@ApiParam("组件描述")
|
||||
private String amDesc;
|
||||
|
||||
@Column(name = "CALL_CLASS")
|
||||
@ApiParam("实现类")
|
||||
private String callClass;
|
||||
|
||||
@Column(name = "AM_TYPE")
|
||||
@ApiParam("组件类型")
|
||||
private Integer amType;
|
||||
|
||||
@Transient
|
||||
@ApiParam("执行顺序")
|
||||
private Integer seq;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ACTION_MODULE_GROUP")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("组件集")
|
||||
public class AndonActionModuleGroup extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8905502301880084578L;
|
||||
|
||||
@Column(name = "AMG_ID")
|
||||
@ApiParam("组件集编号")
|
||||
private Long amgId;
|
||||
|
||||
@Column(name = "AM_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String amCode;
|
||||
|
||||
@Column(name = "SEQ")
|
||||
@ApiParam("执行顺序")
|
||||
private Integer seq;
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ACTION_MODULE_PARAM")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("组件参数")
|
||||
public class AndonActionModuleParam extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -8216680446587969610L;
|
||||
|
||||
@Column(name = "AM_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String amCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_NAME")
|
||||
@ApiParam("参数名称")
|
||||
private String paramName;
|
||||
|
||||
@Column(name = "PARAM_TYPE")
|
||||
@ApiParam("参数类型")
|
||||
private String paramType;
|
||||
|
||||
@Column(name = "DEFAULT_VALUE")
|
||||
@ApiParam("默认值")
|
||||
private String defaultValue;
|
||||
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Lob;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/05/08 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ACTION_ROUTE")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("作业流程")
|
||||
public class AndonActionRoute extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 917593748015715793L;
|
||||
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "ROUTE_NAME")
|
||||
@ApiParam("流程名称")
|
||||
private String routeName;
|
||||
|
||||
@Column(name = "ROUTE_TYPE")
|
||||
@ApiParam("流程类型")
|
||||
private Integer routeType;
|
||||
|
||||
@Lob
|
||||
@Column(name = "POSITION")
|
||||
@ApiParam("GOJS位置")
|
||||
private String position;
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ACTOR")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ACTOR信息")
|
||||
public class AndonActor extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1472090790204808649L;
|
||||
|
||||
@Column(name = "ACTOR_CODE")
|
||||
@ApiParam("actor代码")
|
||||
private String actorCode;
|
||||
|
||||
@Column(name = "ACTOR_NAME")
|
||||
@ApiParam("actor名称")
|
||||
private String actorName;
|
||||
|
||||
@Column(name = "ACTOR_Class")
|
||||
@ApiParam("actor类名")
|
||||
private String actorClass;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ACTOR_RULE")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("ACTOR消息类型配置")
|
||||
public class AndonActorRule extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3244584643305867326L;
|
||||
|
||||
@Column(name = "ACTOR_CODE")
|
||||
@ApiParam("actor代码")
|
||||
private String actorCode;
|
||||
|
||||
@Column(name = "MT_CODE")
|
||||
@ApiParam("消息类型代码")
|
||||
private String mtCode;
|
||||
|
||||
@Column(name = "SPECIFIC_RULE")
|
||||
@ApiParam("特定条件")
|
||||
private String specificRule;
|
||||
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ALARM_ROUTE")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯作业流程配置")
|
||||
public class AndonAlarmRoute extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -7425423934619147746L;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam("安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "ROUTE_TYPE")
|
||||
@ApiParam("流程类型")
|
||||
private Integer routeType;
|
||||
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ALARM_ROUTE_MODULE_PARAM")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯作业流程组件参数")
|
||||
public class AndonAlarmRouteModuleParam extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6659953988053255710L;
|
||||
|
||||
@Column(name = "ALARM_ROUTE_ID")
|
||||
@ApiParam("安灯流程ID")
|
||||
private Long alarmRouteId;
|
||||
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "AMG_ID")
|
||||
@ApiParam("组件集编号")
|
||||
private Long amgId;
|
||||
|
||||
@Column(name = "AM_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String amCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("参数值")
|
||||
private String paramValue;
|
||||
|
||||
@Column(name = "STATUS_CODE")
|
||||
@ApiParam("状态代码")
|
||||
private String statusCode;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ALARM_TYPE")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("安灯类型")
|
||||
public class AndonAlarmType extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -3286588436625932653L;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam("安灯类型代码")
|
||||
private String alarmCode;
|
||||
|
||||
@Column(name = "ALARM_NAME")
|
||||
@ApiParam("安灯类型名称")
|
||||
private String alarmName;
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.andon.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_MESSAGE_TYPE")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("消息类型")
|
||||
public class AndonMessageType extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 6140381522677959027L;
|
||||
|
||||
@Column(name = "MT_CODE")
|
||||
@ApiParam("消息类型代码")
|
||||
private String mtCode;
|
||||
|
||||
@Column(name = "MT_NAME")
|
||||
@ApiParam("消息类型名称")
|
||||
private String mtName;
|
||||
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ROUTE_MODULE_PARAM")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("流程组件参数")
|
||||
public class AndonRouteModuleParam extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -282175947799144290L;
|
||||
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "AMG_ID")
|
||||
@ApiParam("组件集编号")
|
||||
private Long amgId;
|
||||
|
||||
@Column(name = "AM_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String amCode;
|
||||
|
||||
@Column(name = "PARAM_CODE")
|
||||
@ApiParam("参数代码")
|
||||
private String paramCode;
|
||||
|
||||
@Column(name = "PARAM_VALUE")
|
||||
@ApiParam("参数值")
|
||||
private String paramValue;
|
||||
|
||||
@Column(name = "STATUS_CODE")
|
||||
@ApiParam("状态代码")
|
||||
private String statusCode;
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
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;
|
||||
import javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "ANDON_ROUTE_STATUS_ERROR_RECORD")
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api("流程状态异常记录")
|
||||
public class AndonRouteStatusErrorRecord extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4046192879130584866L;
|
||||
|
||||
@Column(name = "ROUTE_CODE")
|
||||
@ApiParam("流程代码")
|
||||
private String routeCode;
|
||||
|
||||
@Column(name = "STATUS_CODE")
|
||||
@ApiParam("状态代码")
|
||||
private String statusCode;
|
||||
|
||||
@Column(name = "ANDON_ORDER_NO")
|
||||
@ApiParam(value = "安灯队列编号")
|
||||
public String andonOrderNo;
|
||||
|
||||
@Column(name = "ERROR_DESC")
|
||||
@ApiParam(value = "失败描述")
|
||||
public String errorDesc;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam(value = "工作中心")
|
||||
public String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam(value = "工作中心")
|
||||
public String workCellCode;
|
||||
|
||||
@Column(name = "ALARM_CODE")
|
||||
@ApiParam(value = "安灯类型")
|
||||
public String alarmCode;
|
||||
|
||||
@Column(name = "SOURCE_TYPE")
|
||||
@ApiParam(value = "安灯来源类型")
|
||||
private String sourceType;
|
||||
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 18:18
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@ApiModel("作业组件model")
|
||||
public class ActionModuleModel {
|
||||
|
||||
@ApiModelProperty("组件代码")
|
||||
private String amCode;
|
||||
|
||||
@ApiModelProperty("调用类")
|
||||
private String callClass;
|
||||
|
||||
@ApiModelProperty("是否完成")
|
||||
private Boolean isComplete;
|
||||
|
||||
@ApiModelProperty("执行顺序")
|
||||
private Integer seq;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonActionModuleParam;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-13 11:07
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonActionModuleParamRepository extends BaseRepository<AndonActionModuleParam, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonActionModule;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-13 11:07
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonActionModuleRepository extends BaseRepository<AndonActionModule, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonActor;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : actor
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-13 11:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonActorRepository extends BaseRepository<AndonActor, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonActorRule;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : actor rule
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-13 11:13
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonActorRuleRepository extends BaseRepository<AndonActorRule, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonAlarmRouteModuleParam;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-13 11:07
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonAlarmRouteModuleParamRepository extends BaseRepository<AndonAlarmRouteModuleParam, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonAlarmType;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-05-30 11:05
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonAlarmTypeRepository extends BaseRepository<AndonAlarmType, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonMessageType;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: wangjie
|
||||
* @CreateDate:2019-11-12-14:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonMessageTypeRepository extends BaseRepository<AndonMessageType, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonRouteStatusErrorRecord;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonRouteStatusErrorRecordRepository extends BaseRepository<AndonRouteStatusErrorRecord, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonRouteStatus;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wangjie
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonRouteStatusRepository extends BaseRepository<AndonRouteStatus, Long> {
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:车型等级
|
||||
* @Reference:
|
||||
* @Author: adair.song
|
||||
* @CreateDate: 2020\05\14 10:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_MODEL_GRADE")
|
||||
@Api("MES_车型等级")
|
||||
public class MesModelGrade extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5412635747427364076L;
|
||||
|
||||
@Column(name = "GRADE_CODE")
|
||||
@ApiParam("等级代码")
|
||||
private String gradeCode;
|
||||
|
||||
@Column(name = "GRADE_NAME")
|
||||
@ApiParam("等级名称")
|
||||
private String gradeName;
|
||||
|
||||
@Column(name = "PROD_CFG_TYPE_CODE")
|
||||
@ApiParam("项目代码")
|
||||
private String prodCfgTypeCode;
|
||||
|
||||
@Column(name = "GRADE_FLAG_VALUE")
|
||||
@ApiParam("等级标识值")
|
||||
private String gradeFlagValue;
|
||||
}
|
@ -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:产品颜色
|
||||
* @Reference:
|
||||
* @Author: adair.song
|
||||
* @CreateDate: 2020\05\14 10:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PART_COLOR")
|
||||
@Api("MES_产品颜色")
|
||||
public class MesPartColor extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5412632727837364076L;
|
||||
|
||||
@Column(name = "COLOR_TYPE")
|
||||
@ApiParam("类型")
|
||||
private Integer colorType;
|
||||
|
||||
@Column(name = "COLOR_CODE")
|
||||
@ApiParam("颜色代码")
|
||||
private String colorCode;
|
||||
|
||||
@Column(name = "COLOR_NAME")
|
||||
@ApiParam("颜色名称")
|
||||
private String colorName;
|
||||
|
||||
@Column(name = "IF_COLOR_CODE")
|
||||
@ApiParam("接口颜色代码")
|
||||
private String ifColorCode;
|
||||
|
||||
@Column(name = "PROD_CFG_TYPE_CODE")
|
||||
@ApiParam("项目代码")
|
||||
private String prodCfgTypeCode;
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品位置代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
@Column(name = "MODEL_YEAR")
|
||||
@ApiParam("年度型")
|
||||
private String modelYear;
|
||||
}
|
@ -0,0 +1,84 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:产品车型配置
|
||||
* @Reference:
|
||||
* @Author: adair.song
|
||||
* @CreateDate: 2020\05\14 15:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_MODEL_CFG")
|
||||
@Api("MES_产品车型配置")
|
||||
public class MesProdModelCfg extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5227132727837364076L;
|
||||
|
||||
@Column(name = "PROD_CFG_TYPE_CODE")
|
||||
@ApiParam("项目代码")
|
||||
private String prodCfgTypeCode;
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品位置代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
@Column(name = "MODEL_YEAR")
|
||||
@ApiParam("年度型")
|
||||
private String modelYear;
|
||||
|
||||
@Column(name = "CUST_PLANT_CODE")
|
||||
@ApiParam("客户工厂代码")
|
||||
private String custPlantCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("总成零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "CUSTOMER_PART_NO")
|
||||
@ApiParam("客户零件号")
|
||||
private String customerPartNo;
|
||||
|
||||
@Column(name = "GRADE_CODE")
|
||||
@ApiParam("等级代码")
|
||||
private String gradeCode;
|
||||
|
||||
@Column(name = "MODEL_FLAG_VALUE")
|
||||
@ApiParam("车型标志值")
|
||||
private String modelFlagValue;
|
||||
|
||||
@Column(name = "MODEL_CFG_FLAG_VALUE")
|
||||
@ApiParam("车型配置标志值")
|
||||
private String modelCfgFlagValue;
|
||||
|
||||
@Column(name = "QC_FLAG_VALUE")
|
||||
@ApiParam("质量标志值")
|
||||
private String qcFlagValue;
|
||||
|
||||
@Column(name = "LABEL_DESC")
|
||||
@ApiParam("条码标签描述")
|
||||
private String labelDesc;
|
||||
|
||||
@Column(name = "CCC_CODE")
|
||||
@ApiParam("3C认证编码")
|
||||
private String cccCode;
|
||||
|
||||
@Column(name = "PROCESS_LABEL_TEMPLATE")
|
||||
@ApiParam("过程标签模板")
|
||||
private String processLabelTemplate;
|
||||
}
|
@ -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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: jessica.chen
|
||||
* @CreateDate: 2019\11\15 10:01
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QC_ORDER_ACCESSORY")
|
||||
@Api("MES_检验单附件")
|
||||
public class MesQcOrderAccessory extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2648132773643541110L;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("质检单号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name = "ACCESSORY_NAME")
|
||||
@ApiParam("附件名称")
|
||||
private String accessoryName;
|
||||
|
||||
@Column(name = "ACCESSORY_URL")
|
||||
@ApiParam("附件路径")
|
||||
private String accessoryUrl;
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
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:车型散件配置清单
|
||||
* @Reference:
|
||||
* @Author: adair.song
|
||||
* @CreateDate: 2020\05\14 10:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SCATTER_PART_CFG_BOM")
|
||||
@Api("MES_车型散件配置清单")
|
||||
public class MesScatterPartCfgBom extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5412635772834364076L;
|
||||
|
||||
@Column(name = "PROD_CFG_TYPE_CODE")
|
||||
@ApiParam("项目代码")
|
||||
private String prodCfgTypeCode;
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品位置代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
@Column(name = "MODEL_YEAR")
|
||||
@ApiParam("年度型")
|
||||
private String modelYear;
|
||||
|
||||
@Column(name = "CUST_PLANT_CODE")
|
||||
@ApiParam("客户工厂代码")
|
||||
private String custPlantCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "CUST_PART_NO")
|
||||
@ApiParam("客户零件号")
|
||||
private String custPartNo;
|
||||
|
||||
@Column(name = "PART_FLAG_LOCATION")
|
||||
@ApiParam("零件标志位")
|
||||
private Integer partFlagLocation;
|
||||
|
||||
@Column(name = "PART_FLAG_VALUE")
|
||||
@ApiParam("零件标志值")
|
||||
private String partFlagValue;
|
||||
|
||||
@Column(name = "QTY", columnDefinition = "decimal(18,3)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "用量", example = "0")
|
||||
public Double qty;
|
||||
|
||||
@Column(name = "OPTION_TYPE")
|
||||
@ApiParam("选配类型")
|
||||
private Integer optionType;
|
||||
}
|
@ -0,0 +1,149 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:散件零件生产配置
|
||||
* @Reference:
|
||||
* @Author: adair.song
|
||||
* @CreateDate: 2020\05\14 10:34
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_SCATTER_PART_PROD_CFG")
|
||||
@Api("MES_散件零件生产配置")
|
||||
public class MesScatterPartProdCfg extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -5412632727837782394L;
|
||||
|
||||
@Column(name = "CFG_ID")
|
||||
@ApiParam("配置编号")
|
||||
private String cfgId;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "MODEL_FLAG_VALUE")
|
||||
@ApiParam("车型标志值")
|
||||
private String modelFalgValue;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "GRADE_CODE")
|
||||
@ApiParam("等级代码")
|
||||
private String gradeCode;
|
||||
|
||||
@Column(name = "COLOR_CODE")
|
||||
@ApiParam("颜色代码")
|
||||
private String colorCode;
|
||||
|
||||
@Column(name = "PART_FLAG_LOCATION")
|
||||
@ApiParam("标志位")
|
||||
private Integer partFlagLocation;
|
||||
|
||||
@Column(name = "PART_FLAG_VALUE")
|
||||
@ApiParam("标志值")
|
||||
private String partFlagValue;
|
||||
|
||||
@Column(name = "POKE_YOKE_FIX")
|
||||
@ApiParam("防错码")
|
||||
private String pokeYokeFix;
|
||||
|
||||
@Column(name = "POKE_YOKE_FROM")
|
||||
@ApiParam("防错码开始位")
|
||||
private Integer pokeYokeFrom;
|
||||
|
||||
@Column(name = "POKE_YOKE_END")
|
||||
@ApiParam("防错码结束位")
|
||||
private Integer pokeYokeEnd;
|
||||
|
||||
@Column(name = "POKE_YOKE_LENGTH")
|
||||
@ApiParam("防错码长度")
|
||||
private Integer pokeYokeLength;
|
||||
|
||||
@Column(name = "PEST1")
|
||||
@ApiParam("PEST编码1")
|
||||
private Integer pest1;
|
||||
|
||||
@Column(name = "PEST2")
|
||||
@ApiParam("PEST编码2")
|
||||
private Integer pest2;
|
||||
|
||||
@Column(name = "PEST3")
|
||||
@ApiParam("PEST编码3")
|
||||
private Integer pest3;
|
||||
|
||||
@Column(name = "PEST4")
|
||||
@ApiParam("PEST编码4")
|
||||
private Integer pest4;
|
||||
|
||||
@Column(name = "PEST5")
|
||||
@ApiParam("PEST编码5")
|
||||
private Integer pest5;
|
||||
|
||||
@Column(name = "PEST6")
|
||||
@ApiParam("PEST编码6")
|
||||
private Integer pest6;
|
||||
|
||||
@Column(name = "PEST7")
|
||||
@ApiParam("PEST编码7")
|
||||
private Integer pest7;
|
||||
|
||||
@Column(name = "PEST8")
|
||||
@ApiParam("PEST编码8")
|
||||
private Integer pest8;
|
||||
|
||||
@Column(name = "TORQUE_NO")
|
||||
@ApiParam("扭矩枪编号")
|
||||
private String torqueNo;
|
||||
|
||||
@Column(name = "IS_PF")
|
||||
@ApiParam("是否大枪")
|
||||
private Integer isPf;
|
||||
|
||||
@Column(name = "POKE_TYKE_SEQ")
|
||||
@ApiParam("防错顺序")
|
||||
private Integer pokeTypeSeq;
|
||||
|
||||
@Column(name = "EFF_START_TIME")
|
||||
@ApiParam("有效起始日期")
|
||||
private String effStartTime;
|
||||
|
||||
@Column(name = "EFF_END_TIME")
|
||||
@ApiParam("有效截至日期")
|
||||
private String effEndTime;
|
||||
|
||||
@Column(name = "PROD_CFG_TYPE_CODE")
|
||||
@ApiParam("项目代码")
|
||||
private String prodCfgTypeCode;
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品位置代码")
|
||||
private String produceCtgyCode;
|
||||
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @description 数据库实例字段模型
|
||||
* @author adair.song --复用--> siliter.yuan
|
||||
* @CreateDate : 2020-05-18 16:49
|
||||
*/
|
||||
@Data
|
||||
@Api("数据库实例字段模型")
|
||||
public class BasBeanFieldModel {
|
||||
|
||||
@ApiParam("表名")
|
||||
private String tableName;
|
||||
|
||||
@ApiParam("表描述")
|
||||
private String tableDesc;
|
||||
|
||||
@ApiParam("字段英文名称")
|
||||
private String fieldEnName;
|
||||
|
||||
@ApiParam("字段类型")
|
||||
public String fieldType;
|
||||
|
||||
@ApiParam("字段描述")
|
||||
private String fieldDesc;
|
||||
|
||||
@ApiParam("实例类名")
|
||||
public String entityName;
|
||||
|
||||
@ApiParam("实例字段名称")
|
||||
public String propertyName;
|
||||
|
||||
@ApiParam("实例类全名")
|
||||
public String entityClassName;
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/5/18 5:10 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
public class PartStockScheduleModel {
|
||||
|
||||
private String partNo;
|
||||
|
||||
private Integer boxQty;
|
||||
|
||||
private Double qty;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.template.BasImportTemplateDetails;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 导入模板明细数据操作仓库
|
||||
* @Reference :
|
||||
* @Author : adair.song --复用--> siliter.yuan
|
||||
* @CreateDate : 2020-05-18 16:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BasImportTemplateDetailsRepository extends BaseRepository<BasImportTemplateDetails, Long> {
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.template.BasImportTemplate;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 导入模板数据操作仓库
|
||||
* @Reference :
|
||||
* @Author : adair.song --复用--> siliter.yuan
|
||||
* @CreateDate : 2020-05-18 16:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BasImportTemplateRepository extends BaseRepository<BasImportTemplate, 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.MesModelGrade;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : adair.song
|
||||
* @CreateDate : 2020-05-15
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesModelGradeRepository extends BaseRepository<MesModelGrade, 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.MesPartColor;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : adair.song
|
||||
* @CreateDate : 2020-05-15
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesPartColorRepository extends BaseRepository<MesPartColor, 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.MesProdModelCfg;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : adair.song
|
||||
* @CreateDate : 2020-05-15
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesProdModelCfgRepository extends BaseRepository<MesProdModelCfg, 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.MesQcOrderAccessory;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\18 10:34
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesQcOrderAccessoryRepository extends BaseRepository<MesQcOrderAccessory, 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.MesScatterPartCfgBom;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : adair.song
|
||||
* @CreateDate : 2020-05-15
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesScatterPartCfgBomRepository extends BaseRepository<MesScatterPartCfgBom, 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.MesScatterPartProdCfg;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : adair.song
|
||||
* @CreateDate : 2020-05-15
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesScatterPartProdCfgRepository extends BaseRepository<MesScatterPartProdCfg, Long> {
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package cn.estsh.i3plus.pojo.model.mes;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : Wms实体字段Model信息
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-04-24 09:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class BasBeanFieldInfoModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6376845639646448895L;
|
||||
|
||||
@ApiParam(value = "表名称")
|
||||
public String tableName;
|
||||
|
||||
@ApiParam(value = "表字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@ApiParam(value = "表字段描述")
|
||||
private String fieldDesc;
|
||||
|
||||
@ApiParam(value = "表字段类型")
|
||||
private String fieldType;
|
||||
|
||||
@ApiParam(value = "主键")
|
||||
private String isFieldPrimaryKey;
|
||||
|
||||
@ApiParam(value = "非空")
|
||||
private String isFieldNull;
|
||||
|
||||
@ApiParam(value = "外键")
|
||||
private String isFieldForeignKey;
|
||||
|
||||
@ApiParam(value = "唯一约束")
|
||||
private String isFieldUnique;
|
||||
|
||||
@ApiParam(value = "自增")
|
||||
private String isFieldGeneric;
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package cn.estsh.i3plus.pojo.model.mes;
|
||||
|
||||
import cn.estsh.i3plus.pojo.model.mes.BasBeanFieldInfoModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : Wms实体字段Model信息
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-04-24 09:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class BasBeanInfoModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6376845639646448495L;
|
||||
|
||||
@ApiParam(value = "系统名称")
|
||||
public String systemName;
|
||||
|
||||
@ApiParam(value = "实体名称")
|
||||
public String entityName;
|
||||
|
||||
@ApiParam(value = "数据表名称")
|
||||
private String tableName;
|
||||
|
||||
@ApiParam(value = "数据表描述")
|
||||
private String tableDesc;
|
||||
|
||||
@ApiParam(value = "字段列表数据")
|
||||
private List<BasBeanFieldInfoModel> fieldInfoModelList;
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.model.mes.ImportErrorModel;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
/**
|
||||
* @Author: siliter.yuan
|
||||
* @CreateDate: 2020/4/21 9:19 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("导入结果model")
|
||||
public class ExcelImportModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1444427447244864339L;
|
||||
@ApiParam("结果")
|
||||
private boolean result;
|
||||
|
||||
@ApiParam("成功行数量")
|
||||
private int successRowNum;
|
||||
|
||||
@ApiParam("工作薄名称")
|
||||
private String sheetName;
|
||||
|
||||
@ApiParam("导入数据集合")
|
||||
private List<ConcurrentHashMap<String, Object>> excelList;
|
||||
|
||||
@ApiParam("错误信息集合")
|
||||
private List<ImportErrorModel> ImportErrorModels;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue