needs to use the returned result of an attribute value corresponding to id->. Currently, you can only return List, with two columns and convert it using Stream. Does Mybatis natively support this feature?
select
id,
sum(money)
from table_name
where parentId = -sharp{parentId}
group by id
</select>
I"ve tried this method and it seems that it can only return Map < Long,Map < String,Object > >, so is there any good way?