diff --git a/renren-admin/src/main/java/io/renren/common/controller/CensusController.java b/renren-admin/src/main/java/io/renren/common/controller/CensusController.java index 2c8c5fbe..fbbd954e 100644 --- a/renren-admin/src/main/java/io/renren/common/controller/CensusController.java +++ b/renren-admin/src/main/java/io/renren/common/controller/CensusController.java @@ -171,12 +171,12 @@ public class CensusController { }; dbAmount.add(nullMap); }); - new HashMap() { + dbAmount.add(new HashMap() { { put("amount", jdbcTemplate.queryForObject("SELECT COUNT(id) FROM t_meetingroom_book;", Long.class)); put("type", "会客厅"); } - }; + }); return new Result>>().ok(dbAmount); }