From f087a50629e95666db2e0b0ba4373834e2b9593b Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期二, 16 七月 2024 14:43:07 +0800
Subject: [PATCH] update BasicCode
---
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