فهرست منبع

增加计算进度通知

dsx 2 سال پیش
والد
کامیت
42f4ac9ada
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      src/main/java/com/fdkankan/contro/mq/service/impl/BuildSceneProgressServiceImpl.java

+ 2 - 0
src/main/java/com/fdkankan/contro/mq/service/impl/BuildSceneProgressServiceImpl.java

@@ -111,6 +111,7 @@ public class BuildSceneProgressServiceImpl implements IBuildSceneProgressService
                         }
                     }
                     if (complete) {
+                        log.info("1111111111111111");
                         mainProgress = 90;
                         Map<String, Object> params = new HashMap<>();
                         params.put("website", website);
@@ -123,6 +124,7 @@ public class BuildSceneProgressServiceImpl implements IBuildSceneProgressService
                         HttpUtil.post(buildProgressUrl, JSON.toJSONString(params), 2000);
                         watchMonitor.interrupt();
                     } else {
+                        log.info("222222222222222");
                         int progress = new BigDecimal(projectJson.getDouble("progress")).multiply(new BigDecimal(100)).intValue();
                         log.info("当前进度为,progress:{}",progress);
                         if (progress - mainProgress >= 10) {