|  |  | 
 |  |  |             { | 
 |  |  |                xstring query = L"[MSSqlHrJob.xq]"; | 
 |  |  |                xml x; | 
 |  |  |  | 
 |  |  |                xaserverarg arg; | 
 |  |  |  | 
 |  |  |                arg.AddArg(L"type", m_type); | 
 |  |  |                //if (xaserver::ExecXQuery(GetServerUrl(),query,arg.GetString(),x)!=1) | 
 |  |  |                if (xurl::post(L"OrganizationStruct/list.Job", arg.GetString(), x) != 1) | 
 |  |  | 
 |  |  |                KXMLDOMElement ele = x.selectSingleNode(L"Type"); | 
 |  |  |                HTREEITEM hItem = tv_1.InsertChildItemEx(0, L"工种类型", ele, 15, 4); | 
 |  |  |  | 
 |  |  |                KXMLDOMElement e1 = tv_1.GetItemData(hItem); | 
 |  |  |                string str = e1.xml(); | 
 |  |  |  | 
 |  |  |                if (xurl::post(L"/sale/data/OrganizationStruct/type.Job", L"", x) != 1) | 
 |  |  |                { | 
 |  |  |                   trace(x.xml()); |