LiFan
2025-04-15 9b43e4edb9c5ebc065d6af4810ae66690fdc50df
jrj/project/business/BasicCode/ExpressMaint.cpp
@@ -3,11 +3,11 @@
#include <xcontrol/xdwgrid.hpp>
#include <wobject/xdouble.hpp>
#include <xcontrol/xlayersheet.hpp>
#include <xcontrol/xcell.hpp>
#include "vbusiness/vframe/listwin.vframe.vbusiness.hpp"
#include "vbusiness/vframe/maint.vframe.vbusiness.hpp"
#include "viewobject/view.base.hpp"
#include "xcontrol/xcell.hpp"
using xml = KXMLDOMDocument;
class __declspec(dllexport) ExpressMaint : public maint
@@ -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());
@@ -61,7 +61,7 @@
         dw_base.SetItemDisplayString(1, L"EnterName", m_username);
         dw_base.SetItemString(1, L"CreateDate", publiccode::GetCurrentDate());
         dw_base.SetItemString(1, L"PBAStatus", L"Y");
         return 0;
      }
      return 0;
@@ -316,6 +316,7 @@
   int onload()
   {
      SetArg();
      dw_base = GetControl(L"dw_base");
      OnAttachEvent();
@@ -326,4 +327,9 @@
      return 1;
   }
   int onloaded()
   {
      return maint::onloaded();
   }
};