Skip to content

Commit

Permalink
Merge pull request #938 from egovernments/ISTE-262
Browse files Browse the repository at this point in the history
[ISTE-262] - Saving meter reading after taxperiod validation
  • Loading branch information
pradeepkumarcm-egov authored Sep 9, 2024
2 parents 2d1064a + d859f1e commit 59e21c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ public List<MeterReading> createMeterReading(MeterConnectionRequest meterConnect
}
enrichmentService.enrichMeterReadingRequest(meterConnectionRequest);
meterReadingsList.add(meterConnectionRequest.getMeterReading());
wSCalculationDao.saveMeterReading(meterConnectionRequest);
if (meterConnectionRequest.getMeterReading().getGenerateDemand()) {
generateDemandForMeterReading(meterReadingsList, meterConnectionRequest.getRequestInfo());
}
wSCalculationDao.saveMeterReading(meterConnectionRequest);
return meterReadingsList;
}

Expand Down

0 comments on commit 59e21c5

Please sign in to comment.