查询结果转实体类

时间:2021-03-11 12:12:56   收藏:0   阅读:0
RowMapper<DyIeaccountdecEntity> rowMapper1=new BeanPropertyRowMapper<DyIeaccountdecEntity>(DyIeaccountdecEntity.class);

        List<DyIeaccountdecEntity> dyList= jdbcTemplate.query(sql, rowMapper1);

 

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!