Commit 5ccf5ed9 by 蒋勇

d

parent 70815d5d
...@@ -95,6 +95,7 @@ class DeliverybillDao extends Dao { ...@@ -95,6 +95,7 @@ class DeliverybillDao extends Dao {
} }
return await this.updateByWhere(setobj, whereobj, t); return await this.updateByWhere(setobj, whereobj, t);
} }
/*更新业务员/交付员信息*/ /*更新业务员/交付员信息*/
async updateSalesmanInfoByDeliverCode(qobj, t) { async updateSalesmanInfoByDeliverCode(qobj, t) {
......
...@@ -221,7 +221,7 @@ class DeliverybillService extends ServiceBase { ...@@ -221,7 +221,7 @@ class DeliverybillService extends ServiceBase {
return self.db.transaction(async function (t) { return self.db.transaction(async function (t) {
return await self.dao.updateStatusByDeliverCode(qobj, t); return await self.dao.updateStatusByDeliverCode(qobj, t);
}); });
} } zz
/*更新业务员/交付员信息*/ /*更新业务员/交付员信息*/
async updateSalesmanInfoByDeliverCode(qobj) { async updateSalesmanInfoByDeliverCode(qobj) {
var self = this; var self = this;
...@@ -245,6 +245,16 @@ class DeliverybillService extends ServiceBase { ...@@ -245,6 +245,16 @@ class DeliverybillService extends ServiceBase {
case "QYJYTC2": case "QYJYTC2":
//工商执照办理、银行开户、税务报到、注册地址服务(一年期)、代理记账(一年期 //工商执照办理、银行开户、税务报到、注册地址服务(一年期)、代理记账(一年期
return await this.dao.insertInfoPackage(qobj, ["companyCase", "openBankAccountCase", "taxCase", "regAddrCase1", "agentCase1"]); return await this.dao.insertInfoPackage(qobj, ["companyCase", "openBankAccountCase", "taxCase", "regAddrCase1", "agentCase1"]);
case "QYJYTC3":
//工商执照办理(带可章)、注册地址服务(一年期)
return await this.dao.insertInfoPackage(qobj, ["companyCase", "regAddrCase1"]);
case "QYJYTC4":
//银行开户、税务报到、代理记账(一年期
return await this.dao.insertInfoPackage(qobj, ["openBankAccountCase", "taxCase", "agentCase1"]);
case "QYJYTC5":
//银行开户、税务报到、代理记账(一年期)、税控托管代开票一年
return await this.dao.insertInfoPackage(qobj, ["openBankAccountCase", "taxCase","agentCase1","taxControlCase"]);
default: default:
// 非套餐类产品 // 非套餐类产品
return await this.dao.insertInfo(qobj); return await this.dao.insertInfo(qobj);
......
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