From 5328bcc143efdba5b735df2af0fdd56fd92b5f54 Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期二, 23 七月 2024 10:43:55 +0800
Subject: [PATCH] update

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

diff --git a/jrj/project/business/Company/HrPersonSel.cpp b/jrj/project/business/Company/HrPersonSel.cpp
index 6be1bc1..f1c0a4b 100644
--- a/jrj/project/business/Company/HrPersonSel.cpp
+++ b/jrj/project/business/Company/HrPersonSel.cpp
@@ -6,12 +6,13 @@
 
 #include "vbusiness/vframe/listwin.vframe.vbusiness.hpp"
 #include "viewobject/view.base.hpp"
+#include "HrEmployeex.hpp"
 
 using xml = KXMLDOMDocument;
 class __declspec(dllexport) HrPersonSel : public xframe
 {
 public:
-	HrEmployeex lw_obj;
+	HrEmployeex* lw_obj;
 	xdwgrid	dw_list;
 
 	xnode	m_agentNode;	//Agent Condition
@@ -56,8 +57,7 @@
 
 				int  OnRetrieve()
 				{
-					control xc = new control;
-					xc.setNativePointer(GetControl(L"QueryTxt"));
+					xcontrol xc = GetControl(L"QueryTxt");
 					m_sTxt = xc.GetText() + L"";
 					xstring query = L"[MSSqlHrJob.xq]";
 					xml x;

--
Gitblit v1.9.3