|
@@ -455,11 +455,16 @@ public class BusinessServiceImpl implements IBusinessService {
|
|
|
wcsTask.setExt7(flowConfigHeaderVO.getId().toString());
|
|
|
wcsTask.setExt6(StringUtils.isNotEmpty(agvCallDTO.getToArea()) ? agvCallDTO.getToArea() : "");
|
|
|
// 三向车叉尺方向(货叉朝左1,朝右2,中位或其他0)
|
|
|
- // 我们系统A是靠马路也就是叉尺的右边
|
|
|
+ // 如果起始点是仓储区,左1,右2,我们系统A是靠马路也就是叉尺的右边
|
|
|
if (locationFrom.getZoneId() != null
|
|
|
&& locationFrom.getZoneId() == Constant.ZONE_TYPE.STORAGE.getValue()) {
|
|
|
wcsTask.setExt4(locationFrom.getRowNo().equals("A") ? "2" : "1");
|
|
|
}
|
|
|
+ // 如果起始点是接驳位,默认给1
|
|
|
+ if (locationFrom.getZoneId() != null
|
|
|
+ && locationFrom.getZoneId() == Constant.ZONE_TYPE.TRANSIT.getValue()) {
|
|
|
+ wcsTask.setExt4("1");
|
|
|
+ }
|
|
|
wcsTask.setExtParam(agvCallDTO.getExtParam());
|
|
|
wcsTaskList.add(wcsTask);
|
|
|
businessService.addTask(wcsTask);
|