【BATCH录入检测值-需要变更】
parent
911236ef8e
commit
72817fca4a
@ -0,0 +1,42 @@
|
|||||||
|
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 : BH检测大类表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-05-22 11:14
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="QMS_CHECK_TYPE")
|
||||||
|
@Api("BH检测大类表")
|
||||||
|
public class QmsCheckType extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name = "CHECK_TYPE_CODE")
|
||||||
|
@ApiParam("检测大类代码")
|
||||||
|
private String checkTypeCode;
|
||||||
|
|
||||||
|
@Column(name = "CHECK_TYPE_NAME")
|
||||||
|
@ApiParam("检测大类名称")
|
||||||
|
private String checkTypeName;
|
||||||
|
|
||||||
|
@Column(name="REMARK")
|
||||||
|
@ApiParam(value ="备注")
|
||||||
|
private String remark;
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||||
|
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 : BH库存条码扩展表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-05-22 13:22
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="QMS_STOCK_SN_EXT_BH")
|
||||||
|
@Api("BH检测大类表")
|
||||||
|
public class QmsStockSnExtBh extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name="sn")
|
||||||
|
@ApiParam("条码")
|
||||||
|
private String sn;
|
||||||
|
|
||||||
|
@Column(name="BATCH_NO")
|
||||||
|
@ApiParam("BATCH号")
|
||||||
|
private String batchNo;
|
||||||
|
|
||||||
|
@Column(name="BH_TYPE")
|
||||||
|
@ApiParam("BH类型")
|
||||||
|
@AnnoOutputColumn(refClass = WmsEnumUtil.FG_INSTOCK_SN_TYPE.class)
|
||||||
|
private Integer bhType;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,66 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||||
|
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 : 2020-05-22 9:41
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="WMS_SERIAL_SN")
|
||||||
|
@Api("产品条码表")
|
||||||
|
public class WmsSerialSn extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name="BATCH_NO")
|
||||||
|
@ApiParam("BATCH号")
|
||||||
|
private String batchNo;
|
||||||
|
|
||||||
|
@Column(name="STOCK_SN")
|
||||||
|
@ApiParam("库存条码")
|
||||||
|
private String stockSn;
|
||||||
|
|
||||||
|
@Column(name="SERIAL_SN")
|
||||||
|
@ApiParam("产品条码")
|
||||||
|
private String serialSn;
|
||||||
|
|
||||||
|
@Column(name="SRC_STOCK_SN")
|
||||||
|
@ApiParam("源库存条码")
|
||||||
|
private String srcStockSn;
|
||||||
|
|
||||||
|
@Column(name="BH_TYPE")
|
||||||
|
@ApiParam("BH类型")
|
||||||
|
@AnnoOutputColumn(refClass = WmsEnumUtil.FG_INSTOCK_SN_TYPE.class)
|
||||||
|
private Integer bhType;
|
||||||
|
|
||||||
|
@Column(name="PART_NO")
|
||||||
|
@ApiParam("物料号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name="PART_NAME_RDD")
|
||||||
|
@ApiParam("物料名称")
|
||||||
|
private String partNameRdd;
|
||||||
|
|
||||||
|
@Column(name="qty")
|
||||||
|
@ApiParam("数量")
|
||||||
|
private Double qty;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,61 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.annotation.AnnoOutputColumn;
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import cn.estsh.i3plus.pojo.base.enumutil.WmsEnumUtil;
|
||||||
|
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 : 2020-05-22 9:42
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="WMS_SERIAL_SN_TRANS")
|
||||||
|
@Api("班次信息")
|
||||||
|
public class WmsSerialSnTrans extends BaseBean {
|
||||||
|
|
||||||
|
@Column(name="SERIAL_SN")
|
||||||
|
@ApiParam("产品条码")
|
||||||
|
private String serialSn;
|
||||||
|
|
||||||
|
@Column(name="BH_TYPE")
|
||||||
|
@ApiParam("BH类型")
|
||||||
|
@AnnoOutputColumn(refClass = WmsEnumUtil.FG_INSTOCK_SN_TYPE.class)
|
||||||
|
private Integer bhType;
|
||||||
|
|
||||||
|
@Column(name="PART_NO")
|
||||||
|
@ApiParam("物料号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name="PART_NAME_RDD")
|
||||||
|
@ApiParam("物料名称")
|
||||||
|
private String partNameRdd;
|
||||||
|
|
||||||
|
@Column(name="SRC_STOCK_SN")
|
||||||
|
@ApiParam("源库存条码")
|
||||||
|
private String srcStockSn;
|
||||||
|
|
||||||
|
@Column(name="DEST_STOCK_SN")
|
||||||
|
@ApiParam("目标库存条码")
|
||||||
|
private String destStockSn;
|
||||||
|
|
||||||
|
@Column(name="TRANS_TYPE")
|
||||||
|
@ApiParam("操作类型")
|
||||||
|
private Integer transType;
|
||||||
|
}
|
@ -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.QmsCheckType;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : BH检测大类表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-05-22 11:17
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface QmsCheckTypeRepository extends BaseRepository<QmsCheckType,Long> {
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.QmsStockSnExtBh;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : BH库存条码扩展表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-05-22 13:24
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
public interface QmsStockSnExtBhRepository extends BaseRepository<QmsStockSnExtBh,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.WmsSerialSn;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 产品条码表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-05-22 9:44
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsSerialSnRepository extends BaseRepository<WmsSerialSn,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.WmsSerialSnTrans;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 产品条码事务表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jimmy.zeng
|
||||||
|
* @CreateDate : 2020-05-22 9:43
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsSerialSnTransRepository extends BaseRepository<WmsSerialSnTrans,Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue