From 4161b991dc09760ea8ed92ba840099f4102dc5e2 Mon Sep 17 00:00:00 2001
From: qianxj2004 <qianxj15@sina.com>
Date: 星期三, 22 十月 2025 16:53:14 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj
---
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