合并代码 有代码丢失或者文件丢失请排查此处
Merge remote-tracking branch 'remotes/origin/dev' into test # Conflicts: # modules/i3plus-pojo-base/src/main/java/cn/estsh/i3plus/pojo/base/enumutil/MesEnumUtil.javayun-zuoyi
commit
6169542dbb
@ -0,0 +1,60 @@
|
||||
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;
|
||||
|
||||
@Column(name = "INTERFACE_NO")
|
||||
@ApiParam("界面编号")
|
||||
private String interfaceNo;
|
||||
|
||||
@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 = "PTL_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,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,46 @@
|
||||
package cn.estsh.i3plus.pojo.andon.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonRouteStatus;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author wangjie
|
||||
* @date 2020/2/12 17:41
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
@ApiModel("通用数据传输对象")
|
||||
public class CommonMsgModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1772176070851992335L;
|
||||
|
||||
@ApiModelProperty("工厂")
|
||||
private String organizeCode;
|
||||
|
||||
@ApiModelProperty("用户信息")
|
||||
private String userInfo;
|
||||
|
||||
@ApiModelProperty("消息类型")
|
||||
private String msgType;
|
||||
|
||||
@ApiModelProperty("消息数据")
|
||||
private Map<String, Object> msgData;
|
||||
|
||||
@ApiModelProperty("流程状态集合")
|
||||
private List<AndonRouteStatus> routeStatusList;
|
||||
|
||||
@ApiModelProperty("当前流程状态")
|
||||
private AndonRouteStatus curRouteStatus;
|
||||
|
||||
@ApiModelProperty("外部触发事件")
|
||||
private String triggerEvent;
|
||||
|
||||
|
||||
}
|
@ -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,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,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,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;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsHealthIndicator;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : Wms健康指标模型
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-05-14 09:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class WmsHealthIndicatorModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6376849949646448495L;
|
||||
|
||||
@ApiParam(value = "模块名称")
|
||||
public String groupName;
|
||||
|
||||
@ApiParam(value = "指标代码")
|
||||
public String indicatorCode;
|
||||
|
||||
@ApiParam(value = "指标名称")
|
||||
public String indicatorName;
|
||||
|
||||
@ApiParam(value = "开始时间")
|
||||
public String startDateTime;
|
||||
|
||||
@ApiParam(value = "结束时间")
|
||||
public String endDateTime;
|
||||
|
||||
@ApiParam(value = "健康指标集合")
|
||||
public List<WmsHealthIndicator> healthIndicatorList;
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* @Description : Wms健康指标报表模型
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-05-15 09:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class WmsHealthIndicatorReportModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6376850049646448495L;
|
||||
|
||||
@ApiParam(value = "图表标题名称")
|
||||
public String titleName;
|
||||
|
||||
@ApiParam(value = "图例集合")
|
||||
public Set<String> legendList;
|
||||
|
||||
@ApiParam(value = "X轴数据集合")
|
||||
public List<String> xAxisList;
|
||||
|
||||
@ApiParam(value = "图表数据集合")
|
||||
public List<Map<String, Object>> seriesDataList;
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : Wms健康变量参数
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-05-14 09:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class WmsHealthVariableParamsModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6376849939646448495L;
|
||||
|
||||
@ApiParam(value = "开始时间")
|
||||
public String startDateTime;
|
||||
|
||||
@ApiParam(value = "结束时间")
|
||||
public String endDateTime;
|
||||
|
||||
@ApiParam(value = "适应存储区")
|
||||
private String applyArea;
|
||||
|
||||
@ApiParam(value = "适应物料组")
|
||||
private String applyPartGroup;
|
||||
|
||||
@ApiParam(value = "变量参数")
|
||||
private String variableParam;
|
||||
|
||||
@ApiParam(value = "工厂代码")
|
||||
private String organizeCode;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : Wms健康变量参数
|
||||
* @Reference :
|
||||
* @Author : siliter.yuan
|
||||
* @CreateDate : 2020-05-14 09:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
public class WmsHealthVariableResultModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -6376849949646448495L;
|
||||
|
||||
@ApiParam(value = "订单号")
|
||||
public String orderNo;
|
||||
|
||||
@ApiParam(value = "供应商名称")
|
||||
public String vendorName;
|
||||
|
||||
@ApiParam(value = "需求数量")
|
||||
private Double qty;
|
||||
|
||||
@ApiParam(value = "物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam(value = "物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@ApiParam(value = "计划到货日期")
|
||||
private String planDateTime;
|
||||
|
||||
@ApiParam(value = "实际到货日期")
|
||||
private String actDateTime;
|
||||
|
||||
@ApiParam(value = "物料组编号")
|
||||
private String partGroupNo;
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
package cn.estsh.i3plus.pojo.platform.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
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 : alwaysfrin
|
||||
* @CreateDate : 2019-02-27 10:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="SYS_DATA_SOURCE")
|
||||
@Api(value="数据对象")
|
||||
public class SysDataSource extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -3116421427693381484L;
|
||||
@Column(name="SOFT_TYPE")
|
||||
@ApiParam(value ="产品类型")
|
||||
private Integer softType;
|
||||
|
||||
public String getSoftTypeTxt() {
|
||||
return softType == null ? null : CommonEnumUtil.SOFT_TYPE.valueOfDescription(softType);
|
||||
}
|
||||
|
||||
@Column(name="SOURCE_NAME")
|
||||
@ApiParam(value ="数据源名称")
|
||||
private String sourceName;
|
||||
|
||||
@Column(name="SOURCE_CODE")
|
||||
@ApiParam(value ="数据源编码")
|
||||
private String sourceCode;
|
||||
|
||||
@Column(name="SOURCE_STATUS")
|
||||
@ApiParam(value ="数据源状态",name = "状态:可用,不可用 看枚举当中是否存在")
|
||||
private Integer sourceStatus;
|
||||
public String getSourceStatusTxt() {
|
||||
return softType == null ? null : CommonEnumUtil.DATA_SOURCE_STATUS.valueOfDescription(sourceStatus);
|
||||
}
|
||||
|
||||
@Column(name="SOURCE_TYPE")
|
||||
@ApiParam(value ="数据源类型",name = "BlockFormEnumUtil.DATA_SOURCE_TYPE")
|
||||
private Integer sourceType;
|
||||
public String getSourceTypeTxt() {
|
||||
return softType == null ? null : CommonEnumUtil.DATA_SOURCE_TYPE.valueOfDescription(sourceType);
|
||||
}
|
||||
|
||||
|
||||
@Column(name="SOURCE_HOST")
|
||||
@ApiParam(value ="数据源连接地址")
|
||||
private String sourceHost;
|
||||
|
||||
@Column(name="SOURCE_PORT")
|
||||
@ApiParam(value ="数据源端口")
|
||||
private Integer sourcePort;
|
||||
|
||||
@Column(name="SOURCE_DATA_BASE_NAME")
|
||||
@ApiParam(value ="数据库名称")
|
||||
private String sourceDataBaseName;
|
||||
|
||||
@Column(name="SOURCE_USER_NAME")
|
||||
@ApiParam(value ="数据库用户名称")
|
||||
private String sourceUserName;
|
||||
|
||||
@Column(name="SOURCE_PASSWORD")
|
||||
@ApiParam(value ="数据库用户密码")
|
||||
private String sourcePassword;
|
||||
|
||||
@Column(name="SOURCE_DESCRIPTION")
|
||||
@ApiParam(value ="数据源描述")
|
||||
private String sourceDescription;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.platform.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.platform.bean.SysDataSource;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 20-5-11 上午11:05
|
||||
* @Modify:
|
||||
**/
|
||||
public interface SysDataSourceRepository extends BaseRepository<SysDataSource, Long> {
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package cn.estsh.i3plus.pojo.wms.modelbean;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import javax.persistence.Column;
|
||||
|
||||
/**
|
||||
* @Description : 零件自动采购单信息
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2020-05-18
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Api("收货追踪地图信息")
|
||||
public class WmsAutoPurchasePartModel {
|
||||
@ApiParam("合同号")
|
||||
private String orderNo;
|
||||
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@ApiParam(value = "单位")
|
||||
private String unit;
|
||||
|
||||
@ApiParam("物料数量")
|
||||
private Double qty;
|
||||
|
||||
@ApiParam("Erp库存地")
|
||||
private String erpWarehouse;
|
||||
|
||||
@ApiParam("供应商编码")
|
||||
private String vendorNo;
|
||||
|
||||
@ApiParam("供应商名称")
|
||||
private String vendorName;
|
||||
|
||||
public WmsAutoPurchasePartModel(String partNo, String partName, Double qty, String warehouse) {
|
||||
this.partNo = partNo;
|
||||
this.partName = partName;
|
||||
this.qty = qty;
|
||||
this.erpWarehouse = warehouse;
|
||||
}
|
||||
|
||||
public WmsAutoPurchasePartModel() {
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue