Merge branch 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo
commit
7a403a37da
@ -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,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,81 @@
|
|||||||
|
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;
|
||||||
|
}
|
@ -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,35 @@
|
|||||||
|
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 channel, String device, String tag) {
|
||||||
|
this.channel = channel;
|
||||||
|
this.device = device;
|
||||||
|
this.tag = tag;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPlcCacheKey() {
|
||||||
|
return channel + ":" + 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,72 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.wms;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class wmsCSOrderDetailsModel implements Serializable {
|
||||||
|
|
||||||
|
|
||||||
|
/******
|
||||||
|
*
|
||||||
|
* 库位编码
|
||||||
|
*/
|
||||||
|
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,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,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,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,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