From 6e76b7c0908d407adb4debc798c604d288e5f429 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期三, 24 七月 2024 14:10:48 +0800 Subject: [PATCH] update --- jrj/project/business/HR/BlankExcelTemplate.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/jrj/project/business/HR/BlankExcelTemplate.cpp b/jrj/project/business/HR/BlankExcelTemplate.cpp index be29cc3..70a02b4 100644 --- a/jrj/project/business/HR/BlankExcelTemplate.cpp +++ b/jrj/project/business/HR/BlankExcelTemplate.cpp @@ -60,7 +60,7 @@ dw_list.DwUpdateAllToEx(x); xaserverarg arg; - arg.AddArg(L"content", x.xml().replace(L" 00:00:00", L"").replace(L"0000-00-00", L"")); + arg.AddArg(L"content", xstring(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) { xstring error = x.text(); @@ -101,6 +101,7 @@ AttachEvent(L"WM_XCOMMAND", (FEvent)&BlankExcelTemplateView::OnXCommand); //获取焦点事件,用于重置工具条 AttachEvent(L"WM_SETFOCUS", (FEvent)&BlankExcelTemplateView::OnSetFocus); + return 1; } /*//加载数据 -- Gitblit v1.9.3