fix sql error in GET for depositproducts and reset password again.

This commit is contained in:
Keith Woodlock
2012-08-10 09:03:05 +01:00
parent c158e6b318
commit b689b452c3
2 changed files with 3 additions and 5 deletions
@@ -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);
}
}
}