Map<String,Object> getTotal(String roomNumber) map.put("waterReceivable",waterReceivable); map.put("electricReceivable",electricReceivable); 结果 map{electricReceivable=82.62, waterReceivable=130.5}
map{electricReceivable=82.62, rent=100.0, waterReceivable=130.5}
原文:https://www.cnblogs.com/shiguanzui/p/12028190.html