Commit e47a327430a4f3613b861602a6faffb122bd4dca

Authored by Aaron.Liu
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 30 async find(id) {
31 31 // const user = await this.app.mysql.get('contract', { id });
32 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 34 method, date_format(method_time, '%Y-%m-%d') as method_time, other_expenses, remark, type
35 35 from contract where id = ?
36 36 `, [ id ]);
... ...