fixing issues with query for retrieveAccountsWithAnnualFeeDue
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ import com.google.gson.JsonElement;
|
||||
import com.google.gson.reflect.TypeToken;
|
||||
|
||||
/**
|
||||
* Implementation of {@link FromApiJsonDeserializer} for {@link ClientCommand}
|
||||
* Implementation of {@link FromApiJsonDeserializer} for {@link ClientIdentifierCommandFromApiJsonDeserializer}
|
||||
* 's.
|
||||
*/
|
||||
@Component
|
||||
|
||||
+1
-1
@@ -518,7 +518,7 @@ public class SavingsAccountReadPlatformServiceImpl implements SavingsAccountRead
|
||||
@Override
|
||||
public Collection<SavingsAccountAnnualFeeData> retrieveAccountsWithAnnualFeeDue() {
|
||||
final String sql = "select " + annualFeeMapper.schema()
|
||||
+ " where sa.annual_fee_next_due_date not null and sa.annual_fee_next_due_date <= NOW()";
|
||||
+ " where sa.annual_fee_next_due_date is not null and sa.annual_fee_next_due_date <= NOW()";
|
||||
|
||||
return this.jdbcTemplate.query(sql, this.annualFeeMapper, new Object[] {});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user