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/Supplier3.list.cpp |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/jrj/project/business/Supplier3.list.cpp b/jrj/project/business/Supplier3.list.cpp
index 47dda23..fc5f033 100644
--- a/jrj/project/business/Supplier3.list.cpp
+++ b/jrj/project/business/Supplier3.list.cpp
@@ -244,7 +244,7 @@
 		xml x;
 
 		xaserverarg arg;
-		arg.setNativePointer(arg.CreateInstance());
+		
 		arg.AddArg(L"guid", sguid);
 		arg.AddArg(L"EntityID", sguid);
 		//	trace(sguid);
@@ -280,7 +280,7 @@
 		xml x;
 
 		xaserverarg arg;
-		arg.setNativePointer(arg.CreateInstance());
+		
 		arg.AddArg(L"EntityID", entity);
 
 
@@ -413,23 +413,23 @@
 		}
 		if (comdid == L"action:bill.Annex")
 		{
-			xaserverarg& arg = *new xaserverarg;
-			arg.setNativePointer(arg.CreateInstance());
+			xaserverarg arg ;
+			
 			arg.AddArg(L"entityid", dw_list.GetItemString(dw_list.GetRow(), L"SupplierID"));
 			arg.AddArg(L"ApplyStatus", dw_list.GetItemString(dw_list.GetRow(), L"ApplyStatus"));
 
-			OpenWindow(L"dev:xpage[maint.Document.Supplier.v3.vx]", (LPARAM)&arg);
+			OpenWindow(L"dev:xpage[maint.Document.Supplier.v3.vx]", arg);
 			return 1;
 		}
 		if (comdid == L"action:bill.AnnexEx")
 		{
-			xaserverarg& arg4 = *new xaserverarg;
-			arg4.setNativePointer(arg4.CreateInstance());
+			xaserverarg arg4;
+			
 			arg4.AddArg(L"entityid", dw_list.GetItemString(dw_list.GetRow(), L"SupplierID"));
 			//arg4.AddArg(L"ApplyStatus",dw_list.GetItemString(dw_list.GetRow(),L"ApplyStatus"));
 
 			//OpenWindow(L"dev:xpage[maint.Document.Customer.v3.vx]", p4);
-			OpenWindow(L"dev:xpage[maint.Document.SupplierSD.v3.vx]", (LPARAM)&arg4);
+			OpenWindow(L"dev:xpage[maint.Document.SupplierSD.v3.vx]", arg4);
 			return 1;
 		}
 		if (comdid == L"action:bill.checked")

--
Gitblit v1.9.3