From 5f091a1882b2af4ec0de77e395064861ab5dc076 Mon Sep 17 00:00:00 2001 From: chengqf <584883665@139.com> Date: Sat, 8 Apr 2023 16:20:05 +0800 Subject: [PATCH] =?UTF-8?q?id=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/glxp/api/idc/service/impl/IdcServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);