From b1d01ea6fa62ce12c2e592b3315186f6b3c8359d Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期三, 17 七月 2024 15:20:38 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj --- 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