浏览代码

临时注释掉

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

+ 1 - 0
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/productionResourceCenter/service/impl/ZZoneServiceImpl.java

@@ -209,6 +209,7 @@ public class ZZoneServiceImpl extends SuperServiceImpl<ZZoneMapper, ZZone> imple
                         TaskNode taskNode = taskNodeList.get(0);
                         jsonObject.put("taskNodeId",taskNode.getId().toString());
                         jsonObject.put("bizType", BizConstant.MQ_TASK_NODE_TYPE_COMMON);
+                        System.err.println("切换模式===========推送mq队列{}消息{}"+jsonObject.toString());
                         log.info("推送mq队列{}消息{}",taskNode.getResourceId().toString(),jsonObject.toString());
                         dynamicRabbitMq.sendMsg(taskNode.getResourceId().toString(),jsonObject.toString());
                     }

+ 2 - 0
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/util/MsgUtil.java

@@ -114,6 +114,8 @@ public class MsgUtil implements ApplicationContextAware {
                 BBom bom = bBomMapper.selectById(task.getBomId());
                 ZZone bomzZone = zoneService.getById(bom.getZoneId());
                 Long exchangeProcedureId = currWorkpiece.getExchangeProcedureId();
+
+                System.err.println("***************************");
                 //如果是手动模式,执行完当前工序就不往下走了
                 if("2".equals(bomzZone.getRunMode())&&exchangeProcedureId.longValue()!=nextTaskNode.getProcedureId().longValue()){
                     return;