code: @SuppressWarnings({ "unchecked", "rawtypes" })
  	public <T> List<T> list(String sql, Object[] params, Class<T> clazz) {
  		
  		//call jdbcTemplate to query for result
  		List<T> list = null;
  		if (params == null || params.length == 0) {
  			list = getProxy().query(sql, new BeanPropertyRowMapper(clazz));
  		} else {
  			list = getProxy().query(sql, params, new BeanPropertyRowMapper(clazz));
  		}
  		
  		//return list
  		return list;
  	}
docs: 获取对象列表
  get a list of clazz
  @param sql
  @param params
  @param clazz
  @return