From 951c28cff46688878894b2c965136f8df8884f81 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期五, 13 九月 2024 11:08:58 +0800 Subject: [PATCH] update --- jrj/project/business/BasicCode/ProfitParam.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/jrj/project/business/BasicCode/ProfitParam.cpp b/jrj/project/business/BasicCode/ProfitParam.cpp index 80468cf..6392233 100644 --- a/jrj/project/business/BasicCode/ProfitParam.cpp +++ b/jrj/project/business/BasicCode/ProfitParam.cpp @@ -54,12 +54,12 @@ } int OnSave() { - xml x = new xml; + xml x ; dw_list.AcceptText(); dw_list.DwUpdateAllToEx(x); xaserverarg arg; - arg.setNativePointer(xaserverarg::CreateInstance()); + arg.AddArg(L"content",x.xml()); if(xurl::get(L"/sale/data/Gdn/update/ProParamUpdate", arg.GetString(),x)!=1) { @@ -110,7 +110,7 @@ int OnRetrieve() { - xml x = new xml; + xml x ; x = ViewObject::RetrieveData(L"/sale/data/Gdn/profit/profitParamList"); if(x) { -- Gitblit v1.9.3