From 81db5004dec768f2f06b1277c81b13f1043e1bd5 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期二, 09 七月 2024 16:04:00 +0800 Subject: [PATCH] update --- jrj/project/business/HR/BlankExcelTemplate.cpp | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/jrj/project/business/HR/BlankExcelTemplate.cpp b/jrj/project/business/HR/BlankExcelTemplate.cpp index 289e4ce..c73e4ef 100644 --- a/jrj/project/business/HR/BlankExcelTemplate.cpp +++ b/jrj/project/business/HR/BlankExcelTemplate.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().replace(L" 00:00:00", L"").replace(L"0000-00-00", L"")); //trace(x.xml().replace(L" 00:00:00", L"").replace(L"0000-00-00", L""));//运行界面打印 if (getUrl(L"/sale/data/ManpowerFile/multiUpdate", arg.GetString(), x) != 1) { @@ -101,12 +101,13 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&BlankExcelTemplateView::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&BlankExcelTemplateView::OnSetFocus); + return 1; } /*//加载数据 int OnRetrieve() { - xml x = new xml; + xml x ; xaserverarg arg; -- Gitblit v1.9.3