josehernandezfintecheandomx commented on code in PR #2845:
URL: https://github.com/apache/fineract/pull/2845#discussion_r1059251933


##########
fineract-provider/src/main/java/org/apache/fineract/portfolio/charge/service/ChargeWritePlatformServiceJpaRepositoryImpl.java:
##########
@@ -287,7 +287,7 @@ private boolean 
isAnyLoanProductsAssociateWithThisCharge(final Long chargeId) {
     }
 
     private boolean isAnySavingsProductsAssociateWithThisCharge(final Long 
chargeId) {
-        final String sql = "select (CASE WHEN (exists (select 1 from 
m_savings_product_charge sc where sc.charge_id = ?)) = 1 THEN 'true' ELSE 
'false' END)";
+        final String sql = "select (CASE WHEN exists (select 1 from 
m_savings_product_charge sc where sc.charge_id = ?) THEN 'true' ELSE 'false' 
END)";

Review Comment:
   This is a bug but anyway It was restored



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to