diff --git a/app/service/contract.js b/app/service/contract.js index 1a36118..3038dc1 100644 --- a/app/service/contract.js +++ b/app/service/contract.js @@ -30,7 +30,7 @@ class ContractService extends Service { async find(id) { // const user = await this.app.mysql.get('contract', { id }); const user = await this.app.mysql.query(` - select id, customer_id, number, name, value, product, invoice, date_format(invoice_time, '%Y-%m-%d') as invoice_time, + select id, customer_id, manager_id, number, name, value, product, invoice, date_format(invoice_time, '%Y-%m-%d') as invoice_time, method, date_format(method_time, '%Y-%m-%d') as method_time, other_expenses, remark, type from contract where id = ? `, [ id ]); -- libgit2 0.21.0