From a5289d51bd57a99a2377c5590bc61cb7a42e61d4 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期四, 18 七月 2024 12:15:47 +0800 Subject: [PATCH] upadte --- jrj/xframe/vbusiness/vutil/publiccode.vutil.vbusiness.hpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/jrj/xframe/vbusiness/vutil/publiccode.vutil.vbusiness.hpp b/jrj/xframe/vbusiness/vutil/publiccode.vutil.vbusiness.hpp index fb10202..53022c0 100644 --- a/jrj/xframe/vbusiness/vutil/publiccode.vutil.vbusiness.hpp +++ b/jrj/xframe/vbusiness/vutil/publiccode.vutil.vbusiness.hpp @@ -46,7 +46,7 @@ } //取当前用户 - static PUser GetUser(xstring id) + static PUser& GetUser(xstring id) { string userno = xaserver::GetUserNo(); //trace(userno); @@ -91,7 +91,7 @@ } return p; } - static PUser GetUser() + static PUser& GetUser() { return GetUser(L""); } @@ -101,7 +101,7 @@ { /* if (sOrgID == "") return "4.2"; - xml x = new xml; + xml x.setNativePointer(xml::CreateInstance()); xaserverarg args=new xaserverarg; args.setNativePointer(args.CreateInstance()); @@ -235,7 +235,7 @@ static KXMLDOMDocument getAssignment(string sguid, KXMLDOMDocument x) { - //xml x = new xml; + //xml //x.setNativePointer(xml::CreateInstance()); xaserverarg arg; arg.setNativePointer(arg.CreateInstance()); -- Gitblit v1.9.3