From 66f0b6533137599d69bee08fbc3f6f8865aec75e Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期四, 12 九月 2024 11:23:02 +0800
Subject: [PATCH] update

---
 jrj/project/business/Product.list.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/jrj/project/business/Product.list.cpp b/jrj/project/business/Product.list.cpp
index ca9b3d6..183d0aa 100644
--- a/jrj/project/business/Product.list.cpp
+++ b/jrj/project/business/Product.list.cpp
@@ -652,7 +652,7 @@
 
 		xml x ;
 		xaserverarg arg;
-		arg.setNativePointer(arg.CreateInstance());
+		
 		xstring str = L"<Item update.modify='1' update.delete='1' guid='" + id + L"'/>";
 		arg.AddArg(L"content", str);
 		if (xurl::get(L"/sale/data/ProductLibrary/image/update", arg.GetString(), x) != 1)
@@ -792,7 +792,7 @@
 		xstring guid = e.getAttribute(L"guid");
 		if (guid == L"") return 1;
 		xaserverarg arg;
-		arg.setNativePointer(arg.CreateInstance());
+		
 		arg.AddArg(L"guid", e.getAttribute(L"guid"));
 		if (name == L"个人产品")
 			arg.AddArg(L"FolderID", e.getAttribute(L"guid"));
@@ -925,9 +925,9 @@
 			}
 			content += L"</data>";
 			xaserverarg carg;
-			carg.setNativePointer(carg.CreateInstance());
+			
 			carg.AddArg(L"content", content);
-			OpenWindow(L"dev:xpage[SO.Simulation.Import.vx]", (LPARAM) & carg);
+			OpenWindow(L"dev:xpage[SO.Simulation.Import.vx]",  carg);
 			return 1;
 		}
 		else if (comdid == L"xmEnquiry")
@@ -942,9 +942,9 @@
 			}
 			content += L"</data>";
 			xaserverarg carg;
-			carg.setNativePointer(carg.CreateInstance());
+			
 			carg.AddArg(L"content", content);
-			OpenWindow(L"dev:xpage[Enquiry.Import.vx]", (LPARAM)&carg);
+			OpenWindow(L"dev:xpage[Enquiry.Import.vx]", carg);
 			return 1;
 		}
 		else if (comdid == L"xmPurchar")

--
Gitblit v1.9.3