Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
85b922d492
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonMgnManageQueue;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/6/18 5:14 PM
|
||||
* @Modify:
|
||||
*/
|
||||
public interface IAndonMgnManageQueueRepository extends BaseRepository<AndonMgnManageQueue, Long> {
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.pojo.aps.model;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class RuleDetailModel {
|
||||
@ApiParam(value ="主执行进度")
|
||||
private Integer mainProcess = 0;
|
||||
|
||||
@ApiParam(value ="总规则数")
|
||||
private Integer mainSize = 0;
|
||||
|
||||
@ApiParam(value ="当前执行进度")
|
||||
private Integer curProcess = 0;
|
||||
|
||||
@ApiParam(value ="总行数")
|
||||
private Integer totalSize = 0;
|
||||
|
||||
@ApiParam(value ="进度消息")
|
||||
private String processMsg = "";
|
||||
|
||||
@ApiParam(value ="进度消息明细")
|
||||
private String subMsg = "";
|
||||
|
||||
private Boolean finish = false;
|
||||
|
||||
@ApiParam(value ="异常消息")
|
||||
private String exception = "";
|
||||
|
||||
public void addProcess() {
|
||||
this.curProcess += 1;
|
||||
}
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.client.bean.model;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.ToString;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2021/6/19 0019 下午 16:46
|
||||
*/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@ToString
|
||||
public class LogParam implements Serializable {
|
||||
private long logDateTime;
|
||||
private long logId;
|
||||
private int fromLineNum;
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.client.bean.po;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.ToString;
|
||||
|
||||
/**
|
||||
* @author ns
|
||||
* @create 2021/6/18 0018 上午 10:53
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ToString
|
||||
@Api("查询方法日志的结果")
|
||||
public class LogResult {
|
||||
|
||||
@ApiParam("日志开始行号")
|
||||
private int fromLineNum;
|
||||
@ApiParam("日志结束行号")
|
||||
private int toLineNum;
|
||||
@ApiParam("日志内容")
|
||||
private String logContent;
|
||||
@ApiParam("日志是否结束")
|
||||
private boolean isEnd;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.common.util;
|
||||
package cn.estsh.i3plus.pojo.bsp.common;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.GsonBuilder;
|
@ -0,0 +1,29 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.server.bean.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2021/6/21 10:40
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@Api("添加方法组")
|
||||
public class MethodGroupModel {
|
||||
|
||||
@ApiParam("方法组的名称")
|
||||
private String methodGroupName;
|
||||
@ApiParam("方法组的描述")
|
||||
private String description;
|
||||
@ApiParam("方法组层级列表")
|
||||
private List<MethodLevelModel> methodLevel;
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.server.bean.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2021/6/21 10:50
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@Api("添加方法组层级")
|
||||
public class MethodLevelModel {
|
||||
|
||||
@ApiParam("方法Id")
|
||||
private Long methodId;
|
||||
@ApiParam("方法层级")
|
||||
private String level;
|
||||
@ApiParam("参数列表")
|
||||
List<MethodLevelParamModel> paramModels;
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.server.bean.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2021/6/18 11:03
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@ApiModel("远程调用方法参数")
|
||||
public class RequestModel {
|
||||
@ApiModelProperty("执行方法的key")
|
||||
private String methodHandlerKey;
|
||||
@ApiModelProperty("方法的入参")
|
||||
private Map<String, Object> jsonParamMap;
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.server.bean.po;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2021/6/18 14:31
|
||||
* @Modify:
|
||||
**/
|
||||
@Entity
|
||||
@Table(name = "METHOD_GROUP_INFO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel("方法组合")
|
||||
public class MethodGroupInfo extends BaseBean implements Serializable {
|
||||
|
||||
|
||||
private static final long serialVersionUID = -7868208264526298210L;
|
||||
|
||||
@Column(name = "NAME")
|
||||
@ApiModelProperty("方法组名称")
|
||||
private String name;
|
||||
|
||||
@Column(name = "DESCRIPTION")
|
||||
@ApiModelProperty("方法组描述")
|
||||
private String description;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.server.bean.po;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.*;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2021/6/18 14:46
|
||||
* @Modify:
|
||||
**/
|
||||
@Entity
|
||||
@Table(name = "METHOD_LEVEL_INFO")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@ApiModel("方法层级")
|
||||
public class MethodLevelInfo extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -6341443254774985571L;
|
||||
|
||||
|
||||
@Column(name = "METHOD_GROUP_ID")
|
||||
@ApiModelProperty("所属方法组的ID")
|
||||
private Long methodGroupId;
|
||||
|
||||
@Column(name = "LEVEL")
|
||||
@ApiModelProperty("执行层级,相同层级可以并行执行")
|
||||
private String level;
|
||||
|
||||
@Column(name = "METHOD_ID")
|
||||
@ApiModelProperty("当前层级的方法ID")
|
||||
private Long methodId;
|
||||
|
||||
@Transient
|
||||
@ApiModelProperty("方法的参数关系列表")
|
||||
private List<MethodLevelParamInfo> paramInfoList;
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.server.bean.screen;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2021/6/21 11:42
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@Api("调用方法组")
|
||||
public class InvokeMethodGroupModel {
|
||||
@ApiParam("方法组Id")
|
||||
private Long methodGroupId;
|
||||
@ApiParam("方法组入参")
|
||||
private Map<String,Object> paramMap;
|
||||
}
|
@ -0,0 +1,30 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.server.bean.screen;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2021/6/21 9:44
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
@Api("通用界面单独调用方法")
|
||||
public class InvokeMethodModel {
|
||||
@ApiParam("调用方法的Id,或者方法组Id")
|
||||
private Long id;
|
||||
|
||||
@ApiParam("方法的入参map")
|
||||
private Map<String,Object> params;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.server.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.bsp.server.bean.po.MethodGroupInfo;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2021/6/21 10:25
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MethodGroupInfoRepository extends BaseRepository<MethodGroupInfo,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.server.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.bsp.server.bean.po.MethodLevelInfo;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2021/6/21 10:26
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MethodLevelInfoRepository extends BaseRepository<MethodLevelInfo,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.bsp.server.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.bsp.server.bean.po.MethodLevelParamInfo;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : Castle
|
||||
* @CreateDate : 2021/6/21 10:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MethodLevelParamInfoRepository extends BaseRepository<MethodLevelParamInfo,Long> {
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.bean.base;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : pantianhu
|
||||
* @CreateDate : 2021-05-26 17:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MDM_FIELD")
|
||||
@ApiModel("表字段")
|
||||
public class MdmField extends BaseMdmBean {
|
||||
|
||||
@Column(name="TABLE_NAME")
|
||||
@ApiParam(value ="表名")
|
||||
private String tableName;
|
||||
|
||||
@Column(name="TABLE_DESCRIPTION")
|
||||
@ApiParam(value ="表描述")
|
||||
private String tableDescription;
|
||||
|
||||
@Column(name="FIELD_NAME")
|
||||
@ApiParam(value ="字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@Column(name="FIELD_DESCRIPTION")
|
||||
@ApiParam(value ="字段描述")
|
||||
private String fieldDescription;
|
||||
|
||||
@Column(name="SERVICE_NAME")
|
||||
@ApiParam(value ="服务名称")
|
||||
private String serviceName;
|
||||
|
||||
@Column(name="SERVICE_CODE")
|
||||
@ApiParam(value ="服务代码")
|
||||
private String serviceCode;
|
||||
|
||||
@Column(name="IS_SELECT")
|
||||
@ApiParam(value ="是否选中")
|
||||
private Integer isSelect;
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.bean.base;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :邮件配置
|
||||
* @Reference :
|
||||
* @Author : pantianhu
|
||||
* @CreateDate : 2021-05-29 15:17
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MDM_MAIL")
|
||||
@ApiModel("邮件配置")
|
||||
public class MdmMail extends BaseMdmBean{
|
||||
@Column(name = "MESSAGE_SENDER_NAME_RDD")
|
||||
@ApiParam(value = "发送者名称")
|
||||
private String messageSenderNameRdd;
|
||||
|
||||
@Column(name = "MESSAGE_RECEIVERS_NAME_RDD")
|
||||
@ApiParam(value = "接受者名称")
|
||||
private String messageReceiversNameRdd;
|
||||
|
||||
@Column(name = "IS_SEND")
|
||||
@ApiParam(value = "是否发送")
|
||||
private Integer isSend;
|
||||
|
||||
}
|
@ -0,0 +1,111 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.bean.master;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.MdmEnumUtil;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.base.BaseMdmBean;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 主数据齿轮
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-05-12 18:09
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MDM_SYNC_DATA_THROUGH")
|
||||
@ApiModel("处理以通过中心同步数据")
|
||||
public class MdmSyncDataThrough extends BaseMdmBean {
|
||||
|
||||
private static final long serialVersionUID = -1642626000861174060L;
|
||||
|
||||
@ApiParam("同步数据类型")
|
||||
@AnnoOutputColumn(refClass = MdmEnumUtil.MDM_SYNC_TYPE.class)
|
||||
private Integer syncType;
|
||||
|
||||
public int getSyncTypeVal() {
|
||||
return syncType == null ? MdmEnumUtil.MDM_SYNC_TYPE.INSERT.getValue() : syncType;
|
||||
}
|
||||
|
||||
public String getSyncTypeTxt() {
|
||||
return syncType == null ? "无" : MdmEnumUtil.MDM_SYNC_TYPE.valueOfDescription(syncType);
|
||||
}
|
||||
|
||||
@ApiParam("同步模块")
|
||||
@AnnoOutputColumn(refClass = MdmEnumUtil.MDM_SYNC_APP_TYPE.class)
|
||||
private Integer syncAppType;
|
||||
|
||||
public int getSyncAppTypeVal() {
|
||||
return syncAppType == null ? MdmEnumUtil.MDM_SYNC_APP_TYPE.INTERNAL.getValue() : syncAppType;
|
||||
}
|
||||
|
||||
public String getSyncAppTypeTxt() {
|
||||
return syncAppType == null ? "无" : MdmEnumUtil.MDM_SYNC_APP_TYPE.valueOfDescription(syncAppType);
|
||||
}
|
||||
|
||||
@ApiParam("同步模块")
|
||||
private Long syncSoftType;
|
||||
|
||||
@ApiParam("同步模块名称")
|
||||
private String syncSoftTypeName;
|
||||
|
||||
@ApiParam("是否是主数据")
|
||||
@AnnoOutputColumn(refClass = CommonEnumUtil.TRUE_OR_FALSE.class)
|
||||
private Integer isMasterData;
|
||||
|
||||
public int getIsMasterDataVal() {
|
||||
return isMasterData == null ? CommonEnumUtil.TRUE_OR_FALSE.FALSE.getValue() : isMasterData;
|
||||
}
|
||||
|
||||
public String getIsMasterDataTxt() {
|
||||
return isMasterData == null ? "无" : CommonEnumUtil.TRUE_OR_FALSE.valueOfDescription(isMasterData);
|
||||
}
|
||||
|
||||
@ApiParam("同步数据class")
|
||||
private String syncDataClass;
|
||||
|
||||
public String getSyncDataClassSimpleName() {
|
||||
if (syncDataClass == null) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return syncDataClass.trim().substring(syncDataClass.trim().lastIndexOf(".") + 1);
|
||||
}
|
||||
|
||||
@ApiParam("同步数据id")
|
||||
@AnnoOutputColumn(hidden = true)
|
||||
private String syncDataId;
|
||||
|
||||
@ApiParam("同步数据用户名")
|
||||
private String syncDateUserName;
|
||||
|
||||
@ApiParam("同步时间")
|
||||
private String syncDateTime;
|
||||
|
||||
@ApiParam("同步失败键")
|
||||
private String syncFailKey;
|
||||
|
||||
@ApiParam("同步失败时间")
|
||||
private String syncFailDateTime;
|
||||
|
||||
@ApiParam("同步失败信息")
|
||||
private String syncFailMessage;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.repository.master;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.base.MdmMail;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.master.MdmGear;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-05-15 16:26
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MdmMailRepository extends BaseRepository<MdmMail, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.repository.master;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.master.MdmGear;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.master.MdmSyncDataThrough;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2020-05-15 16:26
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MdmSyncDataThroughRepository extends BaseRepository<MdmSyncDataThrough, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.repository.master;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.base.MdmField;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : pantianhu
|
||||
* @CreateDate : 2021-05-26 20:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MdmfieldRepository extends BaseRepository<MdmField, Long> {
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description : 泰国电检打印数据
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/6/16 14:15
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_ELECTROTESTING_PRINT_DATA")
|
||||
@Api("MES_电检打印数据")
|
||||
public class MesElectrotestingPrintData extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 5179928838368157923L;
|
||||
|
||||
@Column(name = "COLOUR_CODE")
|
||||
@ApiParam("颜色代码")
|
||||
private String colourCode;
|
||||
|
||||
@Column(name = "VARIANT")
|
||||
@ApiParam("型号")
|
||||
private String variant;
|
||||
|
||||
@Column(name = "PRODUCTION_NUMBER")
|
||||
@ApiParam("产品号")
|
||||
private String productionNumber;
|
||||
|
||||
@Column(name = "COMMISSION_NUMBER")
|
||||
@ApiParam("佣金号")
|
||||
private String commissionNumber;
|
||||
|
||||
@Column(name = "QAD_NO")
|
||||
@ApiParam("位置号")
|
||||
private String qadNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PRINT_STATUS")
|
||||
@ApiParam("打印状态")
|
||||
private Integer printStatus = 10;
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: dominic
|
||||
* @Date: 2020/12/03 20:29
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FAILURE_MODE_APPROVAL")
|
||||
@Api("MES_失效模式审批人员")
|
||||
public class MesFailureModeApproval extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -5274274774653791153L;
|
||||
|
||||
@Column(name = "PATTERN_CODE")
|
||||
@ApiParam("模式代码")
|
||||
private String patternCode;
|
||||
|
||||
@Column(name = "PATTERN_NAME")
|
||||
@ApiParam("模式代码名称")
|
||||
private String patternName;
|
||||
|
||||
@Column(name = "DEPARTMENT_NAME_RDD")
|
||||
@ApiParam("部门名称")
|
||||
private String departmentNameRdd;
|
||||
|
||||
@Column(name = "DEPARTMENT_ID")
|
||||
@ApiParam("部门id")
|
||||
private Long departmentId;
|
||||
|
||||
@Column(name = "USER_NAME")
|
||||
@ApiParam("人员名称")
|
||||
private String userName;
|
||||
|
||||
@Column(name = "USER_ID")
|
||||
@ApiParam("人员id")
|
||||
private Long userId;
|
||||
|
||||
@Column(name = "PERSONNEL_LEVEL")
|
||||
@ApiParam("人员级别")
|
||||
private Integer personnelLevel;
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.ColumnDefault;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: dominic
|
||||
* @Date: 2020/12/03 20:29
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_FAILURE_MODE_PARTS")
|
||||
@Api("MES_失效模式零件")
|
||||
public class MesFailureModeParts extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -5274274774653791153L;
|
||||
|
||||
@Column(name = "PATTERN_CODE")
|
||||
@ApiParam("模式代码")
|
||||
private String patternCode;
|
||||
|
||||
@Column(name = "PATTERN_NAME")
|
||||
@ApiParam("模式代码名称")
|
||||
private String patternName;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("零件名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "MAXIMUM", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam("上限值")
|
||||
private Double maximum = 0d;
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.ColumnDefault;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :锁定记录
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021-06-10
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_LOCK_RECORD")
|
||||
@Api("mes锁定记录表")
|
||||
public class MesLockRecord extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5132229443235106976L;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "WORK_CELL_NAME")
|
||||
@ApiParam("工位名称")
|
||||
private String workCellName;
|
||||
|
||||
@Column(name = "PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "LOCK_REASON")
|
||||
@ApiParam("锁定原因")
|
||||
private String lockReason;
|
||||
|
||||
@Column(name = "EMPLOYEE_NUMBER")
|
||||
@ApiParam("工号")
|
||||
private String employeeNumber;
|
||||
|
||||
@Column(name = "LOCK_STATUS")
|
||||
@ColumnDefault("1")
|
||||
@ApiParam("锁定状态")
|
||||
private Integer lockStatus = 1;
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: dominic
|
||||
* @Date: 2020/12/03 20:29
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PENDING_REPORT_TYPE")
|
||||
@Api("MES_待处理报工类型")
|
||||
public class MesPendingReportType extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -5274274774653791153L;
|
||||
|
||||
@Column(name = "PATTERN_CODE")
|
||||
@ApiParam("模式代码")
|
||||
private String patternCode;
|
||||
|
||||
@Column(name = "PATTERN_NAME")
|
||||
@ApiParam("模式代码名称")
|
||||
private String patternName;
|
||||
|
||||
@Column(name = "REPORT_TYPE")
|
||||
@ApiParam("类型")
|
||||
private Integer reportType;
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model.report;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Description : 报废率趋势model
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/6/17 19:12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@ApiModel("报废率趋势model")
|
||||
public class ScrapRateTrendReportModel {
|
||||
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@ApiParam("修改时间")
|
||||
private String modifyDatetime;
|
||||
|
||||
@ApiParam("操作类型")
|
||||
private Integer operateType;
|
||||
|
||||
@ApiParam("报废原因")
|
||||
private String scrapCode;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesElectrotestingPrintData;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 泰国电检打印数据
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/6/16 14:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesElectrotestingPrintDataRepository extends BaseRepository<MesElectrotestingPrintData, Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesFailureModeApproval;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\13 11:53
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesFailureModeApprovalRepository extends BaseRepository<MesFailureModeApproval, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesFailureModeParts;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: dominic
|
||||
* @Date: 2020/12/03 20:29
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesFailureModePartsRepository extends BaseRepository<MesFailureModeParts, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesLockRecord;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/6/10 19:36
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesLockRecordRepository extends BaseRepository<MesLockRecord, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPendingReportType;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: dominic
|
||||
* @Date: 2020/12/03 20:29
|
||||
* @Modify:
|
||||
*/
|
||||
@Repository
|
||||
public interface MesPendingReportTypeRepository extends BaseRepository<MesPendingReportType, Long> {
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
package cn.estsh.i3plus.pojo.ptl.model;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.io.DataOutputStream;
|
||||
import java.net.Socket;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/6/8 2:12 PM
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
public class MgnBjAblePickModel {
|
||||
|
||||
private Socket socket = null;
|
||||
|
||||
private String organizeCode;
|
||||
private String areaNo;
|
||||
private String clientInfo;
|
||||
private String ip;
|
||||
private Integer port;
|
||||
private boolean isBackOff;
|
||||
|
||||
private Integer timeout = 3000;
|
||||
private Integer sleepTime = 2000;
|
||||
|
||||
private DataOutputStream bw;
|
||||
private DataInputStream br;
|
||||
}
|
Loading…
Reference in New Issue