Optimized HBC form fetching

This commit is contained in:
2024-08-13 13:04:59 +08:00
parent f55145b5ca
commit 82a42eb41d
2 changed files with 461 additions and 374 deletions

View File

@@ -116,6 +116,7 @@ router.get("/", async (req, res) => {
let list = await HBCform.findAll({
where: condition,
order: [["createdAt", "ASC"]],
attributes: { exclude: ["billPicture"] },
});
res.json(list);
});