From 878fd6c0ea1119ab1d9b8133b63450e518492f48 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" Date: Wed, 22 May 2024 17:15:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=95=86=E5=9C=BA=E6=8E=A8?= =?UTF-8?q?=E9=80=81=E7=9A=84=E5=8F=96=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../receiver/BusinessPreOrderDataQueueHandler.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/BusinessPreOrderDataQueueHandler.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/BusinessPreOrderDataQueueHandler.java index 870d02087..fa0e8408b 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/BusinessPreOrderDataQueueHandler.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/BusinessPreOrderDataQueueHandler.java @@ -17,6 +17,7 @@ import org.springblade.core.tool.api.R; import org.springblade.core.tool.utils.BeanUtil; import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.ObjectUtil; +import org.springblade.core.tool.utils.StringUtil; import org.springblade.system.entity.Tenant; import org.springblade.system.feign.ISysClient; import org.springframework.amqp.core.Message; @@ -47,7 +48,11 @@ public class BusinessPreOrderDataQueueHandler { public void businessPreOrderDataHandler(Map map, Message message, Channel channel) { - String mallName = "仁寿欧派大家居"; + String mallName = ""; + + if(StringUtil.isBlank(mallName)){ + return ; + } Long t = (Long) map.get("messageData"); if (ObjectUtil.isEmpty(t)) {