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/viewobject/productlibrary.view.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/jrj/project/viewobject/productlibrary.view.hpp b/jrj/project/viewobject/productlibrary.view.hpp
index 59f8aa9..ff415d1 100644
--- a/jrj/project/viewobject/productlibrary.view.hpp
+++ b/jrj/project/viewobject/productlibrary.view.hpp
@@ -7,7 +7,7 @@
#include <wobject/xurl.hpp>
#include <xcontrol/xdwgrid.hpp>
#include <xcontrol/xdwtable.hpp>
-#include <view.base.hpp>
+#include <viewobject/view.base.hpp>
class ProductLibraryView: public ViewObject
{
@@ -30,15 +30,15 @@
}
public:
//鍒犻櫎鍟嗗搧椤�
- static int DeleteItem(string id)
+ static int DeleteItem(xstring id)
{
//if(RetrieveData(L"/sale/data/SO/goods/usegoods/delete",L"guid",id)) return 1;
- string str = "<Item update.modify='1' update.delete='1' guid='"+id+L"'/>";
+ xstring str = L"<Item update.modify='1' update.delete='1' guid='"+id+L"'/>";
if(RetrieveData(L"/sale/data/ProductLibrary3/update/product",L"content",str)) return 1;
return -1;
}
public:
- xml GetGoodsPropList(string guid)
+ KXMLDOMDocument GetGoodsPropList(string guid)
{
return RetrieveData(L"/sale/data/SO/goods/goodsprop/list",L"guid", guid);
}
--
Gitblit v1.9.3