From b1d01ea6fa62ce12c2e592b3315186f6b3c8359d Mon Sep 17 00:00:00 2001 From: xj qian <qianxj15@sina.com> Date: 星期三, 17 七月 2024 15:20:38 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/mis-prj --- 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