diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetailEntity.java b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetailEntity.java index df29a0d..3fa26b6 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetailEntity.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/domain/WmsInPlanDetailEntity.java @@ -72,6 +72,9 @@ public class WmsInPlanDetailEntity extends BaseEntity { * 库位名称 */ private String cellName; + private String cellX; + private String cellY; + private String cellZ; /** * 明细批次 */ @@ -186,6 +189,30 @@ public class WmsInPlanDetailEntity extends BaseEntity { this.cellName = cellName; } + public String getCellX() { + return cellX; + } + + public void setCellX(String cellX) { + this.cellX = cellX; + } + + public String getCellY() { + return cellY; + } + + public void setCellY(String cellY) { + this.cellY = cellY; + } + + public String getCellZ() { + return cellZ; + } + + public void setCellZ(String cellZ) { + this.cellZ = cellZ; + } + public String getDetailBatch() { return detailBatch; } @@ -237,6 +264,9 @@ public class WmsInPlanDetailEntity extends BaseEntity { .append("planType", getPlanType()) .append("cellCode", getCellCode()) .append("cellName", getCellName()) + .append("cellX", getCellX()) + .append("cellY", getCellY()) + .append("cellZ", getCellZ()) .append("warehouseName", getWarehouseName()) .append("warehouseCode", getWarehouseCode()) .append("warehouseTypeName", getWarehouseTypeName()) diff --git a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanDetailEntityServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanDetailEntityServiceImpl.java index 71f1331..9182d82 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanDetailEntityServiceImpl.java +++ b/ktg-mes/src/main/java/com/ktg/mes/wm/service/impl/WmsInPlanDetailEntityServiceImpl.java @@ -79,6 +79,9 @@ public class WmsInPlanDetailEntityServiceImpl implements IWmsInPlanDetailEntityS // 设置库位信息 entity.setCellCode(wmStorageArea.getAreaCode()); entity.setCellName(wmStorageArea.getAreaName()); + entity.setCellX(wmStorageArea.getPositionX().toString()); + entity.setCellY(wmStorageArea.getPositionY().toString()); + entity.setCellZ(wmStorageArea.getPositionZ().toString()); // 查询库区信息 WmStorageLocation wmStorageLocation = wmStorageLocationMapper.selectWmStorageLocationByLocationId(wmStorageArea.getLocationId()); // 查询库房信息