From 1f4cc2ce99905952e1cf111b27fecae636748b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E5=BB=B6=E5=8D=8E?= Date: Tue, 9 Apr 2024 10:56:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dp2weixin.service/dp2WeiXinService.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dp2weixin.service/dp2WeiXinService.cs b/dp2weixin.service/dp2WeiXinService.cs index ba9a41d8..782579f3 100644 --- a/dp2weixin.service/dp2WeiXinService.cs +++ b/dp2weixin.service/dp2WeiXinService.cs @@ -3452,9 +3452,13 @@ private int SendArrived(XmlDocument bodyDom, // && string.IsNullOrEmpty(lib.comment) == false // && lib.comment.IndexOf("OnshelfArrivedNoNotice") != -1) + // 2024/1/15 修改 + if (lib.IsSendArrivedNotice == null) + lib.IsSendArrivedNotice = "Y"; + // //2020/3/22 改为直接使用变量 // 2023/11/2 改为一个丰富信息的字符串 - if (lib.IsSendArrivedNotice.Contains("N") == true) + if (lib.IsSendArrivedNotice != null && lib.IsSendArrivedNotice.Contains("N") == true) { if (lib.IsSendArrivedNotice == "N")