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 +}