From 9459286625f095613a7074c1cfd9cf95d88091f3 Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期四, 11 九月 2025 15:56:56 +0800
Subject: [PATCH] update
---
jrj/xframe/vbusiness/vutil/publiccode.vutil.vbusiness.hpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/jrj/xframe/vbusiness/vutil/publiccode.vutil.vbusiness.hpp b/jrj/xframe/vbusiness/vutil/publiccode.vutil.vbusiness.hpp
index 53022c0..5d151dd 100644
--- a/jrj/xframe/vbusiness/vutil/publiccode.vutil.vbusiness.hpp
+++ b/jrj/xframe/vbusiness/vutil/publiccode.vutil.vbusiness.hpp
@@ -2,7 +2,7 @@
#include <wobject/xwin.hpp>
#include <wobject/xurl.hpp>
-
+#include <memory.h>
struct PUser
{
string id;
@@ -61,6 +61,7 @@
//trace(L"---%s",x.GetXml());
KXMLDOMElement e = x.documentElement();
PUser& p = *(new PUser);
+ ::memset(&p, 0,sizeof(PUser));
if (e)
{
if (e.selectSingleNode(L"任职")) p.id = e.selectSingleNode(L"任职").text();
@@ -238,7 +239,7 @@
//xml
//x.setNativePointer(xml::CreateInstance());
xaserverarg arg;
- arg.setNativePointer(arg.CreateInstance());
+
arg.AddArg(L"AssignmentID", sguid);
if (xaserver::ExecXQuery(L"", L"[getAssignment.xq]", arg.GetString(), x) == 1)
{
--
Gitblit v1.9.3