MyBatis查询返回的map类型数据如何获取?
- 内容介绍
- 文章标签
- 相关推荐
本文共计76个文字,预计阅读时间需要1分钟。
java// MyBatis DAO层方法public List
// MyBatis SQL片段SELECT t.item_id AS itemId, SUM(t.quantity) AS saleNumFROM order tWHERE t.order_status=1GROUP BY t.item
//DAO层返回的结果为list public List
本文共计76个文字,预计阅读时间需要1分钟。
java// MyBatis DAO层方法public List
// MyBatis SQL片段SELECT t.item_id AS itemId, SUM(t.quantity) AS saleNumFROM order tWHERE t.order_status=1GROUP BY t.item
//DAO层返回的结果为list public List

