Commit 008e5d35 by 孙亚楠

dd

parent 087d1390
...@@ -160,7 +160,7 @@ class IInvoiceService extends ServiceBase { ...@@ -160,7 +160,7 @@ class IInvoiceService extends ServiceBase {
let total = await this.dao.countByParams(params); let total = await this.dao.countByParams(params);
if (total == 0) { if (total == 0) {
return { count: 0, rows: [] }; return system.getResult({ count: 0, rows: [] });
} }
let list = await this.dao.pageByParams(params); let list = await this.dao.pageByParams(params);
......
...@@ -27,7 +27,7 @@ class IinvoicedeliverService extends ServiceBase { ...@@ -27,7 +27,7 @@ class IinvoicedeliverService extends ServiceBase {
let total = await this.dao.countByParams(params); let total = await this.dao.countByParams(params);
if (total == 0) { if (total == 0) {
return { count: 0, rows: [] }; return system.getResult({ count: 0, rows: [] });
} }
let list = await this.dao.pageByParams(params); let list = await this.dao.pageByParams(params);
......
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