Commit a0effc17 by 王昆

gsb

parent d29f0c18
......@@ -93,7 +93,7 @@ class InvoicecontentService extends ServiceBase {
console.log(JSON.stringify(params));
var currentPage = Number(params.currentPage || 1);
var pageSize = Number(params.pageSize || 10);
var where = {};
var where = {isEnabled: true};
if (params.domicileId) {
where.domicile_id = params.domicileId;
}
......@@ -105,7 +105,7 @@ class InvoicecontentService extends ServiceBase {
var orderby = [
["id", 'desc']
];
var attributes = ["id", "name", "isEnabled", "created_at", "updated_at", "deleted_at"];
var attributes = ["id", "name"];
let res = await this.dao.getPageList(currentPage, pageSize, where, orderby, attributes);
return res;
}
......
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