From 94d3840bda13f23c0cd4619a99ac215b74ffcd94 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 07 十一月 2024 13:54:14 +0800
Subject: [PATCH] update

---
 jrj/project/business/AP/list.ap.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/jrj/project/business/AP/list.ap.cpp b/jrj/project/business/AP/list.ap.cpp
index 8255260..8b315aa 100644
--- a/jrj/project/business/AP/list.ap.cpp
+++ b/jrj/project/business/AP/list.ap.cpp
@@ -71,12 +71,12 @@
 			return L"APID";
 		}
 
-		xstring GetEntityID(int /*param*/ pr)
+		xstring GetEntityID(LPARAM /*param*/ pr)
 		{
 			return dw_list.GetItemString(dw_list.GetRow(), L"APID");
 		}
 
-		int ViewUpdate(int pr, xstring updateItem, xaserverarg  arg)
+		int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg  arg)
 		{
 			if (updateItem == L"del")
 			{
@@ -446,8 +446,8 @@
 			xml x ;
 			
 			xaserverarg arg;
-			
-			arg.AddArg(L"QueryTxt", xcontrol(GetControl(L"sle_search")).GetText());
+			xstring queryText = xcontrol(GetControl(L"sle_search")).GetText();
+			arg.AddArg(L"QueryTxt", queryText);
 			arg.AddArg(L"APType", APType);
 			arg.AddArg(L"QueryArg", GetQueryArg());
 			arg.AddArg(L"DatePicker", DatePicker);

--
Gitblit v1.9.3