。。。
This commit is contained in:
parent
cd6c670a18
commit
e98febf4c6
|
@ -171,12 +171,12 @@ public class CensusController {
|
|||
};
|
||||
dbAmount.add(nullMap);
|
||||
});
|
||||
new HashMap<String, Object>() {
|
||||
dbAmount.add(new HashMap<String, Object>() {
|
||||
{
|
||||
put("amount", jdbcTemplate.queryForObject("SELECT COUNT(id) FROM t_meetingroom_book;", Long.class));
|
||||
put("type", "会客厅");
|
||||
}
|
||||
};
|
||||
});
|
||||
return new Result<List<Map<String, Object>>>().ok(dbAmount);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue