Skip to content

Commit ee8d066

Browse files
committed
FINERACT-2559: Fix redundant database query during classification retrieval
Signed-off-by: Kali <kalisingh2277@gmail.com>
1 parent 45eee33 commit ee8d066

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)