From 8426c53e13dfec7e19fec53614d6461a816dad2b Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期二, 09 七月 2024 10:29:42 +0800
Subject: [PATCH] update ap ar

---
 jrj/project/business/GDN/select.item.po.cpp                  |    0 
 jrj/project/business/VATNotify/list.vatnotify.cpp            |    4 ++--
 jrj/project/business/SO/delivery.base.maint.so.cpp           |    4 ++--
 jrj/project/business/Public/UserGroupShare.cpp               |    4 ++--
 jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp |    5 ++---
 jrj/project/business/VATNotify/simple.maint.vatnotify.cpp    |    5 ++---
 jrj/ext-jrj/ext-jrj.vcxproj                                  |    8 ++++----
 jrj/project/business/GDN3.maint.cpp                          |    8 ++++----
 jrj/project/business/AP/list.ap.cpp                          |    2 +-
 9 files changed, 19 insertions(+), 21 deletions(-)

diff --git a/jrj/ext-jrj/ext-jrj.vcxproj b/jrj/ext-jrj/ext-jrj.vcxproj
index ac47fa4..bc73fd8 100644
--- a/jrj/ext-jrj/ext-jrj.vcxproj
+++ b/jrj/ext-jrj/ext-jrj.vcxproj
@@ -336,7 +336,7 @@
     <ClCompile Include="..\project\business\HR\GraduationSchool.cpp" />
     <ClCompile Include="..\project\business\HR\GraduationSchoolWin.vx.cpp" />
     <ClCompile Include="..\project\business\HR\ManpowerFile.cpp">
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\project\business\HR\ManpowerFileWindow.cpp">
@@ -447,7 +447,7 @@
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">true</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\project\business\SO\maint.Document.SO3.v3.cpp">
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
+      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\project\business\SO\paymentterm.base.maint.so.cpp">
@@ -516,10 +516,10 @@
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\project\business\VATNotify\maint.papercard.vatnotify.cpp">
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\project\business\VATNotify\simple.maint.vatnotify.cpp">
-      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild>
+      <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
     </ClCompile>
     <ClCompile Include="..\project\business\VATNotify\update.vatnotify.cpp">
       <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild>
diff --git a/jrj/project/business/AP/list.ap.cpp b/jrj/project/business/AP/list.ap.cpp
index 79200b8..32b5155 100644
--- a/jrj/project/business/AP/list.ap.cpp
+++ b/jrj/project/business/AP/list.ap.cpp
@@ -162,7 +162,7 @@
 				if (row < 1) return 1;
 				KXMLDOMElement ele = dw_list.GetRowElement(row);
 				xstring APID = ele.selectSingleNode(L"APID").text();
-				ele.Release();
+				
 				xaserverarg arg;
 				
 				arg.AddArg(L"APID", APID);
diff --git a/jrj/project/business/GDN/select.item.po.cpp b/jrj/project/business/GDN/select.item.po.cpp
index 4a1c635..854592f 100644
--- a/jrj/project/business/GDN/select.item.po.cpp
+++ b/jrj/project/business/GDN/select.item.po.cpp
Binary files differ
diff --git a/jrj/project/business/GDN3.maint.cpp b/jrj/project/business/GDN3.maint.cpp
index 9ad39fa..868e093 100644
--- a/jrj/project/business/GDN3.maint.cpp
+++ b/jrj/project/business/GDN3.maint.cpp
@@ -1005,7 +1005,7 @@
 		KXMLDOMElement e = dw_item.GetRowElement(nRow);
 		KXMLDOMNode n = e.cloneNode(-1);
 		x.documentElement().appendChild(n);
-		n.Release();
+		
 		xstring val = x.xml();
 		trace(L"=======L" + val + L"=======L");
 
@@ -1083,7 +1083,7 @@
 		KXMLDOMElement e = dw_item.GetRowElement(nRow);
 		KXMLDOMNode n = e.cloneNode(-1);
 		x.documentElement().appendChild(n);
-		n.Release();
+		
 		xstring val = x.xml();
 		trace(L"123=======L" + val + L"=======123");
 
@@ -3352,13 +3352,13 @@
 						if (n)
 						{
 							tax = xstring(n.text()).toDouble();
-							n.Release();
+							
 						}
 						n = o.selectSingleNode(L"VATRefundRate");
 						if (n)
 						{
 							retax = xstring(n.text()).toDouble();
-							n.Release();
+							
 						}
 						o.Release();
 					}
diff --git a/jrj/project/business/Public/UserGroupShare.cpp b/jrj/project/business/Public/UserGroupShare.cpp
index 78570a8..da79ba3 100644
--- a/jrj/project/business/Public/UserGroupShare.cpp
+++ b/jrj/project/business/Public/UserGroupShare.cpp
@@ -167,7 +167,7 @@
 			KXMLDOMNodeList nlist = x.selectNodes(L"//data/Item");
 			KXMLDOMElement xitem = nlist.item(0);
 			xstring Reciever = xitem.selectSingleNode(L"userno").text();
-			xitem.Release();
+		
 
 			/*alert(L"Category:"+Category +
 					"\r\nReciever:"+Reciever + L"\r\nNo:"+NO + L"\r\nEntityID:"+EntityID + L"Subject:"+Subject+
@@ -209,7 +209,7 @@
 						Send(PersonID, CName, EntityNo, EntityID);
 					}
 				}
-				xitem.Release();
+				
 				//return 1;
 			}
 
diff --git a/jrj/project/business/SO/delivery.base.maint.so.cpp b/jrj/project/business/SO/delivery.base.maint.so.cpp
index cb56b16..3b27971 100644
--- a/jrj/project/business/SO/delivery.base.maint.so.cpp
+++ b/jrj/project/business/SO/delivery.base.maint.so.cpp
@@ -145,7 +145,7 @@
 
 		int OnInit()
 		{
-			int iArgs = GetParam();
+			int iArgs = GetArg();
 
 			XXmlContentSvr xdoc = new XXmlContentSvr;
 			xdoc.setNativePointer(iArgs);
@@ -157,7 +157,7 @@
 
 			xml x;
 			x ;
-			x.setNativePointer(xml::CreateInstance());
+		
 			x.LoadXml(vc.GetContent());
 
 			dw_1.Retrieve(x);
diff --git a/jrj/project/business/VATNotify/list.vatnotify.cpp b/jrj/project/business/VATNotify/list.vatnotify.cpp
index 1a5f094..1b51054 100644
--- a/jrj/project/business/VATNotify/list.vatnotify.cpp
+++ b/jrj/project/business/VATNotify/list.vatnotify.cpp
@@ -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"通知日期")
 				{
 
diff --git a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp
index 37be418..632263a 100644
--- a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp
+++ b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp
@@ -644,10 +644,9 @@
 						{
 							KXMLDOMElement e = lst.item(i);
 							docElement.appendChild(e);
-							e.Release();
+							
 						}
-						docElement.Release();
-						lst.Release();
+						
 						dw_fob.Retrieve(x1);
 					}
 					else
diff --git a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp
index 45a6d6a..a9e96be 100644
--- a/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp
+++ b/jrj/project/business/VATNotify/simple.maint.vatnotify.cpp
@@ -730,10 +730,9 @@
 						{
 							KXMLDOMElement e = lst.item(i);
 							docElement.appendChild(e);
-							e.Release();
+							
 						}
-						docElement.Release();
-						lst.Release();
+					
 						dw_fob.Retrieve(x1);
 					}
 					else

--
Gitblit v1.9.3