From 3f58aa73d6cbe636cff8064e7d8c980a50b26656 Mon Sep 17 00:00:00 2001 From: Debasish Chakraborty <117706910+debasishchakraborty-egovt@users.noreply.github.com> Date: Mon, 22 Jan 2024 15:03:59 +0530 Subject: [PATCH] Update DemandGenerationConsumer.java --- .../egov/wscalculation/consumer/DemandGenerationConsumer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/consumer/DemandGenerationConsumer.java b/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/consumer/DemandGenerationConsumer.java index 77c05f2de..0aba61a11 100644 --- a/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/consumer/DemandGenerationConsumer.java +++ b/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/consumer/DemandGenerationConsumer.java @@ -331,7 +331,7 @@ private void generateDemandAndSendnotification(RequestInfo requestInfo, String t * + connectionNo ); continue; } */ try { - if(tenantId.equals(config.getSmsExcludeTenant())) { + if(!tenantId.equals(config.getSmsExcludeTenant())) { generateDemandInBatch(calculationReq, masterMap, billingCycle, isSendMessage); } @@ -547,4 +547,4 @@ public void generateBulkDemandForULB(HashMap messageData) { } -} \ No newline at end of file +}