From a24a99da3f57ca960e0bde4df1cb4799e6254b30 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期二, 16 七月 2024 12:36:30 +0800
Subject: [PATCH] update

---
 jrj/project/business/Company/HrEmployee.hpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/jrj/project/business/Company/HrEmployee.hpp b/jrj/project/business/Company/HrEmployee.hpp
index 8b0d117..40e74f4 100644
--- a/jrj/project/business/Company/HrEmployee.hpp
+++ b/jrj/project/business/Company/HrEmployee.hpp
@@ -110,7 +110,7 @@
 				int OnSubTree(xstring id, HTREEITEM parentitem)
 				{
 					//int wid = tv_org.GetId();
-					if (tv_org.GetChildItem(parentitem) > 0) return 1;
+					if (!tv_org.GetChildItem(parentitem)) return 1;
 					xml x;
 					
 					xaserverarg arg;

--
Gitblit v1.9.3