From d27e8f1c8b5310814e46bc55d1ff869b0c62ec67 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期一, 16 九月 2024 10:03:48 +0800
Subject: [PATCH] update

---
 jrj/project/business/Enquiry.list.cpp |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/jrj/project/business/Enquiry.list.cpp b/jrj/project/business/Enquiry.list.cpp
index dc72830..0896f61 100644
--- a/jrj/project/business/Enquiry.list.cpp
+++ b/jrj/project/business/Enquiry.list.cpp
@@ -76,8 +76,8 @@
 		
 		xml x ;
 
-		xaserverarg& arg = *new xaserverarg;
-		arg.setNativePointer(arg.CreateInstance());	
+		xaserverarg arg;
+		
 		arg.AddArg(L"scene",scene,L"xs:xstring"); 
 		arg.AddArg(L"EntityID",EntityID,L"xs:xstring"); 
 		arg.AddArg(L"EntityName",GetEntityName(1),L"xs:xstring"); 
@@ -359,7 +359,7 @@
 		xml x ;
 		
 		xaserverarg arg ;
-		arg.setNativePointer(arg.CreateInstance());	
+		
 		
 		dw_pricelistex.DwUpdateAllToEx(x);
 		if(x.xml()!=L"")
@@ -447,7 +447,7 @@
 		return 1;
 	}
 			
-	int ViewUpdate(int pr,xstring updateItem,xaserverarg  arg)
+	int ViewUpdate(LPARAM  pr,xstring updateItem,xaserverarg  arg)
 	{
 		if(	updateItem==L"del")
 		{
@@ -1670,7 +1670,7 @@
 				{
 					arg.AddArg(L"CustomerID",e.getAttribute(L"id"));
 					xstring name = e.getAttribute(L"name");
-					if(name.find(L"(L")>=0) name = name.left(name.find(L"(L"));
+					if(name.find(L"(")>=0) name = name.left(name.find(L"("));
 					arg.AddArg(L"CustomerName",name);
 				}
 			}

--
Gitblit v1.9.3