Commit a7dee9bb by 王昆

dd

parent 7f833be5
......@@ -177,7 +177,7 @@ class SaasinvoiceapplyService extends ServiceBase {
saasInvoiceApply.invoice_type_name = "普通发票";
}
this.handleDate(saasInvoiceApply, ['updated_at', 'created_at'], 'YYYY-MM-DD HH:mm:ss');
let saasInvoice = await this.saasinvoiceDao.getById(params.id) || null;
let saasInvoice = await this.saasinvoiceDao.getById(params.id) || {};
saasInvoiceApply.saasInvoice = saasInvoice;
return system.getResult(saasInvoiceApply);
} catch (error) {
......
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