From 21319ddec29d33a7da88e1c95c75900ccb8500e7 Mon Sep 17 00:00:00 2001 From: "pref_mail@163.com" <123456> Date: Fri, 1 Sep 2023 17:29:30 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=88=A4=E6=96=AD=E5=A6=82=E6=9E=9C=E6=98=AF?= =?UTF-8?q?=E6=A2=A6=E5=A4=A9=E8=80=81=E7=9A=84=E8=AE=A2=E5=8D=95=E4=B8=8D?= =?UTF-8?q?=E8=BF=9B=E8=A1=8C=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../factory/mt/service/impl/MtFactoryDataServiceImpl.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java b/blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java index 6c563c7e9..adeb89f2c 100644 --- a/blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java +++ b/blade-service/logpm-factory/src/main/java/com/logpm/factory/mt/service/impl/MtFactoryDataServiceImpl.java @@ -33,6 +33,7 @@ import org.springblade.common.exception.CustomerException; import org.springblade.core.redis.cache.BladeRedis; import org.springblade.core.tool.api.R; import org.springblade.core.tool.api.ResultCode; +import org.springblade.core.tool.utils.Func; import org.springblade.core.tool.utils.StringUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Lazy; @@ -460,6 +461,12 @@ public class MtFactoryDataServiceImpl implements IMtFactoryDataService { } logger.info("#############sendReceiveInfo:tag{}", 10); + if(mtReceiveContentDTOList.size()==0){ + logger.info("############# 没有找到需要配推送的订单包件"); + + return R.success(""); + } + //签收信息数据存入头部数据 mtReceiveDTO.setReceiveContentList(mtReceiveContentDTOList);