Commit 7f8336d9 by 宋毅

3为资料未确认(暂时不用做处理)

parent eeb56fab
......@@ -424,7 +424,7 @@ class UtilsNeedService extends AppServiceBase {
}
self.utilsPushSve.business2Channel(reqParams, "updateChanceStatus");
self.utilsPushSve.business2Channel(pobj, "pushCloseICPNeed");
}
}
return result;
}
......@@ -525,6 +525,9 @@ class UtilsNeedService extends AppServiceBase {
if (!actionBody.status) {
return system.getResult(null, "actionBody.status can not be empty,100495");
}
if (actionBody.status == 3) {//3为资料未确认(暂时不用做处理)
return system.getResultSuccess();
}
if (actionBody.businessLicense) {
actionBody.newbusinessLicense = await self.opDownFileInfo(actionBody.businessLicense);
}
......@@ -875,7 +878,7 @@ class UtilsNeedService extends AppServiceBase {
var spobj = [];
// 遍历生成阿里需求 并把bizId 填充进数组
for (var i = 0; i < actionBody.demands.length; i++) {
// 第一步
// 第一步
// 地区转换
var area = this.areaChange(actionBody.demands[i].area)
// SubmitIcpIntention需要的类型转换ICP许可证 = 5/EDI许可证 = 7
......@@ -935,7 +938,7 @@ class UtilsNeedService extends AppServiceBase {
obj1.actionBody = npobj[i];
var opResult = await this.submitNeed(obj1, obj1.actionBody);
console.log("needBatchUpload-opResult", opResult)
// 第三步
// 第三步
// 提交Icp注册方案
// 程序执行比异步分配需求快,所以写成两个循环
var objString2 = JSON.stringify(pobj);
......@@ -1569,7 +1572,7 @@ class UtilsNeedService extends AppServiceBase {
} else if (pobj.actionBody.channel_type_code == "edinb") {
pobj.actionBody.type = "yiming.edinb";
pobj.actionBody.idempotentSource = "yiming.edinb";
}
}
}
if (pobj.actionBody.description && pobj.actionBody.description.indexOf("备#") < 0) {
pobj.actionBody.level = "A";
......
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