xj qian
2024-07-17 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802
jrj/project/business/BasicCode/ExpressMaint.cpp
@@ -17,6 +17,7 @@
   xstring m_username;
   xstring ContactID;
   xcell dw_cell;
   xstring m_EntityID = L"";
public:
   ExpressMaint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {}
public:
@@ -44,13 +45,13 @@
   xstring GetGuid() {
      return TApp::GetGuid();
      return publiccode::GetGuid();
   }
   int OnClear() {
      if (m_EntityID == L"") {
         trace(1);
         m_userid = TApp::GetUserInfo().id;
         m_username = TApp::GetUserInfo().name;
         //trace(1);
         m_userid = publiccode::GetUser().id;
         m_username = publiccode::GetUser().name;
         dw_base = new xdwtable;
         dw_base.setNativePointer(GetControl(L"dw_base"));
         dw_base.SetItemString(1, L"PartyID", GetGuid());
@@ -64,7 +65,7 @@
         dw_base.SetItemString(1, L"Type", L"8");
         dw_base.SetItemString(1, L"EnterName", m_userid);
         dw_base.SetItemDisplayString(1, L"EnterName", m_username);
         dw_base.SetItemString(1, L"CreateDate", TApp::GetCurDate());
         dw_base.SetItemString(1, L"CreateDate", publiccode::GetCurrentDate());
         dw_base.SetItemString(1, L"PBAStatus", L"Y");