Commit 18bfd9dc by 庄冰

icp

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