From 0a9a7113e7f8f07e79e8bfa65efb0a513a81a4d6 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期一, 08 七月 2024 17:26:00 +0800
Subject: [PATCH] update

---
 jrj/project/business/AP/APNew3.warizd.cpp                    |    8 ++++----
 jrj/project/business/Public/search.dialog.cpp                |    2 +-
 jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp |    8 ++++----
 jrj/ext-jrj/ext-jrj.vcxproj                                  |    4 ++--
 jrj/project/business/AP/Select.AP.cpp                        |    2 +-
 jrj/project/business/AP/list.ap.cpp                          |    4 ++--
 jrj/project/business/Public/message.business.cpp             |    0 
 7 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/jrj/ext-jrj/ext-jrj.vcxproj b/jrj/ext-jrj/ext-jrj.vcxproj
index d8d70a7..a38f618 100644
--- a/jrj/ext-jrj/ext-jrj.vcxproj
+++ b/jrj/ext-jrj/ext-jrj.vcxproj
@@ -401,7 +401,7 @@
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\project\business\Public\search.dialog.cpp">
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\project\business\Public\SupplierUserGroupPersonSelect.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
@@ -520,7 +520,7 @@
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\project\business\VATNotify\update.vatnotify.cpp">
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\project\business\VATNotify\VATNotifyParse.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
diff --git a/jrj/project/business/AP/APNew3.warizd.cpp b/jrj/project/business/AP/APNew3.warizd.cpp
index 5beeecb..deaedf2 100644
--- a/jrj/project/business/AP/APNew3.warizd.cpp
+++ b/jrj/project/business/AP/APNew3.warizd.cpp
@@ -352,7 +352,7 @@
 				index++;
 				if (index == 1)
 				{
-					GetControl(L"sle_filter").SetText(L"");
+					xcontrol(GetControl(L"sle_filter")).SetText(L"");
 					xstring str = L"";
 					if (str != searchStr)
 					{
@@ -460,7 +460,7 @@
 				if (NInvoiceNo != InvoiceNo)
 				{
 					hdr.mask = DMS_CSSSTYLE;
-					hdr.cssstyle = L"color:#ff0000";
+					hdr.pCssStyle = (LPTSTR)L"color:#ff0000";
 				}
 			}
 			return 1;
@@ -575,7 +575,7 @@
 			
 			xaserverarg arg;
 			
-			arg.AddArg(L"QueryTxt", GetControl(L"sle_search").GetText());
+			arg.AddArg(L"QueryTxt", xcontrol(GetControl(L"sle_search")).GetText());
 
 			xcombobox cbx_type = GetControl(L"cbx_ship");
 			int h = xcombobox::GetCurSel(cbx_type.GetHWND());
@@ -601,7 +601,7 @@
 
 		int OnFilter()
 		{
-			xstring str = GetControl(L"sle_filter").GetText();
+			xstring str = xcontrol(GetControl(L"sle_filter")).GetText();
 			if (str != searchStr)
 			{
 				searchStr = str;
diff --git a/jrj/project/business/AP/Select.AP.cpp b/jrj/project/business/AP/Select.AP.cpp
index a33f245..e921b17 100644
--- a/jrj/project/business/AP/Select.AP.cpp
+++ b/jrj/project/business/AP/Select.AP.cpp
@@ -15,7 +15,7 @@
 		xnode	m_agentNode;	//Agent Condition
 
 	public:
-		APSelectDlg(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {}
+		APSelectDlg(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd), query(0){}
 	public:
 		static APSelectDlg* CreateInstance(void* implPtr, void* hWnd)
 		{
diff --git a/jrj/project/business/AP/list.ap.cpp b/jrj/project/business/AP/list.ap.cpp
index 9792b26..11b76e5 100644
--- a/jrj/project/business/AP/list.ap.cpp
+++ b/jrj/project/business/AP/list.ap.cpp
@@ -410,7 +410,7 @@
 			
 			xaserverarg arg;
 			
-			arg.AddArg(L"QueryTxt", GetControl(L"sle_search").GetText());
+			arg.AddArg(L"QueryTxt", xcontrol(GetControl(L"sle_search")).GetText());
 			arg.AddArg(L"APType", APType);
 			arg.AddArg(L"QueryArg", GetQueryArg());
 			arg.AddArg(L"DatePicker", DatePickerOne);
@@ -447,7 +447,7 @@
 			
 			xaserverarg arg;
 			
-			arg.AddArg(L"QueryTxt", GetControl(L"sle_search").GetText());
+			arg.AddArg(L"QueryTxt", xcontrol(GetControl(L"sle_search")).GetText());
 			arg.AddArg(L"APType", APType);
 			arg.AddArg(L"QueryArg", GetQueryArg());
 			arg.AddArg(L"DatePicker", DatePicker);
diff --git a/jrj/project/business/Public/message.business.cpp b/jrj/project/business/Public/message.business.cpp
index 7ac0ba1..3f13056 100644
--- a/jrj/project/business/Public/message.business.cpp
+++ b/jrj/project/business/Public/message.business.cpp
Binary files differ
diff --git a/jrj/project/business/Public/search.dialog.cpp b/jrj/project/business/Public/search.dialog.cpp
index 22d796e..726bcd2 100644
--- a/jrj/project/business/Public/search.dialog.cpp
+++ b/jrj/project/business/Public/search.dialog.cpp
@@ -13,7 +13,7 @@
 
 		xcontrol sle_1;
 	public:
-		SearchDlg(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {}
+		SearchDlg(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd), sle_1(0){}
 	public:
 		static SearchDlg* CreateInstance(void* implPtr, void* hWnd)
 		{
diff --git a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp
index 44a8e72..37be418 100644
--- a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp
+++ b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp
@@ -327,7 +327,7 @@
 		{
 			xml x ;
 			
-			xaserverarg arg = ViewObject::MakeArg();
+			xaserverarg arg;
 			arg.AddArg(L"ClassifyID", ClassifyID);
 			arg.AddArg(L"InvoiceNo", InvoiceNo);
 			arg.AddArg(L"InvoiceExcept", InvoiceNoExcept);
@@ -348,7 +348,7 @@
 		{
 			xml x ;
 			
-			xaserverarg arg = ViewObject::MakeArg();
+			xaserverarg arg;
 			arg.AddArg(L"ClassifyID", ClassifyID);
 			arg.AddArg(L"InvoiceNo", InvoiceNo);
 			arg.AddArg(L"InvoiceExcept", InvoiceNoExcept);
@@ -530,7 +530,7 @@
 			dw_item.AcceptText();
 			dw_item.DwUpdateAllToEx(x);
 
-			xml x0 = ViewObject::MakeXml();
+			xml x0;
 			x0.loadXML(L"<root/>");
 
 			KXMLDOMNodeList t = x.selectNodes(L"root/item[@update.modify]");
@@ -540,7 +540,7 @@
 			{
 				e1.appendChild(t.item(i));
 			}
-			xaserverarg arg = ViewObject::MakeArg();
+			xaserverarg arg;
 			arg.AddArg(L"content", x0.xml());
 
 			//trace(x.xml);

--
Gitblit v1.9.3