From 61f1fc38bb7c290ccace616b7df4609a8b82a73b Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期五, 06 九月 2024 13:52:36 +0800
Subject: [PATCH] update viewupdate

---
 jrj/project/business/SystemSettings/UserImport.cpp |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/jrj/project/business/SystemSettings/UserImport.cpp b/jrj/project/business/SystemSettings/UserImport.cpp
index 00d9041..211a62c 100644
--- a/jrj/project/business/SystemSettings/UserImport.cpp
+++ b/jrj/project/business/SystemSettings/UserImport.cpp
@@ -110,10 +110,10 @@
 			//trace(row);
 			KXMLDOMElement e = dw_list.GetRowElement(row);
 			trace(e.xml());
-			xstring sEmployeeNo = e.selectSingleNode(L"EmployeeNo").text() + L"";
-			xstring sOldEmpNo = e.selectSingleNode(L"OldEmpNo").text() + L"";
-			xstring sPersonID = e.selectSingleNode(L"PersonID").text() + L"";
-			xstring sPersonName = e.selectSingleNode(L"Name").text() + L"";
+			xstring sEmployeeNo = e.selectSingleNode(L"EmployeeNo").text() + (xstring)L"";
+			xstring sOldEmpNo = e.selectSingleNode(L"OldEmpNo").text() + (xstring)L"";
+			xstring sPersonID = e.selectSingleNode(L"PersonID").text() + (xstring)L"";
+			xstring sPersonName = e.selectSingleNode(L"Name").text() + (xstring)L"";
 			xstring sPassWord = xutil::MD5(sOldEmpNo);
 
 			/*
@@ -168,7 +168,7 @@
 		xml x;
 
 		xaserverarg arg;
-		arg.setNativePointer(arg.CreateInstance());
+
 		arg.AddArg(L"sguid", id);
 		if (xurl::post(L"/sale/data/OrganizationStruct/tree.child.OrgChart", arg.GetString(), x) != 1)
 		{
@@ -311,7 +311,7 @@
 	int OnInitial()
 	{
 		SetAgent();
-		OnAttachEvent();
+		OnAttachEvent(); 
 		return 1;
 	}
 

--
Gitblit v1.9.3