fix sql error in GET for depositproducts and reset password again.
This commit is contained in:
+2
-4
@@ -38,7 +38,7 @@ public class DepositProductReadPlatformServiceImpl implements
|
||||
public Collection<DepositProductData> retrieveAllDepositProducts() {
|
||||
this.context.authenticatedUser();
|
||||
DepositProductMapper depositProductMapper= new DepositProductMapper();
|
||||
String sql="select "+depositProductMapper.depositProductSchema() + " where sp.is_deleted=0";
|
||||
String sql= "select " + depositProductMapper.depositProductSchema() + " where dp.is_deleted=0";
|
||||
return this.jdbcTemplate.query(sql,depositProductMapper, new Object[]{});
|
||||
}
|
||||
|
||||
@@ -118,6 +118,4 @@ public class DepositProductReadPlatformServiceImpl implements
|
||||
List<CurrencyData> currencyOptions = currencyReadPlatformService.retrieveAllowedCurrencies();
|
||||
productData.setCurrencyOptions(currencyOptions);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
driverClassName="com.mysql.jdbc.Driver"
|
||||
url="jdbc:mysql://localhost:3306/mifosplatform-tenants"
|
||||
username="root"
|
||||
password="mifos"
|
||||
password="mysql"
|
||||
validationQuery="select 1"
|
||||
maxActive="10"
|
||||
maxIdle="4"
|
||||
|
||||
Reference in New Issue
Block a user