Browse Source

增加商场推送的取消

master
pref_mail@163.com 8 months ago
parent
commit
878fd6c0ea
  1. 7
      blade-service/logpm-distribution/src/main/java/com/logpm/distribution/receiver/BusinessPreOrderDataQueueHandler.java

7
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.BeanUtil;
import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.Func;
import org.springblade.core.tool.utils.ObjectUtil; import org.springblade.core.tool.utils.ObjectUtil;
import org.springblade.core.tool.utils.StringUtil;
import org.springblade.system.entity.Tenant; import org.springblade.system.entity.Tenant;
import org.springblade.system.feign.ISysClient; import org.springblade.system.feign.ISysClient;
import org.springframework.amqp.core.Message; import org.springframework.amqp.core.Message;
@ -47,7 +48,11 @@ public class BusinessPreOrderDataQueueHandler {
public void businessPreOrderDataHandler(Map map, Message message, Channel channel) { public void businessPreOrderDataHandler(Map map, Message message, Channel channel) {
String mallName = "仁寿欧派大家居"; String mallName = "";
if(StringUtil.isBlank(mallName)){
return ;
}
Long t = (Long) map.get("messageData"); Long t = (Long) map.get("messageData");
if (ObjectUtil.isEmpty(t)) { if (ObjectUtil.isEmpty(t)) {

Loading…
Cancel
Save