浏览代码

修改bug

姚云青 3 年之前
父节点
当前提交
d4ca2e5d58

+ 2 - 2
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/mq/TaskWorkNode.java

@@ -812,10 +812,10 @@ public class TaskWorkNode {
             } else if (count == 1) {
                 targetStorge = msgUtil.redis_get(DemoCacheKey.YUNJIAN_CAMP + "_" + DemoLineConstant.YUNJIAN_TARGET_STORE + taskNode.getId()) == null ? null : (Storge) msgUtil.redis_get(DemoCacheKey.YUNJIAN_CAMP + "_" + DemoLineConstant.YUNJIAN_TARGET_STORE + taskNode.getId());
                 dataMap.put("method", "SendServoStacker");
-                dataMap.put("toStorge", targetStorge.getPointId());
+                dataMap.put("toStorge", targetStorge);
 
                 Map locationMap = new HashMap();
-                locationMap.put("location", targetStorge);
+                locationMap.put("location", targetStorge.getPointId());
                 dataMap.put("data", locationMap);
             }
             dataMap.put("result", true);