From 8974271490c20a66ce5c6d898bcce1c04310cf9c Mon Sep 17 00:00:00 2001
From: LiFan <2308045698@qq.com>
Date: 星期三, 10 七月 2024 11:59:02 +0800
Subject: [PATCH] update
---
jrj/project/business/SO3.maint.cpp | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/jrj/project/business/SO3.maint.cpp b/jrj/project/business/SO3.maint.cpp
index 53b8fa6..0a1efb7 100644
--- a/jrj/project/business/SO3.maint.cpp
+++ b/jrj/project/business/SO3.maint.cpp
@@ -1001,12 +1001,12 @@
}*/
xstring SONo;
xstring CustomerID;
- xaserverarg* arg = 0;
- if (GetParam())
+ xaserverarg arg;
+ if (GetWinParam())
{
- arg = (xaserverarg *)GetParam();
- SONo = arg->GetArgString(L"SONo");
- if (SONo == L"") SONo = arg->GetArgString(L"EntityNo");
+ arg = GetArg();
+ SONo = arg.GetArgString(L"SONo");
+ if (SONo == L"") SONo = arg.GetArgString(L"EntityNo");
}
if (SONo != L"")
{
@@ -1046,8 +1046,8 @@
if (CustomerID != L"")
{
- dw_base.ItemChangeTo(1, L"CustomerID", arg->GetArgString(L"CustomerID"));
- dw_base.SetItemDisplayString(1, L"CustomerID", arg->GetArgString(L"CustomerName"));
+ dw_base.ItemChangeTo(1, L"CustomerID", arg.GetArgString(L"CustomerID"));
+ dw_base.SetItemDisplayString(1, L"CustomerID", arg.GetArgString(L"CustomerName"));
xstring dwname = L"dw_base";
xstring colname = L"CustomerID";
xstring value = CustomerID;
@@ -1065,9 +1065,9 @@
{
SetAgent();
- if (GetParam())
+ if (GetWinParam())
{
- xaserverarg& arg = *(xaserverarg * )GetParam();
+ xaserverarg arg = GetArg();
HCURSOR hCursor = xutil::SetCursorWait();
xstring SONo = arg.GetArgString(L"SONo");
if (SONo == L"") SONo = arg.GetArgString(L"EntityNo");
--
Gitblit v1.9.3