jdbcTemplate如何返回List<String>
解决方法:
List<String> data = jdbcTemplate.query("select name from tb_user", new RowMapper<String>(){
public String mapRow(ResultSet rs, int rowNum) throws SQLException {
return rs.getString(1);
}
},null);
向大家推荐《Activiti工作流实战教程》:https://xiaozhuanlan.com/activiti