Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
fcfd34f559
@ -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;
|
||||
|
||||
/**
|
||||
* @Description : 安灯任务附属表
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-09-27 19:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="ANDON_MANAGE_ATTACH")
|
||||
@Api(value="安灯任务附属信息")
|
||||
public class AndonQueueAttach extends BaseBean {
|
||||
|
||||
@Column(name="PROD_INFO")
|
||||
@ApiParam(value ="产品信息" , example ="-1")
|
||||
private String prodInfo;
|
||||
|
||||
@Column(name="LINE_INFO")
|
||||
@ApiParam(value ="产线信息")
|
||||
private String lineInfo;
|
||||
|
||||
@Column(name="ANDON_ORDER_NO")
|
||||
@ApiParam(value ="安灯任务编号")
|
||||
private String andonOrderNo;
|
||||
|
||||
@Column(name="STATUS_CODE")
|
||||
@ApiParam(value ="安灯状态")
|
||||
private String statusCode;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.andon.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonAlarmCause;
|
||||
import cn.estsh.i3plus.pojo.andon.bean.AndonQueueAttach;
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 安灯附属表
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-09-28
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IAndonQueueAttachRepository extends BaseRepository<AndonQueueAttach, Long> {
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
package cn.estsh.i3plus.pojo.aps.holders;
|
||||
|
||||
public enum EParentWork {
|
||||
ProductOrder,
|
||||
Operation,
|
||||
Works
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
package cn.estsh.i3plus.pojo.aps.holders;
|
||||
|
||||
public enum EProductOrder {
|
||||
ProductRouting
|
||||
ProductRouting,
|
||||
ParentWorks
|
||||
}
|
||||
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.aps.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.bean.ParentWork;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface ParentWorkRepository extends CrudRepository<ParentWork, Long> {
|
||||
}
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Class name="ParentWork">
|
||||
<Relation field="Operation" name="Operation" type="MULTI_TO_ONE" owner="false">
|
||||
</Relation>
|
||||
<Relation field="Works" name="Work" reverse="ParentWork" type="ONE_TO_MULTI" owner="true">
|
||||
</Relation>
|
||||
</Class>
|
@ -1,3 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Class name="ProductOrder" extends="BaseOrder">
|
||||
<Relation field="ParentWorks" name="ParentWork" reverse="ProductOrder" type="ONE_TO_MULTI" owner="true">
|
||||
</Relation>
|
||||
</Class>
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :零件种类
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_PART_CATEGORY")
|
||||
@Api("零件种类")
|
||||
public class MesPartCategory extends BaseBean {
|
||||
@Column(name="CATEGORY_CODE")
|
||||
@ApiParam("分类代码")
|
||||
private String categoryCode;
|
||||
|
||||
@Column(name="CATEGORY_NAME")
|
||||
@ApiParam("分类名称")
|
||||
private String categoryName;
|
||||
|
||||
@Column(name="CATEGORY_TYPE")
|
||||
@ApiParam("分类类型")
|
||||
private String categoryType;
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.bean;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/25 8:07 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PLC")
|
||||
@Api("PLC配置表")
|
||||
public class MesPlc extends BaseBean {
|
||||
|
||||
@Column(name = "PLC_CODE")
|
||||
@ApiParam("PLC代码")
|
||||
private String plcCode;
|
||||
|
||||
@Column(name = "PLC_NAME")
|
||||
@ApiParam("PLC名称")
|
||||
private String plcName;
|
||||
|
||||
@Column(name = "PLC_MODEL")
|
||||
@ApiParam("PLC型号")
|
||||
private String plcModel;
|
||||
|
||||
@Column(name = "PLC_IP")
|
||||
@ApiParam("PLC IP")
|
||||
private String plcIp;
|
||||
|
||||
@Column(name = "CHANNEL")
|
||||
@ApiParam("通道")
|
||||
private String channel;
|
||||
|
||||
@Column(name = "TAG_NAME")
|
||||
@ApiParam("标签名称")
|
||||
private String tagName;
|
||||
|
||||
@Column(name = "TAG_ADDRESS")
|
||||
@ApiParam("标签地址")
|
||||
private String tagAddress;
|
||||
|
||||
@Column(name = "DATA_TYPE")
|
||||
@ApiParam("标签数据类型")
|
||||
private String dataType;
|
||||
|
||||
@Column(name = "GROUP_NAME")
|
||||
@ApiParam("分组名称")
|
||||
private String groupName;
|
||||
|
||||
@Column(name = "EQU_CODE")
|
||||
@ApiParam("设备代码")
|
||||
private String equCode;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "ENABLED")
|
||||
@ApiParam("是否启用 0 false 1 true")
|
||||
private Integer enabled;
|
||||
|
||||
@Column(name = "PLC_CFG")
|
||||
@ApiParam("PLC的值的设定")
|
||||
private String plcCfg;
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/25 7:41 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("PLC交互model")
|
||||
public class PLCInteracticeModel {
|
||||
|
||||
private String serverIp;
|
||||
|
||||
private String serverPort;
|
||||
|
||||
private String mwContext;
|
||||
|
||||
private String protocol;
|
||||
|
||||
private String plcCode;
|
||||
|
||||
private String dataType;
|
||||
|
||||
private String userName;
|
||||
|
||||
private String password;
|
||||
|
||||
private Integer enabled;
|
||||
|
||||
private String realm;
|
||||
|
||||
private String tag;
|
||||
|
||||
private String value;
|
||||
|
||||
private String comment;
|
||||
|
||||
private String authenKey;
|
||||
|
||||
}
|
@ -0,0 +1,34 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.model;
|
||||
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/28 10:17 AM
|
||||
* @Description:
|
||||
**/
|
||||
@Data
|
||||
@Api("PLC Redis Cache key")
|
||||
public class PlcCacheKeyModel {
|
||||
|
||||
private String channel;
|
||||
|
||||
private String device;
|
||||
|
||||
private String tag;
|
||||
|
||||
public PlcCacheKeyModel( String device, String tag) {
|
||||
this.device = device;
|
||||
this.tag = tag;
|
||||
}
|
||||
|
||||
public String getPlcCacheKey() {
|
||||
return device + ":" + tag;
|
||||
}
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesDataObject;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/27 1:59 PM
|
||||
* @Description:
|
||||
**/
|
||||
public interface MesDataObjectRepository extends BaseRepository<MesDataObject,Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesDb;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/27 1:58 PM
|
||||
* @Description:
|
||||
**/
|
||||
public interface MesDbRepository extends BaseRepository<MesDb,Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesObjectCfg;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/27 1:59 PM
|
||||
* @Description:
|
||||
**/
|
||||
public interface MesObjectCfgRepository extends BaseRepository<MesObjectCfg, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesPartCategory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesPartCategoryRepository extends BaseRepository<MesPartCategory, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesPlc;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/26 7:47 PM
|
||||
* @Description:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesPlcRepository extends BaseRepository<MesPlc, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesWcEquipment;
|
||||
|
||||
/**
|
||||
* @Author: Wynne.Lu
|
||||
* @CreateDate: 2019/9/28 12:04 PM
|
||||
* @Description:
|
||||
**/
|
||||
public interface MesWcEquipmentRepository extends BaseRepository<MesWcEquipment,Long> {
|
||||
}
|
@ -0,0 +1,88 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.base.enumutil.CommonEnumUtil;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-09-25 17:43
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BS_SUIT_CASE_FTP")
|
||||
@Api(value = "FTP适配器", description = "FTP适配器")
|
||||
public class BsSuitCaseFTP extends BaseBean {
|
||||
|
||||
@Column(name = "SUIT_CASE_ID")
|
||||
@ApiParam(value = "套件id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long suitCaseId;
|
||||
|
||||
@Column(name = "file_Name")
|
||||
@ApiParam(value = "文件名")
|
||||
private String fileName;
|
||||
|
||||
@Column(name = "ENCODE")
|
||||
@ApiParam(value = "编码")
|
||||
private Integer encode;
|
||||
|
||||
@Column(name = "IS_READ_AND_EMPTY")
|
||||
@ApiParam(value = "读取并清空")
|
||||
private Integer isReadAndEmpty;
|
||||
|
||||
public boolean isReadAndEmpty(){
|
||||
return CommonEnumUtil.TRUE_OR_FALSE.valueOfBoolean(isReadAndEmpty);
|
||||
}
|
||||
|
||||
@Column(name = "IS_READ_AND_DELETE")
|
||||
@ApiParam(value = "读取并删除")
|
||||
private Integer isReadAndDelete;
|
||||
|
||||
public boolean isReadAndDelete(){
|
||||
return CommonEnumUtil.TRUE_OR_FALSE.valueOfBoolean(isReadAndDelete);
|
||||
}
|
||||
|
||||
@Column(name = "IS_NEED_TRAVERSAL")
|
||||
@ApiParam(value = "是否需要遍历")
|
||||
private Integer isNeedTraversal;
|
||||
|
||||
public boolean isNeedTraversal(){
|
||||
return CommonEnumUtil.TRUE_OR_FALSE.valueOfBoolean(isNeedTraversal);
|
||||
}
|
||||
|
||||
@Column(name = "IS_INCREMENTAL_READ")
|
||||
@ApiParam(value = "是否增量读取")
|
||||
private Integer isIncrementalRead;
|
||||
|
||||
public boolean isIncrementalRead(){
|
||||
return CommonEnumUtil.TRUE_OR_FALSE.valueOfBoolean(isIncrementalRead);
|
||||
}
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "是否增量读取")
|
||||
private String tempSuitFilePath;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "适配文件列表")
|
||||
public List<BsSuitFile> bsSuitFileList;
|
||||
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : MQ 适配套件
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 2019/9/9 上午11:09
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BS_SUIT_CASE_MQ")
|
||||
@Api(value = "MQ", description = "MQ 适配套件")
|
||||
public class BsSuitCaseMq extends BaseBean {
|
||||
|
||||
@Column(name = "SUIT_CASE_ID")
|
||||
@ApiParam(value = "套件id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long suitCaseId;
|
||||
|
||||
@Column(name = "USER_LOGIN_NAME")
|
||||
@ApiParam(value = "登录名称")
|
||||
private String userLoginName;
|
||||
|
||||
@Column(name = "USER_LOGIN_PWD")
|
||||
@ApiParam(value = "登录密码")
|
||||
private String userLoginPwd;
|
||||
|
||||
@Column(name = "VIRTUAL_HOST")
|
||||
@ApiParam(value = "虚拟 Host")
|
||||
private String virtualHost;
|
||||
|
||||
@Column(name = "QUEUE_NAME")
|
||||
@ApiParam(value = "队列名称")
|
||||
private String queueName;
|
||||
|
||||
}
|
@ -0,0 +1,78 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-09-25 17:42
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "BS_SUIT_FILE")
|
||||
@Api(value = "适配文件信息", description = "适配文件信息")
|
||||
public class BsSuitFile extends BaseBean {
|
||||
|
||||
@Column(name = "SUIT_CASE_ID")
|
||||
@ApiParam(value = "套件id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long suitCaseId;
|
||||
|
||||
@Column(name = "SUIT_CASE_NAME_RDD")
|
||||
@ApiParam(value = "适配套件名称")
|
||||
private String suitCaseName;
|
||||
|
||||
@Column(name = "SUIT_CASE_CODE")
|
||||
@ApiParam(value = "适配套件代码")
|
||||
private String suitCaseCode;
|
||||
|
||||
@Column(name = "FOLDER_PATH")
|
||||
@ApiParam(value = "文件夹路径")
|
||||
private String folderPath;
|
||||
|
||||
@Column(name = "FILE_ID")
|
||||
@ApiParam(value = "文件id")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long fileId;
|
||||
|
||||
@Column(name = "FILE_NAME")
|
||||
@ApiParam(value = "文件名称")
|
||||
private String fileName;
|
||||
|
||||
@Column(name = "FILE_URL")
|
||||
@ApiParam(value = "文件URL")
|
||||
private String fileURL;
|
||||
|
||||
@Column(name = "FILE_SIZE")
|
||||
@ApiParam(value = "文件大小")
|
||||
private int fileSize;
|
||||
|
||||
@Column(name = "SUIT_DATE_TIME")
|
||||
@ApiParam(value = "适配时间")
|
||||
private String suitDateTime;
|
||||
|
||||
@Column(name = "PROCESS_STATE")
|
||||
@ApiParam(value = "处理状态")
|
||||
private Integer processState;
|
||||
|
||||
@Column(name = "PROCESS_TIME")
|
||||
@ApiParam(value = "处理时间")
|
||||
private String processTime;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitCaseFTP;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-09-27 10:16
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BsSuitCaseFTPRepository extends BaseRepository<BsSuitCaseFTP,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitCaseMq;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : wei.peng
|
||||
* @CreateDate : 2019/9/26 下午3:25
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BsSuitCaseMqRepository extends BaseRepository<BsSuitCaseMq,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitCaseREST;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-09-23 15:39
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface BsSuitCaseRESTRepository extends BaseRepository<BsSuitCaseREST,Long> {
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.softswitch.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.softswitch.bean.BsSuitFile;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : yunhao
|
||||
* @CreateDate : 2019-09-27 10:17
|
||||
* @Modify:
|
||||
**/
|
||||
public interface BsSuitFileRepository extends BaseRepository<BsSuitFile,Long> {
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 物料关系表
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2019-09-27 14:44
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_PART_RELATION")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value="物料关系表",description = "物料关系表")
|
||||
public class WmsPartRelation extends BaseBean {
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam(value = "物料编码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam(value = "物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "ASSOCIATE_CODE")
|
||||
@ApiParam(value = "关联代码")
|
||||
private String associateCode;
|
||||
|
||||
@Column(name = "ASSOCIATE_NAME_ADD")
|
||||
@ApiParam(value = "关联名称")
|
||||
private String associateNameAdd;
|
||||
|
||||
@Column(name = "ASSOCIATE_TYPE")
|
||||
@ApiParam(value = "关联类型")
|
||||
private Integer associateType;
|
||||
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 打印机配置表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2019-09-26 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_PRINTER_CONFIGURE")
|
||||
@Api("打印机配置表")
|
||||
public class WmsPrinterConfigure extends BaseBean{
|
||||
|
||||
private static final long serialVersionUID = 1234639813072592779L;
|
||||
@Column(name="PRINTER_NO")
|
||||
@ApiParam("打印机编号")
|
||||
private String printerNo;
|
||||
|
||||
@Column(name="PRINTER_NAME")
|
||||
@ApiParam("打印机名称")
|
||||
private String printerName;
|
||||
|
||||
@Column(name="IP")
|
||||
@ApiParam("IP")
|
||||
private String ip;
|
||||
|
||||
@Column(name="PORT")
|
||||
@ApiParam("端口")
|
||||
private Integer port;
|
||||
|
||||
@Column(name="OBJECT_DESCRIPTION")
|
||||
@ApiParam(value ="描述")
|
||||
private String objectDescription;
|
||||
|
||||
@Column(name="POSITION")
|
||||
@ApiParam("位置")
|
||||
private String position;
|
||||
|
||||
@Column(name="TYPE")
|
||||
@ApiParam("类型")
|
||||
private Integer type;
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 待打印队列表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2019-09-27 14:21
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="WMS_PRINTING_QUEUE")
|
||||
@Api("待打印队列表")
|
||||
public class WmsPrintingQueue extends BaseBean{
|
||||
|
||||
private static final long serialVersionUID = 1111639813072592779L;
|
||||
@Column(name="PRINT_IDENTIFICATION")
|
||||
@ApiParam("打印标识")
|
||||
private String printIdentification;
|
||||
|
||||
@Column(name="PRINT_TYPE")
|
||||
@ApiParam("打印类型")
|
||||
private Integer printType;
|
||||
|
||||
@Column(name="PRINT_NO")
|
||||
@ApiParam("打印机编号")
|
||||
private String printNo;
|
||||
|
||||
@Column(name="PRINT_MUMBER")
|
||||
@ApiParam("打印机张数")
|
||||
private Integer printNumber;
|
||||
|
||||
@Column(name="TEMPLATE_NO")
|
||||
@ApiParam("模板编号")
|
||||
private String templateNo;
|
||||
|
||||
@Column(name="PRINT_STATUS")
|
||||
@ApiParam("打印状态")
|
||||
private Integer printStatus;
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 条码操作记录表
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2019-09-27 16:58
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_SN_OPERATE_RECORD")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value="条码操作记录表",description = "条码操作记录表")
|
||||
public class WmsSnOperateRecord extends BaseBean {
|
||||
|
||||
@Column(name = "SN")
|
||||
@ApiParam(value = "条码")
|
||||
private String sn;
|
||||
|
||||
@Column(name = "LINE_CODE")
|
||||
@ApiParam(value = "产线代码")
|
||||
private String lineCode;
|
||||
|
||||
@Column(name = "ZONE_NO")
|
||||
@ApiParam(value = "存储区编号")
|
||||
private String zoneNo;
|
||||
|
||||
@Column(name = "LOCATE_NO")
|
||||
@ApiParam(value = "库位代码")
|
||||
private String locateNo;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam(value = "数量", example = "0")
|
||||
private Double qty = 0d;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam(value = "物料编号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam(value = "物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "CUST_NO")
|
||||
@ApiParam(value = "客户编码")
|
||||
private String custNo;
|
||||
|
||||
@Column(name = "VENDOR_NO")
|
||||
@ApiParam(value = "供应商编码")
|
||||
public String vendorNo;
|
||||
|
||||
@Column(name = "SHIPPING_FLAG")
|
||||
@ApiParam(value = "发往地")
|
||||
private String shippingFlag;
|
||||
|
||||
@Column(name = "OPERATE_TYPE")
|
||||
@ApiParam(value = "操作类型")
|
||||
private Integer operateType;
|
||||
|
||||
}
|
@ -0,0 +1,79 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean.iotio;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
@Data
|
||||
public class WmsCSOrderDetailsModel implements Serializable {
|
||||
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 工厂代码
|
||||
*/
|
||||
public String organizeCode;
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 库位编码
|
||||
*/
|
||||
public String locateNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 订单编码
|
||||
*/
|
||||
public String orderNo;
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 物料代码
|
||||
*/
|
||||
public String partNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 物料名称
|
||||
*/
|
||||
public String partNameRdd;
|
||||
|
||||
/******
|
||||
*
|
||||
* 冻结数量
|
||||
*/
|
||||
public String qty;
|
||||
|
||||
/******
|
||||
*
|
||||
* 实盘数量
|
||||
*/
|
||||
public String factQty;
|
||||
|
||||
/******
|
||||
*
|
||||
* 条码
|
||||
*/
|
||||
public String sn;
|
||||
|
||||
|
||||
/******
|
||||
*
|
||||
* 仓库编码
|
||||
*/
|
||||
public String whNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 区域编码
|
||||
*/
|
||||
public String zoneNo;
|
||||
|
||||
/******
|
||||
*
|
||||
* 状态
|
||||
*/
|
||||
public String wmStatus;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsPartRelation;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 物料关系信息
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2019-09-27 15:18
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsPartRelationRepository extends BaseRepository<WmsPartRelation, Long> {
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsActionLogData;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsPrinterConfigure;
|
||||
|
||||
/**
|
||||
* @Description : 打印机配置
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @Date : 2019-09-26 12:03:00
|
||||
* @Modify :
|
||||
**/
|
||||
public interface WmsPrinterConfigureRepository extends BaseRepository<WmsPrinterConfigure, Long> {
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.BasVendor;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsPrintingQueue;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :待打印配置表
|
||||
* @Reference :
|
||||
* @Author : jessica.chen
|
||||
* @CreateDate : 2019-09-27 14:49
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsPrintingQueueRepository extends BaseRepository<WmsPrintingQueue, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsSnOperateRecord;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description : 条码操作记录信息
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2019-09-27 17:07
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface WmsSnOperateRecordRepository extends BaseRepository<WmsSnOperateRecord, Long> {
|
||||
}
|
Loading…
Reference in New Issue