Skip to content

Commit 39e5d52

Browse files
authored
Merge pull request #5724
FINERACT-2559: Fix redundant database query during classification retrieval
2 parents ab98ae8 + ee8d066 commit 39e5d52

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

fineract-accounting/src/main/java/org/apache/fineract/accounting/producttoaccountmapping/service/ProductToGLAccountMappingReadPlatformServiceImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ private List<ClassificationToGLAccountData> fetchClassificationMappings(final Po
312312
: productToGLAccountMappingRepository.findAllBuyDownFeeClassificationsMappings(loanProductId,
313313
portfolioProductType.getValue());
314314

315-
productToGLAccountMappingRepository.findAllChargeOffReasonsMappings(loanProductId, portfolioProductType.getValue());
316315
List<ClassificationToGLAccountData> classificationToGLAccountMappers = mappings.isEmpty() ? null : new ArrayList<>();
317316
for (final ProductToGLAccountMapping mapping : mappings) {
318317
final Long glAccountId = mapping.getGlAccount().getId();

0 commit comments

Comments
 (0)