apply_amount 增加会客厅数量
This commit is contained in:
parent
c14fe24878
commit
cd6c670a18
|
@ -171,6 +171,12 @@ public class CensusController {
|
||||||
};
|
};
|
||||||
dbAmount.add(nullMap);
|
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);
|
return new Result<List<Map<String, Object>>>().ok(dbAmount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue