apply_amount 增加会客厅数量

This commit is contained in:
wangliwen 2022-10-13 17:37:25 +08:00
parent c14fe24878
commit cd6c670a18
1 changed files with 6 additions and 0 deletions

View File

@ -171,6 +171,12 @@ public class CensusController {
};
dbAmount.add(nullMap);
});
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);
}