|
@@ -675,21 +675,21 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
BaseLocationZone basLocationZoneTo = null;
|
|
|
|
|
|
//起始库位
|
|
|
- basLocationInfoFrom = baseLocationInfoService.selectBaseLocationInfoById(Long.parseLong(wcsTask.getLocationFrom()));
|
|
|
+// basLocationInfoFrom = baseLocationInfoService.selectBaseLocationInfoById(Long.parseLong(wcsTask.getLocationFrom()));
|
|
|
//目标库位
|
|
|
// BaseLocationInfo locationInfoTo = baseLocationInfoService.selectBaseLocationInfoById(Long.parseLong(wcsTask.getLocationTo()));
|
|
|
//TODO 前置任务未完成不进行下发
|
|
|
- if (businessService.taskDispatchCheck(wcsTask) == false) {
|
|
|
- return false;
|
|
|
- }
|
|
|
+// if (businessService.taskDispatchCheck(wcsTask) == false) {
|
|
|
+// return false;
|
|
|
+// }
|
|
|
|
|
|
- if (basLocationInfoFrom != null) {
|
|
|
+// if (basLocationInfoFrom != null) {
|
|
|
|
|
|
- if (basLocationInfoFrom.getIsEmpty().equals("Y")) {
|
|
|
- wcsTask.setRemark("起始库位为空无法进行任务");
|
|
|
- wcsTaskService.updateWcsTask(wcsTask);
|
|
|
- return false;
|
|
|
- }
|
|
|
+// if (basLocationInfoFrom.getIsEmpty().equals("Y")) {
|
|
|
+// wcsTask.setRemark("起始库位为空无法进行任务");
|
|
|
+// wcsTaskService.updateWcsTask(wcsTask);
|
|
|
+// return false;
|
|
|
+// }
|
|
|
|
|
|
//起始库位巷道检测(起始库位检测是否同巷道)
|
|
|
// if (!StringUtils.isEmpty(basLocationInfoFrom.getColNo())) {
|
|
@@ -700,7 +700,7 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
// return false;
|
|
|
// }
|
|
|
// }
|
|
|
- }
|
|
|
+// }
|
|
|
|
|
|
//起始库位是地堆需要判断是否有阻挡
|
|
|
// if (basLocationInfoFrom.getLocationType().equals("2")) {
|