Commit 0999b7be by 王昆

gsb

parent 6c8ff34a
...@@ -108,12 +108,11 @@ class SaasinvoiceapplyService extends ServiceBase { ...@@ -108,12 +108,11 @@ class SaasinvoiceapplyService extends ServiceBase {
invoice.invoice_time = this.trim(params.invoice_time); invoice.invoice_time = this.trim(params.invoice_time);
invoice.mail_no = this.trim(params.mail_no); invoice.mail_no = this.trim(params.mail_no);
invoice.invoice_img = this.trim(params.invoice_img); invoice.invoice_img = this.trim(params.invoice_img);
// await this.db.transaction(async t => { invoice = await this.db.transaction(async t => {
// _invoice = await this.dao.create(_invoice, t); invoice = await this.saasinvoiceDao.create(invoice, t);
// await this.iinvoiceprocessDao.model.bulkCreate(processList, { transaction: t }); await this.dao.update({id: apply.id, status: "1040"}, t);
// }); return invoice;
invoice = await this.saasinvoiceDao.create(invoice); });
return system.getResultSuccess(invoice); return system.getResultSuccess(invoice);
} }
......
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