From 3e154206139f2fc8aeeab61c12c38717e55b3fc6 Mon Sep 17 00:00:00 2001 From: qianxj2004 <qianxj15@sina.com> Date: 星期二, 10 六月 2025 11:44:09 +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