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);
温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/SQL/13807.html
- 上一篇:mysql查询重复用户最新的一条数据
- 下一篇:mysql修改库名