Commit f0a990c7 authored by ml's avatar ml

金融部-账户管理相关修改

parent d17c3fd2
...@@ -33,10 +33,8 @@ export interface FinanceAccountCategoryPageVO extends FinanceAccountCategoryVO { ...@@ -33,10 +33,8 @@ export interface FinanceAccountCategoryPageVO extends FinanceAccountCategoryVO {
export async function list(pageVO: FinanceAccountCategoryPageVO) { export async function list(pageVO: FinanceAccountCategoryPageVO) {
let where = {}; let where = {};
let resList = await financeAccountCategory.prototype.findAndCount({ let resList = await financeAccountCategory.prototype.findAll({
where: where, where: where,
limit: pageVO.size,
offset: (Number(pageVO.page) - 1) * Number(pageVO.size),
order: [["id", "asc"]], order: [["id", "asc"]],
raw: true raw: true
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment