3D可视化仓库
parent
709db0b573
commit
7f161e3bae
@ -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,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,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,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