|
@@ -454,6 +454,12 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
wcsTask.setExt8(token.toString());
|
|
|
wcsTask.setExt7(flowConfigHeaderVO.getId().toString());
|
|
|
wcsTask.setExt6(StringUtils.isNotEmpty(agvCallDTO.getToArea()) ? agvCallDTO.getToArea() : "");
|
|
|
+ // 三向车叉尺方向(货叉朝左1,朝右2,中位或其他0)
|
|
|
+ // 我们系统A是靠马路也就是叉尺的右边
|
|
|
+ if (locationFrom.getZoneId() != null
|
|
|
+ && locationFrom.getZoneId() == Constant.ZONE_TYPE.STORAGE.getValue()) {
|
|
|
+ wcsTask.setExt4(locationFrom.getRowNo().equals("A") ? "2" : "1");
|
|
|
+ }
|
|
|
wcsTask.setExtParam(agvCallDTO.getExtParam());
|
|
|
wcsTaskList.add(wcsTask);
|
|
|
businessService.addTask(wcsTask);
|
|
@@ -592,6 +598,7 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
amsTask.setExt1(wcsTask.getExt1());
|
|
|
amsTask.setExt2(wcsTask.getExt2());
|
|
|
amsTask.setExt3(wcsTask.getExt3());
|
|
|
+ amsTask.setExt4(wcsTask.getExt4());
|
|
|
if (wcsTask.getBusinessType().equals("m")) {
|
|
|
//m类消息特殊处理
|
|
|
wcsTask.setState(2L);
|