From e500722d1be75cb4c6a2fedd5724e7277beaaaaf Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期二, 25 六月 2024 17:37:46 +0800
Subject: [PATCH] update dwtable

---
 jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp |    2 +-
 jrj/project/business/Customer3.maint.cpp               |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/jrj/project/business/Customer3.maint.cpp b/jrj/project/business/Customer3.maint.cpp
index 05fec26..6a7b2c2 100644
--- a/jrj/project/business/Customer3.maint.cpp
+++ b/jrj/project/business/Customer3.maint.cpp
@@ -1089,7 +1089,8 @@
 	
 	int onload()
 	{
-		maint::onload();			
+		maint::onload();
+		return 1;
 	}
 	
 	int onloaded()
diff --git a/jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp b/jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp
index a2d59af..b912dc5 100644
--- a/jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp
+++ b/jrj/xframe/vbusiness/vframe/maint.vframe.vbusiness.hpp
@@ -211,7 +211,7 @@
 
 	int OnPrint()
 	{
-		xaserverarg* arg;
+		xaserverarg* arg = new xaserverarg;
 		arg->AddArg(L"EntityName", GetEntityName(1), L"");
 		arg->AddArg(L"EntityID", GetEntityID(1), L"");
 		openUrl(L"/sale/view/view.base/xpage/Template/PrintView", arg);

--
Gitblit v1.9.3