From 8abb97aa30e22cfc093a10c4ca9e373a23870a18 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期二, 12 十一月 2024 15:09:23 +0800 Subject: [PATCH] update --- jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp b/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp index 90965b8..f127e29 100644 --- a/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp +++ b/jrj/project/business/AP/list.RefundGDNLine.Entity.xarch.cpp @@ -46,12 +46,12 @@ 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.c_str()); @@ -65,7 +65,7 @@ while(ll_row > 0 && ll_row <= dw_list.GetRowCount()) { xstring id=dw_list.GetItemString(ll_row,m_entityid.c_str()); - if(EntityIDList == L"") EntityIDList = id; else EntityIDList += L",L" + id; + if(EntityIDList == L"") EntityIDList = id; else EntityIDList += L"," + id; ll_row = dw_list.GetNextSelectRow(ll_row + 1); } if(EntityIDList != L"") arg.AddArg(L"EntityID",EntityIDList); @@ -196,7 +196,7 @@ return 0; } - int ViewUpdate(int pr,xstring updateItem,xaserverarg arg) + int ViewUpdate(LPARAM pr,xstring updateItem,xaserverarg arg) { if( updateItem==L"setstate") { @@ -236,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