From f6d9155a4a0cf27fd5732314b70109cbc090ccf8 Mon Sep 17 00:00:00 2001
From: wxw <Administrator@DESKTOP-5BIMHQ3>
Date: 星期二, 04 十一月 2025 08:06:10 +0800
Subject: [PATCH] Merge branch 'master' of http://47.95.120.53:8083/r/JC34WMS
---
Wms/Utility/Tools/HttpHelper.cs | 27 ++++++++++++++++++++++++---
1 files changed, 24 insertions(+), 3 deletions(-)
diff --git a/Wms/Utility/Tools/HttpHelper.cs b/Wms/Utility/Tools/HttpHelper.cs
index 050dc00..1614f8c 100644
--- a/Wms/Utility/Tools/HttpHelper.cs
+++ b/Wms/Utility/Tools/HttpHelper.cs
@@ -217,14 +217,35 @@
//淇敼鍙傛暟鐨勫��
foreach (var de in Pars)
{
- string subNode = "DataList/Product/Batch";// + de.Key.ToString();
+ string subNode = "DataList/Events/Event/Relation/Batch";// + de.Key.ToString();
XmlNode node = xml.SelectSingleNode(subNode, nsmgr);
if (de != null)
{
XmlNode createNode = xml.CreateNode(XmlNodeType.Element, "Data", "");
- XmlAttribute attr = xml.CreateAttribute("code");
- attr.Value = de;
+ XmlAttribute attr = xml.CreateAttribute("Code"); //绠辩爜
+ attr.Value = de.Split(",")[0];
+ createNode.Attributes.Append(attr);
+ attr = xml.CreateAttribute("CorpOrderID"); //鍗曟嵁鍙�
+ attr.Value = de.Split(",")[1];
+ createNode.Attributes.Append(attr);
+ attr = xml.CreateAttribute("Actor"); //鎿嶄綔浜�
+ attr.Value = de.Split(",")[2];
+ createNode.Attributes.Append(attr);
+ attr = xml.CreateAttribute("ActDate"); //鎿嶄綔鏃堕棿
+ attr.Value = de.Split(",")[3];
+ createNode.Attributes.Append(attr);
+ attr = xml.CreateAttribute("DisCorpID"); //杩愯緭浼佷笟
+ attr.Value = "";
+ createNode.Attributes.Append(attr);
+ attr = xml.CreateAttribute("AssCorpID"); //濮旀墭浼佷笟
+ attr.Value = "";
+ createNode.Attributes.Append(attr);
+ attr = xml.CreateAttribute("ToCorpID"); // 涓嬫父鏀惰揣浼佷笟缂栧彿
+ attr.Value = "";
+ createNode.Attributes.Append(attr);
+ attr = xml.CreateAttribute("FromPerson");//鍙戣揣浜�
+ attr.Value = ""; //de.Split(",")[2]
createNode.Attributes.Append(attr);
node.AppendChild(createNode);
}
--
Gitblit v1.8.0