Skip to content

Commit

Permalink
整理代码
Browse files Browse the repository at this point in the history
  • Loading branch information
renyh committed Apr 9, 2024
1 parent 3da1743 commit 1f4cc2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dp2weixin.service/dp2WeiXinService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 1f4cc2c

Please sign in to comment.