xj qian
2024-07-17 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802
jrj/project/business/BasicCode/TestingCompanyMaint.cpp
@@ -17,6 +17,7 @@
   xstring ContactID;
   xdwtable dw_base;
   xcell dw_cell;
   xstring m_EntityID = L"";
public:
   TestingCompanyMaint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {}
public:
@@ -46,13 +47,14 @@
      SetAgent(L"maint");
      return 1;
   }
   xstring GetGuid() {
      return TApp::GetGuid();
   xstring GetGuid()
   {
      return publiccode::GetGuid();
   }
   int OnClear() {
      if (m_EntityID == L"") {
         m_userid = TApp::GetUserInfo().id;
         m_username = TApp::GetUserInfo().name;
         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());
@@ -66,7 +68,7 @@
         dw_base.SetItemString(1, L"PrimaryFlag", L"Y");
         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());
      }
      else
      {