From 84ca4432867f1b2d033ca2918c8122f9ce98f820 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期二, 30 七月 2024 16:09:09 +0800
Subject: [PATCH] update
---
jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp b/jrj/project/business/VATNotify/maint.papercard.vatnotify.cpp
index 44a8e72..ca10bec 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);
@@ -644,10 +644,9 @@
{
KXMLDOMElement e = lst.item(i);
docElement.appendChild(e);
- e.Release();
+
}
- docElement.Release();
- lst.Release();
+
dw_fob.Retrieve(x1);
}
else
@@ -690,7 +689,7 @@
if (GetWinParam())
{
- int pArg = GetArg();
+ arg = GetArg();
}
else
@@ -764,7 +763,7 @@
if (GetWinParam())
{
- int pArg = GetArg();
+ arg = GetArg();
InvNo = arg.GetArgString(L"invoiceno");
SetWindowText(GetHWND(), InvNo);
--
Gitblit v1.9.3