|
@@ -196,7 +196,7 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
return AjaxResult.success("任务下发成功");
|
|
|
} catch (Exception e) {
|
|
|
redisCache.unlockCacheObject(token); // 异常捕获的话就不能释放锁
|
|
|
- throw new ServiceException(e.getMessage(), token);
|
|
|
+ throw new ServiceException("agvCall任务下发失败:" + e.getMessage(), token);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -334,7 +334,7 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
break;
|
|
|
}
|
|
|
if (locationInfo == null) {
|
|
|
- throw new ServiceException("目标点没有可以分配的库位", token);
|
|
|
+ throw new ServiceException("入库目标点没有可以分配的库位", token);
|
|
|
}
|
|
|
}
|
|
|
} else if (type.equals("SO")) {
|
|
@@ -351,7 +351,7 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
break;
|
|
|
}
|
|
|
if (locationInfo == null) {
|
|
|
- throw new ServiceException("起始点没有可以分配的库存!", token);
|
|
|
+ throw new ServiceException("出库起始点没有可以分配的库存!", token);
|
|
|
}
|
|
|
|
|
|
} else { //目标库位
|
|
@@ -366,7 +366,7 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
break;
|
|
|
}
|
|
|
if (locationInfo == null) {
|
|
|
- throw new ServiceException("目标点没有可以分配的库位", token);
|
|
|
+ throw new ServiceException("出库目标点没有可以分配的库位", token);
|
|
|
}
|
|
|
}
|
|
|
} else { //移库
|
|
@@ -389,7 +389,7 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
} else {
|
|
|
//如果未启用策略则进行判断
|
|
|
if (locationInfo == null) {
|
|
|
- throw new ServiceException("没有可以分配的库位", token);
|
|
|
+ throw new ServiceException("移库没有可以分配的库位", token);
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -411,7 +411,7 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
} else {
|
|
|
//如果未启用策略则进行判断
|
|
|
if (locationInfo == null) {
|
|
|
- throw new ServiceException("没有可以分配的库位", token);
|
|
|
+ throw new ServiceException("移库没有可以分配的库位", token);
|
|
|
}
|
|
|
}
|
|
|
}
|