Skip to content

Commit

Permalink
Merge pull request #1037 from abhirana04/patch-12
Browse files Browse the repository at this point in the history
for single demand generation
  • Loading branch information
simar1977 authored Dec 6, 2023
2 parents 2ea4fcf + 0c56890 commit 4249e81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -729,10 +729,10 @@ public void generateDemandForULB(Map<String, Object> master, RequestInfo request
int generateDemandToIndex = IntStream.range(0, taxPeriods.size())
.filter(p -> taxPeriodFrom.equals(taxPeriods.get(p).getFromDate()))
.findFirst().getAsInt();

String cone=requestInfo.getKey();
log.info("Billing master data values for non metered connection:: {}", master);
List<SewerageDetails> connectionNos = sewerageCalculatorDao.getConnectionsNoList(tenantId,
SWCalculationConstant.nonMeterdConnection, taxPeriodFrom, taxPeriodTo);
SWCalculationConstant.nonMeterdConnection, taxPeriodFrom, taxPeriodTo, cone);

//Generate bulk demands for connections in below count
int bulkSaveDemandCount = configs.getBulkSaveDemandCount() != null ? configs.getBulkSaveDemandCount() : 1;
Expand Down

0 comments on commit 4249e81

Please sign in to comment.