From 3ae6fded83ac8ef5cec50b402ec046268329027f Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 17 七月 2024 20:56:30 +0800
Subject: [PATCH] update code
---
jrj/project/business/BasicCode/CustomerMarketMaint.cpp | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/jrj/project/business/BasicCode/CustomerMarketMaint.cpp b/jrj/project/business/BasicCode/CustomerMarketMaint.cpp
index c220d4d..852cbc7 100644
--- a/jrj/project/business/BasicCode/CustomerMarketMaint.cpp
+++ b/jrj/project/business/BasicCode/CustomerMarketMaint.cpp
@@ -5,10 +5,12 @@
#include <xcontrol/xlayersheet.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) CustomerMarketMaint : public xframe
+class __declspec(dllexport) CustomerMarketMaint : public maint
{
public:
KXMLDOMDocument m_configDoc;
@@ -19,20 +21,15 @@
xcell dw_cell;
xstring m_EntityID = L"";
public:
- CustomerMarketMaint(void* implPtr, HWND hWnd) :xframe(implPtr, hWnd) {}
+ CustomerMarketMaint(void* implPtr, HWND hWnd) :maint(implPtr, hWnd) {}
public:
static CustomerMarketMaint* CreateInstance(void* implPtr, void* hWnd)
{
CustomerMarketMaint* pWin = new CustomerMarketMaint(implPtr, (HWND)hWnd);
return pWin;
}
- int alert(xstring str)
- {
- //win::MessageBox(GetHWND(),str,L"提示22:",0);
- TApp::alert(this, str);
- return 0;
- }
- int ViewUpdate(param pr, xstring updateItem, xaserverarg arg)
+
+ int ViewUpdate(LPARAM pr, xstring updateItem, xaserverarg arg)
{
if (updateItem == L"update")
{
@@ -41,7 +38,7 @@
return 1;
}
}
- xstring GetEntityData(param pr)
+ xstring GetEntityData(LPARAM pr)
{
xml x;
@@ -72,7 +69,7 @@
if (xaserver::ExecXQuery(L"", L"[OrgInfo.xq]", arg.GetString(), x) != 1)
{
trace(x.xml());
- return nil;
+ return 0;
}
//alert(x.xml());
KXMLDOMElement e = x.documentElement();
--
Gitblit v1.9.3