From 9ac9cc9e9cd91b97d35a6e28400df71630765e40 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 21 八月 2024 14:35:51 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj
---
jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp | 20 +++++---------------
1 files changed, 5 insertions(+), 15 deletions(-)
diff --git a/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp b/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp
index 666c2a6..5a61edf 100644
--- a/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp
+++ b/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp
@@ -46,15 +46,15 @@
return 1;
}
- xstring GetEntityName(int pr)
+ xstring GetEntityName(LPARAM pr)
{
return L"RefundGDNLine";
}
- xstring GetEntityID(int pr)
+ xstring GetEntityID(LPARAM pr)
{
int row = dw_list.GetRow();
- xstring id = dw_list.GetItemString(row,m_entityid);
+ xstring id = dw_list.GetItemString(row,m_entityid.c_str());
return id;
}
@@ -64,7 +64,7 @@
int ll_row = dw_list.GetNextSelectRow(1);
while(ll_row > 0 && ll_row <= dw_list.GetRowCount())
{
- xstring id=dw_list.GetItemString(ll_row,m_entityid);
+ xstring id=dw_list.GetItemString(ll_row,m_entityid.c_str());
if(EntityIDList == L"") EntityIDList = id; else EntityIDList += L",L" + id;
ll_row = dw_list.GetNextSelectRow(ll_row + 1);
}
@@ -212,14 +212,6 @@
return OnCmdDispatch(evt->xcommand.pStrID);
}
- int OnRowChanged(TEvent* evt, LPARAM p)
- {
- DWNMHDR& hdr = *(DWNMHDR*)evt->notify.pnmh;
- int row = hdr.row;
- //SetAgent(L"list",dw_list.GetItemString(row,GetEntityID(1)));
- return 1;
- }
-
int OnAttachEvent()
{
//绑定工具条点击事件
@@ -244,9 +236,7 @@
int OnRetrieve(xstring query)
{
xml x ;
-
- xaserverarg arg ;
-
+ xaserverarg arg;
arg.AddArg(L"query",query);
arg.AddArg(L"QueryArg",L"");
if (getUrl(str_url,arg.GetString(),x)!=1)
--
Gitblit v1.9.3