From 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期三, 17 七月 2024 17:50:35 +0800
Subject: [PATCH] base code

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

diff --git a/jrj/project/business/Company/HrOrgMaint.cpp b/jrj/project/business/Company/HrOrgMaint.cpp
index f228299..be0677a 100644
--- a/jrj/project/business/Company/HrOrgMaint.cpp
+++ b/jrj/project/business/Company/HrOrgMaint.cpp
@@ -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