diff --git a/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java b/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java index 199377ed..85c033a9 100644 --- a/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java +++ b/src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java @@ -667,7 +667,7 @@ public class IdcServiceImpl implements IdcService { Map map = new HashMap<>(); map.put("type", json.get("messageType")); map.put("id", json.get("messageId")); - if (json.get("id") == null) + if (json.get("messageId") == null) map.put("id", CustomUtil.getId()); map.put("transportType", scheduleType == 0 ? "1" : "2"); map.put("scheduleType", scheduleType);