Commit 9c3989e6 by 庄冰

bizType

parent a2d7ec03
...@@ -564,6 +564,8 @@ class NeedsolutionService extends ServiceBase { ...@@ -564,6 +564,8 @@ class NeedsolutionService extends ServiceBase {
if(!needinfo.channelTypeCode){ if(!needinfo.channelTypeCode){
return system.getResultFail(-206,"渠道方案类型错误"); return system.getResultFail(-206,"渠道方案类型错误");
} }
ab.solutionContent.typeCode=needinfo.typeCode;
ab.solutionContent.typeName=needinfo.typeName;
var ns = await this.dao.model.findAll({ var ns = await this.dao.model.findAll({
where:{channelNeedNo:ab.needNo},raw:true where:{channelNeedNo:ab.needNo},raw:true
}); });
...@@ -573,8 +575,8 @@ class NeedsolutionService extends ServiceBase { ...@@ -573,8 +575,8 @@ class NeedsolutionService extends ServiceBase {
return system.getResultFail(-207,"需求方案已存在,不能重复提交"); return system.getResultFail(-207,"需求方案已存在,不能重复提交");
} }
} }
ab.solutionContent.bizType=needinfo.channelTypeCode; // ab.solutionContent.bizType=needinfo.channelTypeCode;
bizType =needinfo.channelTypeCode; // bizType =needinfo.channelTypeCode;
if(!ab.solutionContent.solution){ if(!ab.solutionContent.solution){
return system.getResultFail(-104,"业务方案信息不能为空"); return system.getResultFail(-104,"业务方案信息不能为空");
} }
......
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