From f22bb7edb66856f3d1b6e44d6f6b170848a48dd7 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期二, 16 七月 2024 08:37:26 +0800
Subject: [PATCH] updte

---
 jrj/project/business/VATNotify/list.vatnotify.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/jrj/project/business/VATNotify/list.vatnotify.cpp b/jrj/project/business/VATNotify/list.vatnotify.cpp
index 4ea5cfd..bda9215 100644
--- a/jrj/project/business/VATNotify/list.vatnotify.cpp
+++ b/jrj/project/business/VATNotify/list.vatnotify.cpp
@@ -69,7 +69,7 @@
 			xaserverarg arg;
 			if (colname == L"SONo")
 			{
-				xstring SONo = dw_list.GetItemString(row, colname);
+				xstring SONo = dw_list.GetItemString(row, colname.c_str());
 				;
 				
 				arg.AddArg(L"EntityNo", SONo);
@@ -78,7 +78,7 @@
 			}
 			if (colname == L"InvoiceNo")
 			{
-				xstring InvoiceNo = dw_list.GetItemString(row, colname);
+				xstring InvoiceNo = dw_list.GetItemString(row, colname.c_str());
 				;
 				
 				arg.AddArg(L"EntityNo", InvoiceNo);
@@ -239,7 +239,7 @@
 			}
 			else if (comdid == L"find")
 			{
-				m_QueryTxt = GetControl(L"txt").GetText();
+				m_QueryTxt = xcontrol(GetControl(L"txt")).GetText();
 				return OnRetrieve(DatePicker);
 			}
 			else if (comdid == L"xmRefresh")
@@ -286,10 +286,10 @@
 			
 			DWNMHDR& hdr = *(DWNMHDR*)evt->notify.pnmh;
 
-			int h = xcombobox::GetCurSel(evt.hCtrl);
+			int h = xcombobox::GetCurSel(evt->command.hCtrl);
 			if (h > -1)
 			{
-				xstring txt = xcombobox::GetLBText(evt.hCtrl, h);
+				xstring txt = xcombobox::GetLBText(evt->command.hCtrl, h);
 				if (txt == L"通知日期")
 				{
 
@@ -338,7 +338,7 @@
 			{
 				//trace(x.xml);
 				KXMLDOMElement ele = x.documentElement();
-				if (dw_pages.ptr_native_)
+				if (dw_pages.getNativePointer())
 				{
 					if (ele.selectSingleNode(L"@TotalPage"))
 					{

--
Gitblit v1.9.3