xj qian
2024-09-04 ca7bfcdac21b765d29d0045308d434dfd038b10c
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);
    }