From d4726c427464d5fa50c9fce848831c4cec36d8d1 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期三, 28 五月 2025 15:24:49 +0800 Subject: [PATCH] update --- jrj/project/business/BasicCode/SKUTemplate.select.cpp | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jrj/project/business/BasicCode/SKUTemplate.select.cpp b/jrj/project/business/BasicCode/SKUTemplate.select.cpp index 35a9e24..e526dda 100644 --- a/jrj/project/business/BasicCode/SKUTemplate.select.cpp +++ b/jrj/project/business/BasicCode/SKUTemplate.select.cpp @@ -18,10 +18,10 @@ { int i = 1; - while (p.find(L"=L",0)>0) + while (p.find(L"=",0)>0) { - xstring name = p.mid(0, p.find(L"=L",0)); - xstring value = p.mid(p.find(L"=L",0) + 1, p.find(L"=L",0) - 1); + xstring name = p.mid(0, p.find(L"=",0)); + xstring value = p.mid(p.find(L"=",0) + 1, p.find(L"=",0) - 1); return ""+value; i += 1; } @@ -61,7 +61,7 @@ xstring TemplateContent = e.selectSingleNode(L"TemplateContent").text+L""; xstring TemplateID = e.selectSingleNode(L"TemplateID").text+L""; //trace(ItemName); - xml x = new xml; + xml x ; x.setNativePointer(x.CreateInstance()); x.LoadXml(TemplateContent); dw_other.Retrieve(x); @@ -101,8 +101,8 @@ if (GetParam()) { int iArgs = GetParam(); - xaserverarg arg1 = new xaserverarg; - arg1.setNativePointer(iArgs); + xaserverarg arg1; + dw_other = new xdwtable; dw_other.setNativePointer(arg1.GetArgString(L"dw_other").toInt()); dw_prop = new xdwtable; -- Gitblit v1.9.3