Commit 99ef846a by 孙亚楠

dd

parent 960b260a
...@@ -22,6 +22,10 @@ class SaasinvoiceapplyService extends ServiceBase { ...@@ -22,6 +22,10 @@ class SaasinvoiceapplyService extends ServiceBase {
async save(params) { async save(params) {
if (params.fee_type == "10") { if (params.fee_type == "10") {
return await this.save10(params); return await this.save10(params);
}else if (params.fee_type == "00") {
return await this.save00(params);
}else{
return system.getResult(null,`fee_type类型不存在`)
} }
} }
async bulkSave(params) { async bulkSave(params) {
...@@ -46,6 +50,10 @@ class SaasinvoiceapplyService extends ServiceBase { ...@@ -46,6 +50,10 @@ class SaasinvoiceapplyService extends ServiceBase {
let rs = await this.dao.create(params); let rs = await this.dao.create(params);
return system.getResultSuccess(rs); return system.getResultSuccess(rs);
} }
async save00(params) {
let rs = await this.dao.create(params);
return system.getResultSuccess(rs);
}
async updateStatus(params) { async updateStatus(params) {
let rs = await this.dao.updateStatus(params); let rs = await this.dao.updateStatus(params);
......
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