查询结果转实体类

RowMapper<DyIeaccountdecEntity> rowMapper1=new BeanPropertyRowMapper<DyIeaccountdecEntity>(DyIeaccountdecEntity.class);

        List<DyIeaccountdecEntity> dyList= jdbcTemplate.query(sql, rowMapper1);
原文地址:https://www.cnblogs.com/xueblvip/p/14512225.html