Commit aa6e0b25 by 王昆

gsb

parent 0999b7be
...@@ -14,7 +14,7 @@ class SaasinvoiceapplyService extends ServiceBase { ...@@ -14,7 +14,7 @@ class SaasinvoiceapplyService extends ServiceBase {
this.dictionary = system.getObject("util.dictionary"); this.dictionary = system.getObject("util.dictionary");
} }
async byId(params) { async byId(params) {
let apply = this.dao.getById(params.id); let apply = await this.dao.getById(params.id);
this.handleDate(apply, ['updated_at', 'created_at'], 'YYYY-MM-DD HH:mm:ss'); this.handleDate(apply, ['updated_at', 'created_at'], 'YYYY-MM-DD HH:mm:ss');
this.dictionary.setRowName("SAAS_INVOICE_APPLY",apply,["owner_type","fee_type","invoice_type","invoice_join"]); this.dictionary.setRowName("SAAS_INVOICE_APPLY",apply,["owner_type","fee_type","invoice_type","invoice_join"]);
return system.getResult(apply); return system.getResult(apply);
......
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