From ff36263c5340c2eab8ce54a23b73fd3f19c46200 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期二, 11 二月 2025 16:10:32 +0800 Subject: [PATCH] update --- jrj/project/business/BasicCode/ForwarderMaint.cpp | 2 +- jrj/project/business/BasicCode/ShipcompanyMaint.cpp | 7 ++++--- jrj/project/business/BasicCode/ExpressMaint.cpp | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/jrj/project/business/BasicCode/ExpressMaint.cpp b/jrj/project/business/BasicCode/ExpressMaint.cpp index 76d0498..940517d 100644 --- a/jrj/project/business/BasicCode/ExpressMaint.cpp +++ b/jrj/project/business/BasicCode/ExpressMaint.cpp @@ -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()); diff --git a/jrj/project/business/BasicCode/ForwarderMaint.cpp b/jrj/project/business/BasicCode/ForwarderMaint.cpp index aee7d2a..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()); diff --git a/jrj/project/business/BasicCode/ShipcompanyMaint.cpp b/jrj/project/business/BasicCode/ShipcompanyMaint.cpp index 910958e..3147264 100644 --- a/jrj/project/business/BasicCode/ShipcompanyMaint.cpp +++ b/jrj/project/business/BasicCode/ShipcompanyMaint.cpp @@ -50,10 +50,11 @@ } int OnClear() { if (m_EntityID == L"") { - m_userid = publiccode::GetUser().id; + m_userid = publiccode::GetUser().personid; m_username = publiccode::GetUser().name; - dw_base = new xdwtable; - dw_base.setNativePointer(GetControl(L"dw_base")); + /*dw_base = new xdwtable; + dw_base.setNativePointer(GetControl(L"dw_base"));*/ + dw_base = GetControl(L"dw_base"); dw_base.SetItemString(1, L"PartyID", GetGuid()); dw_base.SetItemString(1, L"PStatus", L"1"); dw_base.SetItemDisplayString(1, L"PStatus", L"有效"); -- Gitblit v1.9.3