Merge remote-tracking branch 'origin/dev' into dev
commit
75e744e07e
@ -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.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/5/28 14:32
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PRODUCE_ERROR_RECORD")
|
||||
@Api("生产异常操作记录")
|
||||
public class MesProduceErrorRecord extends BaseBean {
|
||||
private static final long serialVersionUID = 209753108845613052L;
|
||||
|
||||
@Column(name = "ERROR_TYPE")
|
||||
@ApiParam("异常类型 10:工序跳过 20:工步跳过")
|
||||
private Integer errorType;
|
||||
|
||||
@Column(name = "SERIAL_NUMBER")
|
||||
@ApiParam("过程条码")
|
||||
private String serialNumber;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("产线代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位代码")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "PROCESS_CODE")
|
||||
@ApiParam("工序代码")
|
||||
private String processCode;
|
||||
|
||||
@Column(name = "STEP_CODE")
|
||||
@ApiParam("工步代码")
|
||||
private String stepCode;
|
||||
|
||||
@Column(name = "STATUS_CODE")
|
||||
@ApiParam("状态点代码")
|
||||
private String statusCode;
|
||||
|
||||
|
||||
}
|
@ -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.MesProduceErrorRecord;
|
||||
|
||||
/**
|
||||
* @Description :IF_JIT发运数据
|
||||
* @Reference :
|
||||
* @Author : qianhuasheng
|
||||
* @CreateDate : 2020-03-06 10:57 上午
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesProduceErrorRecordRepository extends BaseRepository<MesProduceErrorRecord, Long> {
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jimmy.zeng
|
||||
* @CreateDate : 2020-06-02 9:27
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
public class WmsLocateModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 2433931236774158401L;
|
||||
|
||||
@ApiParam(value = "箱数")
|
||||
public Long snBoxQty;
|
||||
|
||||
@ApiParam(value = "最大包装数量")
|
||||
public Integer maxPackageQty;
|
||||
|
||||
@ApiParam(value = "库位利用率值")
|
||||
public Double proportionValue;
|
||||
|
||||
@ApiParam(value = "库位代码")
|
||||
public String locateNo;
|
||||
|
||||
@ApiParam(value = "库位名称")
|
||||
public String locateName;
|
||||
|
||||
@ApiParam(value = "存储区代码")
|
||||
public String zoneNo;
|
||||
|
||||
@ApiParam(value = "存储区名称")
|
||||
public String zoneName;
|
||||
|
||||
@ApiParam(value = "仓库代码")
|
||||
public String whNo;
|
||||
|
||||
@ApiParam(value = "仓库名称")
|
||||
public String whNoName;
|
||||
|
||||
@ApiParam(value = "组织代码")
|
||||
public String organizeCode;
|
||||
|
||||
@ApiParam(value = "库位利用率")
|
||||
public Integer proportion;
|
||||
|
||||
public WmsLocateModel(Long snBoxQty, Integer maxPackageQty, Double proportionValue,
|
||||
String locateNo, String locateName, String zoneNo,
|
||||
String zoneName, String whNo, String whNoName, String organizeCode) {
|
||||
this.snBoxQty = snBoxQty;
|
||||
this.maxPackageQty = maxPackageQty;
|
||||
this.proportionValue = proportionValue;
|
||||
this.locateNo = locateNo;
|
||||
this.locateName = locateName;
|
||||
this.zoneNo = zoneNo;
|
||||
this.zoneName = zoneName;
|
||||
this.whNo = whNo;
|
||||
this.whNoName = whNoName;
|
||||
this.organizeCode = organizeCode;
|
||||
}
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.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.ColumnDefault;
|
||||
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 : jason.niu
|
||||
* @CreateDate : 2020-05-28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "SWEB_MOVEMENT_TO_WMS")
|
||||
@Api("库存移动单处理成功后的记录")
|
||||
public class SwebMovementToWms extends BaseBean {
|
||||
private static final long serialVersionUID = -8089219927352225317L;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单号")
|
||||
public String orderNo;
|
||||
|
||||
@Column(name = "ITEM")
|
||||
@ApiParam("行号")
|
||||
public String item;
|
||||
|
||||
@Column(name = "VENDOR_NO")
|
||||
@ApiParam(value = "供应商编号")
|
||||
private String vendorNo;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
public String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "QTY", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "需求数量", example = "0")
|
||||
public Double qty;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam("单位")
|
||||
public String unit;
|
||||
|
||||
@Column(name = "SRC_WH_NO")
|
||||
@ApiParam("源仓库代码")
|
||||
public String srcWhNo;
|
||||
|
||||
@Column(name = "DEST_ZONE_NO")
|
||||
@ApiParam("目标存储区代码")
|
||||
public String destZoneNo;
|
||||
|
||||
/**
|
||||
* 移动类型:IN=入库,OUT=出库,MOVE=移库
|
||||
*/
|
||||
@Column(name = "MOVE_TYPE")
|
||||
@ApiParam("移动类型")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.OUT_MOVEMENT_MOVE_TYPE.class, refForeignKey = "value", value = "description")
|
||||
public Integer moveType;
|
||||
/**
|
||||
* 业务类型:RC=收货,QC=质检,IN=入库,ZI=杂收,ZO=杂发,
|
||||
* VJ=供应商退货,CJ=客户退货,WP=工单领料,WJ=工单退料,
|
||||
* MI=移库入库,MO=移库出库,SO=发运
|
||||
*/
|
||||
@Column(name = "BUSI_TYPE")
|
||||
@ApiParam("业务类型")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.OUT_MOVEMENT_BUSI_TYPE.class, refForeignKey = "value", value = "description")
|
||||
public Integer busiType;
|
||||
|
||||
/**
|
||||
* 状态:1=创建,10=待处理,20=已处理
|
||||
*/
|
||||
@Column(name="ITEM_STATUS")
|
||||
@ApiParam(value = "状态", example = "0")
|
||||
public Integer itemStatus;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.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;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2020-05-28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "SWEB_PO_TO_WMS")
|
||||
@Api("库存移动单处理成功后的记录")
|
||||
public class SwebPoToWms extends BaseBean {
|
||||
|
||||
private static final long serialVersionUID = -3999194389200855165L;
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单号")
|
||||
public String orderNo;
|
||||
|
||||
@Column(name = "VERSION")
|
||||
@ApiParam("版本")
|
||||
public String version;
|
||||
|
||||
@Column(name = "ITEM")
|
||||
@ApiParam("行号")
|
||||
private Integer item;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料编码")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME_RDD")
|
||||
@ApiParam("物料名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "QTY", columnDefinition = "decimal(18,8)", nullable = false)
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "需求数量", example = "0")
|
||||
private Double qty;
|
||||
|
||||
@Column(name = "VENDOR_NO")
|
||||
@ApiParam("供应商")
|
||||
private String vendorNo;
|
||||
|
||||
@Column(name = "PRINT_QTY", columnDefinition = "decimal(18,8)", nullable = false)
|
||||
@ColumnDefault("0")
|
||||
@ApiParam(value = "条码打印数量", example = "0")
|
||||
private Double printQty;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam("单位")
|
||||
private String unit;
|
||||
|
||||
@Column(name = "PLAN_DATE")
|
||||
@ApiParam("计划交货日期")
|
||||
private String planDate;
|
||||
|
||||
@Column(name = "PLAN_TIME")
|
||||
@ApiParam("计划交货时间")
|
||||
private String planTime;
|
||||
|
||||
@Column(name = "ERP_AREA_NO")
|
||||
@ApiParam("默认收货库存地")
|
||||
private String erpAreaNo;
|
||||
|
||||
@Column(name = "SNP", columnDefinition = "decimal(18,8)")
|
||||
@ApiParam("标准包装")
|
||||
private Double snp;
|
||||
|
||||
/**
|
||||
* 状态:1=创建,10=待处理,20=已处理
|
||||
*/
|
||||
@Column(name="ITEM_STATUS")
|
||||
@ApiParam(value = "状态", example = "0")
|
||||
public Integer itemStatus;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.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 : jason.niu
|
||||
* @CreateDate : 2020-05-28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_MOVEMENT_TO_SWEB")
|
||||
@Api("库存移动单处理成功后的记录")
|
||||
public class WmsMovementToSweb extends BaseBean {
|
||||
private static final long serialVersionUID = 49215041475324487L;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单号")
|
||||
public String orderNo;
|
||||
|
||||
/**
|
||||
* 状态:1=创建,10=待处理,20=已处理
|
||||
*/
|
||||
@Column(name="ITEM_STATUS")
|
||||
@ApiParam(value = "状态", example = "0")
|
||||
public Integer itemStatus;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.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 : jason.niu
|
||||
* @CreateDate : 2020-05-28
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_PO_TO_SWEB")
|
||||
@Api("库存移动单处理成功后的记录")
|
||||
public class WmsPoToSweb extends BaseBean {
|
||||
private static final long serialVersionUID = 4710841067412420270L;
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("单号")
|
||||
public String orderNo;
|
||||
|
||||
/**
|
||||
* 状态:1=创建,10=待处理,20=已处理
|
||||
*/
|
||||
@Column(name="ITEM_STATUS")
|
||||
@ApiParam(value = "状态", example = "0")
|
||||
public Integer itemStatus;
|
||||
|
||||
@Column(name = "SYNC_STATUS")
|
||||
@ApiParam("同步状态")
|
||||
private Integer syncStatus;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.sweb.bean.SwebMovementToWms;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface SwebMovementToWmsRepository extends BaseRepository<SwebMovementToWms, Long> {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.sweb.bean.SwebPoToWms;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface SwebPoToWmsRepository extends BaseRepository<SwebPoToWms, Long> {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.sweb.bean.WmsMovementToSweb;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface WmsMovementToSwebRepository extends BaseRepository<WmsMovementToSweb, Long> {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.sweb.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.sweb.bean.WmsPoToSweb;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface WmsPoToSwebRepository extends BaseRepository<WmsPoToSweb, Long> {
|
||||
}
|
Loading…
Reference in New Issue