From 958ef84eeb24aa77ac535cf70aa3d3f30cb2a59d Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期五, 20 九月 2024 14:23:23 +0800
Subject: [PATCH] update

---
 jrj/project/business/VATNotify/simple.maint.vatnotify.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp
index cac6ab8..2f46136 100644
--- a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp
+++ b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp
@@ -45,7 +45,7 @@
 			return 1;
 		}
 
-		xstring  GetEntityData(int pr)
+		xstring  GetEntityData(LPARAM  pr)
 		{
 			xml x ;
 			dw_item.AcceptText();
@@ -63,7 +63,7 @@
 
 		int OnPrint()
 		{
-			xaserverarg& arg = *new xaserverarg;
+			xaserverarg  arg;
 			
 			arg.AddArg(L"EntityName", L"VATNotify");
 			arg.AddArg(L"EntityID", L"", L"");
@@ -74,13 +74,13 @@
 			arg.AddArg(L"SupplierID", SupplierID);
 			arg.AddArg(L"VATNotifyID", L"");
 			
-			openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg);
+			openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg);
 			return 1;
 		}
 
 		int OnPrintItem()
 		{
-			xaserverarg& arg = *new xaserverarg;
+			xaserverarg arg;
 			
 			arg.AddArg(L"EntityName", L"VATNotify", L"");
 			arg.AddArg(L"EntityID", L"", L"");
@@ -92,7 +92,7 @@
 			arg.AddArg(L"VATNotifyID", dw_item.GetGuid(dw_item.GetRow()));
 			trace(InvoiceNo + L"====L" + dw_item.GetGuid(dw_item.GetRow()));
 			
-			openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", &arg);
+			openUrl(L"/sale/view/view.base/xpage/Template/PrintViewEx", arg);
 			return 1;
 		}
 

--
Gitblit v1.9.3