class BudgetReAppropriationJdbcRepository extends JdbcRepository {

    public BudgetReAppropriationEntity findById(final BudgetReAppropriationEntity entity) {
        final List<String> list = allIdentitiferFields.get(entity.getClass().getSimpleName());

        final Map<String, Object> paramValues = new HashMap<>();

        for (final String s : list)
            paramValues.put(s, getValue(getField(entity, s), entity));

        final List<BudgetReAppropriationEntity> budgetreappropriations = namedParameterJdbcTemplate.query(
                getByIdQuery.get(entity.getClass().getSimpleName()).toString(), paramValues,
                new BeanPropertyRowMapper(BudgetReAppropriationEntity.class));
        if (budgetreappropriations.isEmpty())
            return null;
        else
            return budgetreappropriations.get(0);

    }

    public  BudgetReAppropriationJdbcRepository(final NamedParameterJdbcTemplate namedParameterJdbcTemplate, JdbcTemplate jdbcTemplate);

}