From 188b816d6d521e12b32e51fdbd1bac86d456b06c Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期三, 17 七月 2024 17:47:43 +0800 Subject: [PATCH] update --- jrj/project/business/BasicCode/CustomerMarketMaint.cpp | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/jrj/project/business/BasicCode/CustomerMarketMaint.cpp b/jrj/project/business/BasicCode/CustomerMarketMaint.cpp index 1198a1b..c220d4d 100644 --- a/jrj/project/business/BasicCode/CustomerMarketMaint.cpp +++ b/jrj/project/business/BasicCode/CustomerMarketMaint.cpp @@ -17,6 +17,7 @@ xstring ContactID; xdwtable dw_base; xcell dw_cell; + xstring m_EntityID = L""; public: CustomerMarketMaint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {} public: @@ -56,10 +57,10 @@ dw_base.setNativePointer(GetControl(L"dw_base")); if (!maint::m_EntityID) { - //xstring suserid = TApp::GetUserInfo().id; + //xstring suserid = publiccode::GetUser().id; xstring suserid = xaserver::GetUserId(); - xstring susername = TApp::GetUserInfo().name; - xstring sdate = TApp::GetCurDate(); + xstring susername = publiccode::GetUser().name; + xstring sdate = publiccode::GetCurrentDate(); dw_base.SetItemString(dw_base.GetRow(), L"CreatorID", suserid);//Party dw_base.SetItemDisplayString(dw_base.GetRow(), L"CreatorID", susername); dw_base.SetItemString(dw_base.GetRow(), L"CreateDate", sdate); -- Gitblit v1.9.3