jdbcTemplate查询结果为对象list

时间:2019-12-24 19:01:48   收藏:0   阅读:490

RowMapper<WmsExpensesSettleEntity> rowMapper1=new BeanPropertyRowMapper<WmsExpensesSettleEntity>(WmsExpensesSettleEntity.class);
List<WmsExpensesSettleEntity> list= jdbcTemplate.query(s+where + " and (bill_orderno =‘‘ or bill_orderno = null) order by create_date Desc", rowMapper1);

原文:https://www.cnblogs.com/gxl1/p/12092696.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!