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 6e5b8b3e..2c8c5fbe 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,6 +171,12 @@ public class CensusController { }; dbAmount.add(nullMap); }); + new HashMap() { + { + put("amount", jdbcTemplate.queryForObject("SELECT COUNT(id) FROM t_meetingroom_book;", Long.class)); + put("type", "会客厅"); + } + }; return new Result>>().ok(dbAmount); }