Commit 2cf87687 by 兰国旗

yiming

parent 61ff44d6
...@@ -184,6 +184,7 @@ class NeedinfoService2 extends ServiceBase { ...@@ -184,6 +184,7 @@ class NeedinfoService2 extends ServiceBase {
} }
async writeCommunicationLog(pobj, actionBody) { async writeCommunicationLog(pobj, actionBody) {
console.log('actionBody---writeCommunicationLog---',actionBody)
// 查询需求沟通记录 // 查询需求沟通记录
// 2020 0820 lin 修改channel传过来的参数 为 note/intentionBizId // 2020 0820 lin 修改channel传过来的参数 为 note/intentionBizId
actionBody.Note = ["noteTime", moment().format("YYYY-MM-DD HH:mm:ss"), "note", actionBody.note]; actionBody.Note = ["noteTime", moment().format("YYYY-MM-DD HH:mm:ss"), "note", actionBody.note];
......
...@@ -234,12 +234,28 @@ class BaseQcService { ...@@ -234,12 +234,28 @@ class BaseQcService {
if (!solution) { if (!solution) {
return system.getResultFail(-103, "方案交付信息有误"); return system.getResultFail(-103, "方案交付信息有误");
} }
if (needinfo.channelTypeCode == "7") {//edi //判断属于百度还是易名
ab.solutionContent.solution.IcpType = 2; if(needinfo.uapp_id == 44){
} else if (needinfo.channelTypeCode == "5") {//icp if (needinfo.channelTypeCode == "7") {//edi
ab.solutionContent.solution.IcpType = 1; ab.solutionContent.solution.IcpType = 2;
} else { } else if (needinfo.channelTypeCode == "5") {//icp
return system.getResultFail(-208, "需求业务类型有误"); ab.solutionContent.solution.IcpType = 1;
} else {
return system.getResultFail(-208, "需求业务类型有误");
}
}
if(needinfo.uapp_id == 52){
if (needinfo.channelTypeCode == "7") {//edi
ab.solutionContent.solution.IcpType = 2;
} else if (needinfo.channelTypeCode == "5") {//icp
ab.solutionContent.solution.IcpType = 1;
} else if (needinfo.channelTypeCode == "icpnb") {//icpnb
ab.solutionContent.solution.IcpType = 4;
} else if (needinfo.channelTypeCode == "edinb") {//edinb
ab.solutionContent.solution.IcpType = 3;
} else {
return system.getResultFail(-208, "需求业务类型有误");
}
} }
if (!solution.CompanyName) { if (!solution.CompanyName) {
return system.getResultFail(-105, "公司名不能为空"); return system.getResultFail(-105, "公司名不能为空");
......
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