From 47d903f3ed61cd1abc33c723a30fe53c829f9c07 Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期二, 25 六月 2024 23:28:12 +0800 Subject: [PATCH] update product --- jrj/project/viewobject/shoppingcart.view.hpp | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/jrj/project/viewobject/shoppingcart.view.hpp b/jrj/project/viewobject/shoppingcart.view.hpp index 3f9dc97..3af90bb 100644 --- a/jrj/project/viewobject/shoppingcart.view.hpp +++ b/jrj/project/viewobject/shoppingcart.view.hpp @@ -18,37 +18,37 @@ return RetrieveData(L"/sale/data/ProductLibrary/shoppingcart/rolelist"); } - static KXMLDOMDocument GetRoleList(string CustomerID) + static KXMLDOMDocument GetRoleList(xstring CustomerID) { return RetrieveData(L"/sale/data/ProductLibrary3/shoppingcart/rolelistex",L"CustomerID",CustomerID); } - static KXMLDOMDocument GetSupplierRoleList(string SupplierID) + static KXMLDOMDocument GetSupplierRoleList(xstring SupplierID) { return RetrieveData(L"/sale/data/ProductLibrary3/shoppingcart/supplier.rolelist",L"SupplierID",SupplierID); } - static KXMLDOMDocument GetRoleListForSO(string CustomerID) + static KXMLDOMDocument GetRoleListForSO(xstring CustomerID) { return RetrieveData(L"/sale/data/ProductLibrary3/shoppingcart/so/rolelistex",L"CustomerID",CustomerID); } - static KXMLDOMDocument GetGoodsList(string name) + static KXMLDOMDocument GetGoodsList(xstring name) { return RetrieveData(L"/sale/data/ProductLibrary/shoppingcart/goodslist",L"name",name); } - static KXMLDOMDocument GetGoodsList(string name,string QueryText) + static KXMLDOMDocument GetGoodsList(xstring name,xstring QueryText) { return RetrieveData(L"/sale/data/ProductLibrary3/shoppingcart/goodslistex",L"name",name,L"QueryText",QueryText); } - int AddCar(string name) + static int AddCar(xstring name) { if(RetrieveData(L"/sale/data/SO/goods/goodscar/add",L"name",name)) return 1; return -1; } - int GoodsImport(string name,string content) + static int GoodsImport(xstring name,xstring content) { if(RetrieveData(L"/sale/data/ProductLibrary/shoppingcart/import",L"name",name,L"content",content)) return 1; return -1; -- Gitblit v1.9.3