diff --git a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/utils/SendMqMsgUtils.java b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/utils/SendMqMsgUtils.java index 7d9889d77b..45493abcc8 100644 --- a/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/utils/SendMqMsgUtils.java +++ b/epmet-commons/epmet-commons-tools/src/main/java/com/epmet/commons/tools/utils/SendMqMsgUtils.java @@ -41,7 +41,6 @@ public class SendMqMsgUtils { } log.info("sendMsg param:{}", JSON.toJSONString(msg)); try { - // TODO ValidatorUtils.validateEntity(msg, DefaultGroup.class); } catch (ValidateException e) { return new Result().error(e.getMsg()); @@ -53,9 +52,8 @@ public class SendMqMsgUtils { int retryTime = 0; Result result = null; do { - retryTime++; result = HttpClientManager.getInstance().sendPostByHttps(msg.getRequestUrl(), JSON.toJSONString(msg)); - log.info("sendMsg retryTime:{},result:{}", retryTime, JSON.toJSONString(result)); + log.info("sendMsg retryTime:{},result:{}", retryTime++, JSON.toJSONString(result)); } while ((!result.success()) && retryTime < 2); if (result.success()) { diff --git a/epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/topic/service/impl/TopicDraftServiceImpl.java b/epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/topic/service/impl/TopicDraftServiceImpl.java index 5946e51a52..ff8d6efb7a 100644 --- a/epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/topic/service/impl/TopicDraftServiceImpl.java +++ b/epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/topic/service/impl/TopicDraftServiceImpl.java @@ -983,6 +983,7 @@ public class TopicDraftServiceImpl extends BaseServiceImpl