查询结果转实体类

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

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

 

posted @ 2021-03-10 15:51  薛柏梁  阅读(140)  评论(0编辑  收藏  举报