From 7a91c3a1ed37b0332d4ff0ebeae60bd6da3665c0 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期二, 16 七月 2024 18:28:58 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj

---
 jrj/project/business/Company/HrOrg.cpp |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/jrj/project/business/Company/HrOrg.cpp b/jrj/project/business/Company/HrOrg.cpp
index 46d9dc0..a8628a1 100644
--- a/jrj/project/business/Company/HrOrg.cpp
+++ b/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);

--
Gitblit v1.9.3