queryObject(sql,new Object[]{参数值},new BeanPropertyRowMapper<Student>(Student.class)) 查询唯一返回的数据并封装成一个对象,
BeanPropertyRowMapper把bean的属性和查询出来数据的每一行一一对应
query(sql,new Object[]{},new BeanPropertyRowMapper<School>(School.class)) 查询并返回list集合
queryForList(sql,new Object[]{}) 返回List<Map<String,Object>>形式的集合,map中的key是字段名(如有别名就用别名),object是返回的值
//增删改,返回的是影响的行数
update(sql,new Object[]{参数值})