From 2b0969c7ab5edf8f1021f18207f5710fdb52f5a7 Mon Sep 17 00:00:00 2001 From: LiFan <2308045698@qq.com> Date: 星期二, 09 七月 2024 10:37:58 +0800 Subject: [PATCH] update --- jrj/ext-jrj/ext-jrj.vcxproj | 2 +- jrj/project/business/HR/ManpowerFile.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jrj/ext-jrj/ext-jrj.vcxproj b/jrj/ext-jrj/ext-jrj.vcxproj index bc73fd8..61bf544 100644 --- a/jrj/ext-jrj/ext-jrj.vcxproj +++ b/jrj/ext-jrj/ext-jrj.vcxproj @@ -269,7 +269,7 @@ <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> </ClCompile> <ClCompile Include="..\project\business\AR\ExchageFile.cpp"> - <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> + <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</ExcludedFromBuild> </ClCompile> <ClCompile Include="..\project\business\AR\ExchageInput3.cpp"> <ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</ExcludedFromBuild> diff --git a/jrj/project/business/HR/ManpowerFile.cpp b/jrj/project/business/HR/ManpowerFile.cpp index af1bb77..c3c5509 100644 --- a/jrj/project/business/HR/ManpowerFile.cpp +++ b/jrj/project/business/HR/ManpowerFile.cpp @@ -198,7 +198,7 @@ int OnRetrieveEx1() { HTREEITEM hItem = tv_folder.GetSelectedItem(); - if (hItem <= 0) return 1; + if (!hItem) return 1; HCURSOR hCursor = xutil::SetCursorWait(); KXMLDOMElement& e1 = *(KXMLDOMElement*)tv_folder.GetItemData(hItem); -- Gitblit v1.9.3