From a4d2315ee4ca3f6177b4fb2526bed2feff3d89be Mon Sep 17 00:00:00 2001
From: lifan <2308045698@qq.com>
Date: 星期三, 22 十月 2025 16:52:58 +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