合并冲突
commit
658885ade5
@ -0,0 +1,25 @@
|
||||
package cn.estsh.i3plus.pojo.mes.model;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2020/2/21 17:20
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Api("工位监控观察者对象")
|
||||
public class PcsObserverStatusModel {
|
||||
|
||||
@ApiParam("产线")
|
||||
private String workCenterCode;
|
||||
|
||||
@ApiParam("运行状况")
|
||||
private Boolean runningStatus;
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsLocate;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description 3D可视化仓库-盘点状况分布图交互数据模型
|
||||
* @Reference
|
||||
* @Author dragon
|
||||
* @CreateDate 2020/2/21 18:39
|
||||
* @Modify
|
||||
*/
|
||||
@Data
|
||||
public class WmsCsStatusModel implements Serializable {
|
||||
private static final long serialVersionUID = 1321068307797279909L;
|
||||
|
||||
private List<WmsLocate> noInventoryLocateList;
|
||||
|
||||
private List<WmsLocate> factTransLocateList;
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsStockSn;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 批量修改修改条码打印数量
|
||||
* @author puxiao.liao
|
||||
*/
|
||||
@Data
|
||||
public class WmsPoSnPrintModel implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 5306382160072353831L;
|
||||
|
||||
@ApiParam("数量")
|
||||
private Double qty;
|
||||
|
||||
@ApiParam("打印条码")
|
||||
private List<WmsStockSn> wmsStockSnList;
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package cn.estsh.i3plus.pojo.model.wms;
|
||||
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsFurniture;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsLocate;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsZones;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description 3D存储区MoDel
|
||||
* @Reference
|
||||
* @Author dragon
|
||||
* @CreateDate 2019/10/18 1:18
|
||||
* @Modify
|
||||
*/
|
||||
@Data
|
||||
public class WmsThreeDimenZoneModel implements Serializable {
|
||||
private static final long serialVersionUID = -5490167040159056107L;
|
||||
private WmsZones wmsZones;
|
||||
private List<WmsFurniture> furnitureList;
|
||||
private List<WmsLocate> locateList;
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
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;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :盘点策略表
|
||||
* @Reference :
|
||||
* @Author :QianHuaSheng
|
||||
* @CreateDate : 2020-02-17 10:13 上午
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name = "WMS_CS_STRATEGY", indexes = {
|
||||
})
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Api(value = "盘点策略表", description = "盘点策略表")
|
||||
public class WmsCsStrategy extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -1692487594678973549L;
|
||||
|
||||
@Column(name = "STRATEGY_NAME")
|
||||
@ApiParam(value = "策略名称")
|
||||
private String strategyName;
|
||||
|
||||
@Column(name = "part_type")
|
||||
@ApiParam(value = "物料分类")
|
||||
private String partType;
|
||||
|
||||
@Column(name = "STRATEGY_TYPE")
|
||||
@ApiParam(value = "策略分类", example = "0")
|
||||
@AnnoOutputColumn(refClass = WmsEnumUtil.CS_STRATEGY_TYPE.class, refForeignKey = "value", value = "description")
|
||||
private Integer strategyType;
|
||||
|
||||
@Column(name = "CYCLE_RULE")
|
||||
@ApiParam(value = "循环规则")
|
||||
private String cycleRule;
|
||||
|
||||
@Column(name = "START_DATE")
|
||||
@ApiParam(value = "开始日期", example = "0")
|
||||
private String startDate;
|
||||
|
||||
@Column(name = "END_DATE")
|
||||
@ApiParam(value = "结束日期", example = "0")
|
||||
private String endDate;
|
||||
|
||||
@Column(name = "NUM_MAX")
|
||||
@ApiParam(value = "明细数量上限")
|
||||
private Integer numMax;
|
||||
|
||||
@Column(name = "COVERAGE_RATE")
|
||||
@ApiParam(value = "抽盘覆盖率")
|
||||
private Double coverageRate;
|
||||
|
||||
@Column(name = "ZONE_NOS")
|
||||
@ApiParam(value = "存储区")
|
||||
private String zoneNos;
|
||||
|
||||
@Column(name = "LOCATES")
|
||||
@ApiParam(value = "盘点库位")
|
||||
private String locates;
|
||||
|
||||
@Column(name = "last_run_time")
|
||||
@ApiParam(value = "上次运行时间")
|
||||
private String lastRunTime;
|
||||
|
||||
@Column(name = "next_run_time")
|
||||
@ApiParam(value = "下次运行时间")
|
||||
private String nextRunTime;
|
||||
|
||||
@Column(name = "REMAKE")
|
||||
@ApiParam(value = "备注")
|
||||
private String remake;
|
||||
}
|
@ -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 dragon
|
||||
* @CreateDate 2020/2/20 10:42
|
||||
* @Modify
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_FURNITURE")
|
||||
@Api("家具表")
|
||||
public class WmsFurniture extends BaseBean {
|
||||
private static final long serialVersionUID = -8428899843794155828L;
|
||||
|
||||
@Column(name = "WH_NO")
|
||||
@ApiParam(value = "仓库代码")
|
||||
private String whNo;
|
||||
|
||||
@Column(name = "ZONE_NO")
|
||||
@ApiParam(value = "存储区代码")
|
||||
private String zoneNo;
|
||||
|
||||
@Column(name = "TYPE_CODE")
|
||||
@ApiParam(value = "家具类型编号")
|
||||
private String typeCode;
|
||||
|
||||
@Column(name = "FURNITURE_NO")
|
||||
@ApiParam(value = "家具代码")
|
||||
private String furnitureNo;
|
||||
|
||||
@Column(name = "IS_SAVE_GOODS")
|
||||
@ApiParam(value = "是否储物")
|
||||
private Integer isSaveGoods;
|
||||
|
||||
public int getIsSaveGoodsVal() {
|
||||
return this.isSaveGoods == null ? 0 : this.isSaveGoods;
|
||||
}
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
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 dragon
|
||||
* @CreateDate 2020/2/20 10:42
|
||||
* @Modify
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "WMS_FURNITURE_TYPE")
|
||||
@Api("家具类型表")
|
||||
public class WmsFurnitureType extends BaseBean {
|
||||
private static final long serialVersionUID = 3573734032905328327L;
|
||||
|
||||
@Column(name = "TYPE_CODE")
|
||||
@ApiParam(value = "类型编号")
|
||||
private String typeCode;
|
||||
|
||||
@Column(name = "TYPE_NAME")
|
||||
@ApiParam(value = "类型名称")
|
||||
private String typeName;
|
||||
|
||||
@Column(name = "FNT_LENGTH", columnDefinition = "decimal(18,8)")
|
||||
@ApiParam(value = "长")
|
||||
private Double fntLength;
|
||||
|
||||
@Column(name = "FNT_WIDTH", columnDefinition = "decimal(18,8)")
|
||||
@ApiParam(value = "宽")
|
||||
private Double fntWidth;
|
||||
|
||||
@Column(name = "FNT_HEIGHT", columnDefinition = "decimal(18,8)")
|
||||
@ApiParam(value = "高")
|
||||
private Double fntHeight;
|
||||
|
||||
@Column(name = "STOREY")
|
||||
@ApiParam(value = "层")
|
||||
private Integer storey;
|
||||
|
||||
@Column(name = "FNT_COL")
|
||||
@ApiParam(value = "列")
|
||||
private Integer fntCol;
|
||||
|
||||
@Column(name = "IS_SAVE_GOODS")
|
||||
@ApiParam(value = "是否储物")
|
||||
private Integer isSaveGoods;
|
||||
|
||||
public Double getFntLengthVal() {
|
||||
return this.fntLength == null ? 0 : this.fntLength.doubleValue();
|
||||
}
|
||||
public Double getFntWidthVal() {
|
||||
return this.fntWidth == null ? 0 : this.fntWidth.doubleValue();
|
||||
}
|
||||
public Double getFntHeightVal() {
|
||||
return this.fntHeight == null ? 0 : this.fntHeight.doubleValue();
|
||||
}
|
||||
|
||||
}
|
@ -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.WmsCsStrategy;
|
||||
|
||||
/**
|
||||
* @Description : 盘点策略表
|
||||
* @Reference :
|
||||
* @Author :QianHuaSheng
|
||||
* @CreateDate : 2018-11-17 15:53
|
||||
* @Modify:
|
||||
**/
|
||||
public interface WmsCsStrategyRepository extends BaseRepository<WmsCsStrategy, 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.WmsFurniture;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description 家具对象DAO层
|
||||
* @Reference
|
||||
* @Author dragon
|
||||
* @CreateDate 2020/2/20 10:56
|
||||
* @Modify
|
||||
*/
|
||||
@Repository
|
||||
public interface WmsFurnitureRepository extends BaseRepository<WmsFurniture, 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.WmsFurnitureType;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description 家具类型对象DAO层
|
||||
* @Reference
|
||||
* @Author dragon
|
||||
* @CreateDate 2020/2/20 10:56
|
||||
* @Modify
|
||||
*/
|
||||
@Repository
|
||||
public interface WmsFurnitureTypeRepository extends BaseRepository<WmsFurnitureType, Long> {
|
||||
}
|
Loading…
Reference in New Issue