|
|
|
@ -743,6 +743,12 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
log.warn("##############upShelfPackage: 货区不存在 goodsAreaId={}",goodsAreaId); |
|
|
|
|
return R.fail(403,"货区不存在"); |
|
|
|
|
} |
|
|
|
|
String areaType = goodsAreaEntity.getAreaType(); |
|
|
|
|
if("1".equals(areaType)){ |
|
|
|
|
log.warn("#################upShelfPackage: 备货区不能上下架 goodsAreaId={}",goodsAreaId); |
|
|
|
|
throw new CustomerException(403,"备货区不能上下架"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Long wid = goodsAreaEntity.getWarehouseId(); |
|
|
|
|
BasicdataWarehouseEntity warehouseEntity = basicdataWarehouseClient.getEntityWarehouseId(wid); |
|
|
|
|
if(Objects.isNull(warehouseEntity)){ |
|
|
|
@ -848,6 +854,11 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
log.warn("##############upShelfTray: 货区不存在 goodsAreaId={}",goodsAreaId); |
|
|
|
|
return R.fail(403,"货区不存在"); |
|
|
|
|
} |
|
|
|
|
String areaType = goodsAreaEntity.getAreaType(); |
|
|
|
|
if("1".equals(areaType)){ |
|
|
|
|
log.warn("#################upShelfTray: 备货区不能上下架 goodsAreaId={}",goodsAreaId); |
|
|
|
|
throw new CustomerException(403,"备货区不能上下架"); |
|
|
|
|
} |
|
|
|
|
Long wid = goodsAreaEntity.getWarehouseId(); |
|
|
|
|
BasicdataWarehouseEntity warehouseEntity = basicdataWarehouseClient.getEntityWarehouseId(wid); |
|
|
|
|
if(Objects.isNull(warehouseEntity)){ |
|
|
|
@ -913,6 +924,11 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
log.warn("##############upShelfOrder: 货区不存在 goodsAreaId={}",goodsAreaId); |
|
|
|
|
return R.fail(403,"货区不存在"); |
|
|
|
|
} |
|
|
|
|
String areaType = goodsAreaEntity.getAreaType(); |
|
|
|
|
if("1".equals(areaType)){ |
|
|
|
|
log.warn("#################upShelfOrder: 备货区不能上下架 goodsAreaId={}",goodsAreaId); |
|
|
|
|
throw new CustomerException(403,"备货区不能上下架"); |
|
|
|
|
} |
|
|
|
|
Long wid = goodsAreaEntity.getWarehouseId(); |
|
|
|
|
BasicdataWarehouseEntity warehouseEntity = basicdataWarehouseClient.getEntityWarehouseId(wid); |
|
|
|
|
if(Objects.isNull(warehouseEntity)){ |
|
|
|
@ -1065,6 +1081,12 @@ public class WarehouseUpdownTypeServiceImpl extends BaseServiceImpl<WarehouseUpd
|
|
|
|
|
log.warn("##############upShelfOrder: 货区不存在 goodsAreaId={}",goodsAreaId); |
|
|
|
|
return R.fail(403,"货区不存在"); |
|
|
|
|
} |
|
|
|
|
String areaType = goodsAreaEntity.getAreaType(); |
|
|
|
|
if("1".equals(areaType)){ |
|
|
|
|
log.warn("#################upShelfOrder: 备货区不能上下架 goodsAreaId={}",goodsAreaId); |
|
|
|
|
throw new CustomerException(403,"备货区不能上下架"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Long wid = goodsAreaEntity.getWarehouseId(); |
|
|
|
|
BasicdataWarehouseEntity warehouseEntity = basicdataWarehouseClient.getEntityWarehouseId(wid); |
|
|
|
|
if(Objects.isNull(warehouseEntity)){ |
|
|
|
|