From 755a281549c87fa9e872062dc196ede6df9153b8 Mon Sep 17 00:00:00 2001 From: Jinil Sung Date: Tue, 4 Jun 2024 12:44:23 -0700 Subject: [PATCH] GRAD2-2590: task is complete. GRAD2-2590: task is complete. --- .../ca/bc/gov/educ/api/distribution/process/MergeProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/ca/bc/gov/educ/api/distribution/process/MergeProcess.java b/api/src/main/java/ca/bc/gov/educ/api/distribution/process/MergeProcess.java index 3b1d872..201c409 100644 --- a/api/src/main/java/ca/bc/gov/educ/api/distribution/process/MergeProcess.java +++ b/api/src/main/java/ca/bc/gov/educ/api/distribution/process/MergeProcess.java @@ -77,7 +77,7 @@ public ProcessorData fire(ProcessorData processorData) { numberOfPdfs = pV.getRight(); pV = processYedrCertificatePrintRequest(distributionPrintRequest,currentSlipCount,packSlipReq,studListNonGrad,processorData,mincode,schoolCategoryCode,numberOfPdfs); numberOfPdfs = pV.getRight(); - if(!studListNonGrad.isEmpty()) { + if(!studListNonGrad.isEmpty() && StringUtils.equalsAnyIgnoreCase(processorData.getActivityCode(), MONTHLYDIST, SUPPDIST)) { createAndSaveNonGradReport(schoolDetails,studListNonGrad,mincode,educDistributionApiConstants.getStudentNonGradProjected()); } logger.debug("PDFs Merged {}", schoolDetails.getSchoolName());