Commit abc35f63 by 王昆

gsb

parent 5625a325
......@@ -7,11 +7,25 @@ class InvoiceCtl extends CtlBase {
}
/**
* 业务进度字典
* @param {*} pobj
*/
async processDics(pobj) {
try {
return await this.invoiceSve.processDics(pobj);
} catch (error) {
console.log(error);
return system.getResultFail(500, `接口错误 错误信息 ${error}`);
}
}
/**
* 查询明细(平台)
* @param {*} pobj
*/
async invoicePage(pobj) {
try {
this.doTimeCondition(pobj, ["createTimeBegin", "createTimeEnd"]);
return await this.invoiceSve.invoicePage(pobj);
} catch (error) {
console.log(error);
......
......@@ -18,6 +18,7 @@ class InvoiceService extends ServiceBase {
async invoicePage(params) {
params.currentPage = Number(params.currentPage || 1);
params.pageSize = Number(params.pageSize || 10);
var rs = await this.callms("invoice", "invoicePage", params);
return rs;
}
......
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