From 9a1a958cc97cdf47a38063500c36160183c7227e Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期五, 25 四月 2025 16:42:51 +0800 Subject: [PATCH] update --- jrj/project/business/BasicCode/ExpressMaint.cpp | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/jrj/project/business/BasicCode/ExpressMaint.cpp b/jrj/project/business/BasicCode/ExpressMaint.cpp index 3e2dbd6..940517d 100644 --- a/jrj/project/business/BasicCode/ExpressMaint.cpp +++ b/jrj/project/business/BasicCode/ExpressMaint.cpp @@ -3,11 +3,11 @@ #include <xcontrol/xdwgrid.hpp> #include <wobject/xdouble.hpp> #include <xcontrol/xlayersheet.hpp> +#include <xcontrol/xcell.hpp> #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp" #include "vbusiness/vframe/maint.vframe.vbusiness.hpp" #include "viewobject/view.base.hpp" -#include "xcontrol/xcell.hpp" using xml = KXMLDOMDocument; class __declspec(dllexport) ExpressMaint : public maint @@ -45,7 +45,7 @@ int OnClear() { if (m_EntityID == L"") { //trace(1); - m_userid = publiccode::GetUser().id; + m_userid = publiccode::GetUser().personid; m_username = publiccode::GetUser().name; dw_base = GetControl(L"dw_base"); dw_base.SetItemString(1, L"PartyID", GetGuid()); @@ -61,7 +61,7 @@ dw_base.SetItemDisplayString(1, L"EnterName", m_username); dw_base.SetItemString(1, L"CreateDate", publiccode::GetCurrentDate()); dw_base.SetItemString(1, L"PBAStatus", L"Y"); - + return 0; } return 0; @@ -316,6 +316,7 @@ int onload() { + SetArg(); dw_base = GetControl(L"dw_base"); OnAttachEvent(); @@ -326,4 +327,9 @@ return 1; } + int onloaded() + { + return maint::onloaded(); + } + }; \ No newline at end of file -- Gitblit v1.9.3