入库扫码添加高度
This commit is contained in:
@@ -17,4 +17,6 @@ public class RequestEnter {
|
|||||||
private String warehouseId;
|
private String warehouseId;
|
||||||
|
|
||||||
private String roadwayId;
|
private String roadwayId;
|
||||||
|
|
||||||
|
private Integer height;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -195,7 +195,10 @@ public class ToWmsServiceImpl implements IToWmsService {
|
|||||||
if (StrUtil.isEmpty(requestEnter.getTrayCode())) {
|
if (StrUtil.isEmpty(requestEnter.getTrayCode())) {
|
||||||
return AjaxResult.error("托盘条码不能为空");
|
return AjaxResult.error("托盘条码不能为空");
|
||||||
}
|
}
|
||||||
log.info("扫码内容{}", requestEnter.getTrayCode());
|
if (requestEnter.getHeight()==0) {
|
||||||
|
return AjaxResult.error("未检测到入库高度");
|
||||||
|
}
|
||||||
|
log.info("扫码内容{},入库高度{}", requestEnter.getTrayCode(), requestEnter.getHeight());
|
||||||
|
|
||||||
MydoJob param = new MydoJob();
|
MydoJob param = new MydoJob();
|
||||||
param.setStatus("1");
|
param.setStatus("1");
|
||||||
@@ -210,6 +213,11 @@ public class ToWmsServiceImpl implements IToWmsService {
|
|||||||
BasCargoSpace basCargoSpaceParam = new BasCargoSpace();
|
BasCargoSpace basCargoSpaceParam = new BasCargoSpace();
|
||||||
basCargoSpaceParam.setWarehouseId(mydoJob.getWarehouseId());
|
basCargoSpaceParam.setWarehouseId(mydoJob.getWarehouseId());
|
||||||
basCargoSpaceParam.setRoadwayId(mydoJob.getRoadwayId());
|
basCargoSpaceParam.setRoadwayId(mydoJob.getRoadwayId());
|
||||||
|
if (requestEnter.getHeight()==1){
|
||||||
|
basCargoSpaceParam.setCargoHight("975");
|
||||||
|
}else {
|
||||||
|
basCargoSpaceParam.setCargoHight("1519");
|
||||||
|
}
|
||||||
BasCargoSpace basCargoSpace = basCargoSpaceService.selectEmptyCargoSpaceByWarehouseId(basCargoSpaceParam);
|
BasCargoSpace basCargoSpace = basCargoSpaceService.selectEmptyCargoSpaceByWarehouseId(basCargoSpaceParam);
|
||||||
if (ObjUtil.isNull(basCargoSpace)){
|
if (ObjUtil.isNull(basCargoSpace)){
|
||||||
return AjaxResult.error("没有空货位");
|
return AjaxResult.error("没有空货位");
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = "ForTucky WMS system"
|
VUE_APP_TITLE = "WMS system"
|
||||||
|
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
ENV = 'development'
|
ENV = 'development'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = "ForTucky WMS system"
|
VUE_APP_TITLE = "WMS system"
|
||||||
|
|
||||||
# 生产环境配置
|
# 生产环境配置
|
||||||
ENV = 'production'
|
ENV = 'production'
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# 页面标题
|
# 页面标题
|
||||||
VUE_APP_TITLE = "ForTucky WMS system"
|
VUE_APP_TITLE = "WMS system"
|
||||||
|
|
||||||
BABEL_ENV = production
|
BABEL_ENV = production
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user