Commit e47a327430a4f3613b861602a6faffb122bd4dca
1 parent
b42df8e9
Exists in
master
合同增加负责人字段
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/service/contract.js
| @@ -30,7 +30,7 @@ class ContractService extends Service { | @@ -30,7 +30,7 @@ class ContractService extends Service { | ||
| 30 | async find(id) { | 30 | async find(id) { |
| 31 | // const user = await this.app.mysql.get('contract', { id }); | 31 | // const user = await this.app.mysql.get('contract', { id }); |
| 32 | const user = await this.app.mysql.query(` | 32 | const user = await this.app.mysql.query(` |
| 33 | - select id, customer_id, number, name, value, product, invoice, date_format(invoice_time, '%Y-%m-%d') as invoice_time, | 33 | + select id, customer_id, manager_id, number, name, value, product, invoice, date_format(invoice_time, '%Y-%m-%d') as invoice_time, |
| 34 | method, date_format(method_time, '%Y-%m-%d') as method_time, other_expenses, remark, type | 34 | method, date_format(method_time, '%Y-%m-%d') as method_time, other_expenses, remark, type |
| 35 | from contract where id = ? | 35 | from contract where id = ? |
| 36 | `, [ id ]); | 36 | `, [ id ]); |