From 5f7de30b6c2d194c6acf5d87494ae9ffcf159708 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 18 七月 2024 17:06:06 +0800
Subject: [PATCH] product

---
 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