From e3488c13f1bcbcd39f8b9b267a3897fcc0d838aa Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 21 八月 2024 14:56:53 +0800
Subject: [PATCH] update sign

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

diff --git a/jrj/project/business/VATNotify/list.vatinvoice.cpp b/jrj/project/business/VATNotify/list.vatinvoice.cpp
index f4a5f8c..7f299f7 100644
--- a/jrj/project/business/VATNotify/list.vatinvoice.cpp
+++ b/jrj/project/business/VATNotify/list.vatinvoice.cpp
@@ -52,12 +52,12 @@
 			return 1;
 		}
 		
-		xstring GetEntityName(int pr)
+		xstring GetEntityName(LPARAM pr)
 		{
 			return L"VATInvoice3";
 		}
 		
-		xstring GetEntityIDName(int /*param*/ pr)
+		xstring GetEntityIDName(LPARAM /*param*/ pr)
 		{
 			return L"VTAInvoiceID";
 		}
@@ -98,7 +98,7 @@
 			int h = xcombobox::GetCurSel(evt->command.hCtrl);
 			if(h > -1) 
 			{
-				xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h);
+				xstring txt = (string)xcombobox::GetLBText(evt->command.hCtrl, h);
 				if(txt==L"增值税票")
 				{
 					dw_list.openUrl(L"/sale/view/VATNotify/template/VATInvoice/list");
@@ -203,7 +203,7 @@
 			int h = xcombobox::GetCurSel(evt->command.hCtrl);
 			if(h > -1) 
 			{
-				xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h);
+				xstring txt = (string)xcombobox::GetLBText(evt->command.hCtrl, h);
 				if(txt==L"出运日期")
 				{
 				
@@ -283,7 +283,7 @@
 			xml x ;
 			
 			xaserverarg arg ;
-			arg.setNativePointer(arg.CreateInstance());	
+			
 			arg.AddArg(L"QueryTxt",xcontrol(GetControl(L"sle_search")).GetText());
 			arg.AddArg(L"QueryArg",GetQueryArg());
 			arg.AddArg(L"DatePicker",DatePicker);

--
Gitblit v1.9.3