LiFan
2024-07-16 a24a99da3f57ca960e0bde4df1cb4799e6254b30
jrj/project/business/Company/HrOrg.cpp
@@ -100,7 +100,7 @@
      int i = 0, s = list.length();
      KXMLDOMElement xitem;
      xstring sname;
      xstring sguid;
      //xstring sguid;
      if (s > 0)
      {
         for (i = 0; i < s; i++)
@@ -392,7 +392,7 @@
      tv_org = GetControl(L"tv_org");
      AttachEvent(L"tv_org", L"TVN_SELCHANGED", (FEvent)&HrOrg::OnTreeSelecded);
      HTREEITEM root = tv_org.GetRootItem();
      if (root > 0)
      if (!root)
      {
         tv_org.ExpandItemEx(root);
      }
@@ -473,7 +473,7 @@
      //OnCreateTree(L"00000000-0000-0000-0000-000000000000", 0);
      HTREEITEM root = tv_org.GetRootItem();
      if (root > 0)
      if (!root)
      {
         tv_org.ExpandItemEx(root);
         KXMLDOMElement ele = tv_org.GetItemData(root);