From 94a26e02e353666ad5b7378b4ce1e8d6cd621bca Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期二, 25 二月 2025 15:43:01 +0800
Subject: [PATCH] update

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

diff --git a/jrj/project/business/Company/HrOrgMaint.cpp b/jrj/project/business/Company/HrOrgMaint.cpp
index f228299..467694a 100644
--- a/jrj/project/business/Company/HrOrgMaint.cpp
+++ b/jrj/project/business/Company/HrOrgMaint.cpp
@@ -94,7 +94,7 @@
 		//trace(val);
 		//return 1;
 		xaserverarg args;
-		args.setNativePointer(args.CreateInstance());
+		
 		args.AddArg(L"content", val);
 		//trace(val);
 		xml x1;
@@ -202,8 +202,8 @@
 				xstring sPersonID = arg.GetArgString(L"sPersonID");
 				//trace(sPersonID);
 				xstring sPersonName = arg.GetArgString(L"sPersonName");
-				dw_detail.SetItemDisplayString(1, colname, sPersonName);
-				dw_detail.SetItemString(1, colname, sPersonID);
+				dw_detail.SetItemDisplayString(1, colname.c_str(), sPersonName);
+				dw_detail.SetItemString(1, colname.c_str(), sPersonID);
 				dw_detail.Redraw();
 			}
 		}

--
Gitblit v1.9.3