public List<Discount> findAll() {
   return jdbcTemplate.query(SELECT_JOIN_GOODS, Discount.obtainRowMapper());
 }
 public Discount findById(String id) {
   return jdbcTemplate.queryForObject(
       SELECT_JOIN_GOODS_BY_ID, new Object[] {id}, Discount.obtainRowMapper());
 }