From e8e75983cb92f84a32658b0e783d224ee35518c9 Mon Sep 17 00:00:00 2001 From: gu_renkai Date: Wed, 16 Nov 2022 09:29:23 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E3=80=90=E4=BC=81=E4=B8=9A=E5=BE=AE?= =?UTF-8?q?=E4=BF=A1=E3=80=91=E4=BF=AE=E5=A4=8D=E4=B8=8D=E5=90=8C=E7=9A=84?= =?UTF-8?q?=E6=B6=88=E6=81=AF=E6=8E=A8=E9=80=81=E4=BC=9A=E5=88=A4=E6=96=AD?= =?UTF-8?q?=E4=B8=BA=E9=87=8D=E5=A4=8D=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../me/chanjar/weixin/cp/message/WxCpMessageRouter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/message/WxCpMessageRouter.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/message/WxCpMessageRouter.java index 8728c7c90f..e2daeab546 100644 --- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/message/WxCpMessageRouter.java +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/message/WxCpMessageRouter.java @@ -14,10 +14,7 @@ import me.chanjar.weixin.cp.bean.message.WxCpXmlOutMessage; import org.apache.commons.lang3.StringUtils; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; +import java.util.*; import java.util.concurrent.*; /** @@ -274,6 +271,9 @@ private boolean isMsgDuplicated(WxCpXmlMessage wxMessage) { .append("-").append(wxMessage.getCreateTime()) .append("-").append(wxMessage.getFromUserName()); } + if (Objects.nonNull(wxMessage.getApprovalInfo())) { + append(messageId, wxMessage.getApprovalInfo().getSpNo()); + } append(messageId, wxMessage.getUserId()); append(messageId, wxMessage.getChangeType()); append(messageId, wxMessage.getTagId());