Commit 3fb5e670 by 王昆

gsb

parent ed763210
...@@ -178,7 +178,7 @@ class ApplyService extends ServiceBase { ...@@ -178,7 +178,7 @@ class ApplyService extends ServiceBase {
//试算 //试算
let val = await rule.dispatcher(params); let val = await rule.dispatcher(params);
if(val.data==-1){ if(val.data==-1){
return getResult(-1,`系统错误 ${val.msg}`); return system.getResult(-1,`系统错误 ${val.msg}`);
} }
params.personalIncomeTax = this.trim(val.personalIncomeTax); params.personalIncomeTax = this.trim(val.personalIncomeTax);
params.additionalTax = this.trim(val.additionalTax); params.additionalTax = this.trim(val.additionalTax);
......
...@@ -7,7 +7,7 @@ const moment = require('moment'); ...@@ -7,7 +7,7 @@ const moment = require('moment');
class DelivererService extends ServiceBase { class DelivererService extends ServiceBase {
constructor() { constructor() {
super("invoice", ServiceBase.getDaoName(DelivererService)); super("invoice", ServiceBase.getDaoName(DelivererService));
// this.invoiceDao = system.getObject("db.invoice.invoiceDao"); this.invoiceDao = system.getObject("db.invoice.invoiceDao");
this.applyDao = system.getObject("db.invoice.applyDao"); this.applyDao = system.getObject("db.invoice.applyDao");
} }
......
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