Commit 8e811946 by 兰国旗

laolan

parent 9e272c8c
...@@ -237,14 +237,14 @@ class BaseQcService { ...@@ -237,14 +237,14 @@ class BaseQcService {
if (!solution) { if (!solution) {
return system.getResultFail(-103, "方案交付信息有误"); return system.getResultFail(-103, "方案交付信息有误");
} }
//判断属于百度还是易名 //判断属于渠道 18阿里,44百度,52易名
if(needinfo.uapp_id == 44){ if(needinfo.uapp_id == 44 || needinfo.uapp_id == 18){
if (needinfo.channelTypeCode == "7") {//edi if (needinfo.channelTypeCode == "7") {//edi
ab.solutionContent.solution.IcpType = 2; ab.solutionContent.solution.IcpType = 2;
} else if (needinfo.channelTypeCode == "5") {//icp } else if (needinfo.channelTypeCode == "5") {//icp
ab.solutionContent.solution.IcpType = 1; ab.solutionContent.solution.IcpType = 1;
} else { } else {
return system.getResultFail(-208, "需求业务类型有误"); return system.getResultFail(-207, "需求业务类型有误");
} }
} }
if(needinfo.uapp_id == 52){ if(needinfo.uapp_id == 52){
...@@ -257,7 +257,7 @@ class BaseQcService { ...@@ -257,7 +257,7 @@ class BaseQcService {
} else if (needinfo.channelTypeCode == "edinb") {//edinb } else if (needinfo.channelTypeCode == "edinb") {//edinb
ab.solutionContent.solution.IcpType = 4; ab.solutionContent.solution.IcpType = 4;
} else { } else {
return system.getResultFail(-208, "需求业务类型有误"); return system.getResultFail(-208, "需求业务类型有误-52");
} }
} }
if (!solution.CompanyName) { if (!solution.CompanyName) {
......
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