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)