From d4726c427464d5fa50c9fce848831c4cec36d8d1 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期三, 28 五月 2025 15:24:49 +0800 Subject: [PATCH] update --- jrj/project/business/BasicCode/ForwarderMaint.cpp | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/jrj/project/business/BasicCode/ForwarderMaint.cpp b/jrj/project/business/BasicCode/ForwarderMaint.cpp index 87c47c0..3e8ce37 100644 --- a/jrj/project/business/BasicCode/ForwarderMaint.cpp +++ b/jrj/project/business/BasicCode/ForwarderMaint.cpp @@ -44,7 +44,7 @@ } int OnClear() { if (m_EntityID == L"") { - 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"ForwarderID", GetGuid()); @@ -80,7 +80,7 @@ dw_base.SetItemString(1, L"ForwarderType", L"1"); dw_base.SetItemDisplayString(1, L"ForwarderType", L"预付货"); //dw_base.SetItemString(1,L"PrimaryContactID",dwcon.GetItemString(1,L"ContactID")); - + return 0; } else { @@ -433,6 +433,8 @@ } int onload() { + + SetArg(); dw_base = GetControl(L"dw_base"); OnAttachEvent(); @@ -444,4 +446,9 @@ return 1; } + int onloaded() + { + return maint::onloaded(); + } + }; \ No newline at end of file -- Gitblit v1.9.3