Commit 18bfd9dc by 庄冰

icp

parent 60ffc93a
...@@ -40,7 +40,7 @@ class IcpAPI extends APIBase { ...@@ -40,7 +40,7 @@ class IcpAPI extends APIBase {
opResult = await this.needsolutionSve.submitIcpMaterial(pobj); opResult = await this.needsolutionSve.submitIcpMaterial(pobj);
break; break;
case "acceptIcpPartnerNotification"://icp通知状态变更 case "acceptIcpPartnerNotification"://icp通知状态变更
opResult = await this.needsolutionSve.updateStausByRefundOrder(pobj); opResult = await this.needsolutionSve.acceptIcpPartnerNotification(pobj);
break; break;
case "abolishIcpProgramme"://服务商icp方案关闭 case "abolishIcpProgramme"://服务商icp方案关闭
opResult = await this.needsolutionSve.abolishIcpProgramme(pobj); opResult = await this.needsolutionSve.abolishIcpProgramme(pobj);
......
...@@ -574,7 +574,7 @@ class NeedsolutionService extends ServiceBase { ...@@ -574,7 +574,7 @@ class NeedsolutionService extends ServiceBase {
"OfficialFileURL":"", "OfficialFileURL":"",
"ApplicationStatus":"submitIcpProgramme", "ApplicationStatus":"submitIcpProgramme",
"ApplicationStatusName":"提交方案", "ApplicationStatusName":"提交方案",
"created_at":new Date(); "created_at":new Date()
}]; }];
if(!solution.CompanyName){ if(!solution.CompanyName){
return system.getResultFail(-105,"公司名不能为空"); return system.getResultFail(-105,"公司名不能为空");
...@@ -791,7 +791,7 @@ class NeedsolutionService extends ServiceBase { ...@@ -791,7 +791,7 @@ class NeedsolutionService extends ServiceBase {
var self = this; var self = this;
return await this.db.transaction(async function (t) { return await this.db.transaction(async function (t) {
await self.dao.update(needsolutioninfo,t); await self.dao.update(needsolutioninfo,t);
needsolutioninfo = await this.dao.model.findOne({ needsolutioninfo = await self.dao.model.findOne({
where:{channelSolutionNo: ab.BizId},raw:true where:{channelSolutionNo: ab.BizId},raw:true
}); });
return system.getResultSuccess(needsolutioninfo); return system.getResultSuccess(needsolutioninfo);
...@@ -840,7 +840,7 @@ class NeedsolutionService extends ServiceBase { ...@@ -840,7 +840,7 @@ class NeedsolutionService extends ServiceBase {
var statusObj={ var statusObj={
"OfficialFileURL":ab.OfficialFileURL || "", "OfficialFileURL":ab.OfficialFileURL || "",
"ApplicationStatus":ab.ApplicationStatus, "ApplicationStatus":ab.ApplicationStatus,
"created_at":new Date(); "created_at":new Date()
}; };
applicationStatusList.push(statusObj); applicationStatusList.push(statusObj);
solutionContent.applicationStatusList = applicationStatusList; solutionContent.applicationStatusList = applicationStatusList;
...@@ -849,7 +849,7 @@ class NeedsolutionService extends ServiceBase { ...@@ -849,7 +849,7 @@ class NeedsolutionService extends ServiceBase {
var self = this; var self = this;
return await this.db.transaction(async function (t) { return await this.db.transaction(async function (t) {
await self.dao.update(needsolutioninfo,t); await self.dao.update(needsolutioninfo,t);
needsolutioninfo = await this.dao.model.findOne({ needsolutioninfo = await self.dao.model.findOne({
where:{channelSolutionNo: ab.BizId},raw:true where:{channelSolutionNo: ab.BizId},raw:true
}); });
statusObj["BizId"] = ab.BizId; statusObj["BizId"] = ab.BizId;
......
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