From 5a32cdfbc1d42594eb3fc7621dbd9024cda46ea5 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期三, 29 五月 2024 19:44:02 +0800
Subject: [PATCH] PP Budget

---
 _Main/BL/Type_Archive/StaticMethod_RequirementProcessing.qbl |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/_Main/BL/Type_Archive/StaticMethod_RequirementProcessing.qbl b/_Main/BL/Type_Archive/StaticMethod_RequirementProcessing.qbl
index b03e1bd..e61f9a7 100644
--- a/_Main/BL/Type_Archive/StaticMethod_RequirementProcessing.qbl
+++ b/_Main/BL/Type_Archive/StaticMethod_RequirementProcessing.qbl
@@ -37,21 +37,28 @@
     
     if ( prBinaryValue.Size() > 0 ) {
       archive -> Archive::HandlePR( macroPlan, userName, prFileName, prBinaryValue, isPRArchive, filePath, isOverwriteFile ) 
-              -> Archive::Success( macroPlan, archiveExecutionStatus, userName ) 
+              -> Archive::Success( macroPlan, archiveExecutionStatus, userName )
+              -> Archive::Archive( archive, "PR" )
               -> Exception() 
               -> Archive::OnException( archiveExecutionStatus, userName );
     } else if ( ppBinaryValue.Size() > 0 ) {
       archive -> Archive::HandlePP( macroPlan, userName, ppFileName, ppBinaryValue, isPPArchive, filePath, isOverwriteFile ) 
-              -> Archive::Success( macroPlan, archiveExecutionStatus, userName ) 
+              -> Archive::Success( macroPlan, archiveExecutionStatus, userName )
+              -> Archive::Archive( archive, "PP" )
               -> Exception() 
               -> Archive::OnException( archiveExecutionStatus, userName );
     } else if ( budgetBinaryValue.Size() > 0 ) {
       archive -> Archive::HandleBudget( macroPlan, userName, budgetFileName, budgetBinaryValue, isBudgetArchive, filePath, isOverwriteFile ) 
-              -> Archive::Success( macroPlan, archiveExecutionStatus, userName ) 
-              -> Exception() 
+              -> Archive::Success( macroPlan, archiveExecutionStatus, userName )
+              -> Archive::Archive( archive, "Budget" )
+              -> Exception()
               -> Archive::OnException( archiveExecutionStatus, userName );
     } else {
-      Archive::HandlePPA_Curve_IDS( archive, macroPlan, userName, ppaFileName, ppaBinaryValue, isPPAArchive, curveFileName, curveBinaryValue, idsFileName, idsBinaryValue, filePath );
+      archive -> Archive::HandlePPA_Curve_IDS( macroPlan, userName, ppaFileName, ppaBinaryValue, isPPAArchive, curveFileName, curveBinaryValue, idsFileName, idsBinaryValue, filePath, isOverwriteFile ) 
+              -> Archive::Success( macroPlan, archiveExecutionStatus, userName )
+              -> Archive::Archive( archive, "PPA" )
+              -> Exception()
+              -> Archive::OnException( archiveExecutionStatus, userName );
     }
   *]
 }

--
Gitblit v1.9.3