姚云青 3 éve
szülő
commit
a5c95112fb

+ 2 - 2
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/productionResourceCenter/service/impl/RobotNodeServiceImpl.java

@@ -417,7 +417,7 @@ public class RobotNodeServiceImpl implements NodeOperationService {
 
                         //满足条件--机器人空闲,设备或线边库有一个空闲
                         Map locationMap = new HashMap();
-                        locationMap.put("location",startStore);
+                        locationMap.put("location",targetStorge);
                         dataMap.put("Data", locationMap);
                         dataMap.put("method", "MoveRobotPosition");
                     }
@@ -469,7 +469,7 @@ public class RobotNodeServiceImpl implements NodeOperationService {
                     dataMap.put("fromStorge", startStore);
 
                     Map locationMap = new HashMap();
-                    locationMap.put("location",startStore);
+                    locationMap.put("location",targetStorge);
                     dataMap.put("Data", locationMap);
                     // TODO 有问题,需要区分是否是第一步上料
                     //出入库类型