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 |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/jrj/project/business/Company/HrOrgMaint.cpp b/jrj/project/business/Company/HrOrgMaint.cpp
index 9f23955..be0677a 100644
--- a/jrj/project/business/Company/HrOrgMaint.cpp
+++ b/jrj/project/business/Company/HrOrgMaint.cpp
@@ -88,9 +88,9 @@
 		xstring val;
 		xml x;
 
-		var xdoc = x;
+		auto xdoc = x;
 		dw_detail.DwUpdateAllTo(xdoc);
-		val = xdoc.xml;
+		val = xdoc.xml();
 		//trace(val);
 		//return 1;
 		xaserverarg args;
@@ -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