jdbcTemplate查询结果为对象list

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);

猜你喜欢

转载自www.cnblogs.com/gxl1/p/12092696.html
今日推荐