Commit 792e58f5 by 庄冰

icpsq

parent a0325a54
...@@ -621,7 +621,7 @@ class NeedsolutionService extends ServiceBase { ...@@ -621,7 +621,7 @@ class NeedsolutionService extends ServiceBase {
if(needinfo.channelTypeCode=="7"){//edi if(needinfo.channelTypeCode=="7"){//edi
ab.solutionContent.solution.IcpType=2; ab.solutionContent.solution.IcpType=2;
} }
if(needinfo.channelTypeCode=="6"){//icp if(needinfo.channelTypeCode=="5"){//icp
ab.solutionContent.solution.IcpType=1; ab.solutionContent.solution.IcpType=1;
} }
ab.solutionContent.applicationStatusList = [{ ab.solutionContent.applicationStatusList = [{
...@@ -1076,6 +1076,13 @@ class NeedsolutionService extends ServiceBase { ...@@ -1076,6 +1076,13 @@ class NeedsolutionService extends ServiceBase {
var ns = await this.dao.model.findAll({ var ns = await this.dao.model.findAll({
where:{channelSolutionNo:ab.BizId},raw:true where:{channelSolutionNo:ab.BizId},raw:true
}); });
if(ns && ns.needNo){
var needinfo = await this.needinfoDao.model.findAll({
where:{needNo:ns.needNo},raw:true,
attributes:["publishName","publishMobile","channelUserId"]
});
ns.needinfo = needinfo;
}
return system.getResultSuccess(ns); return system.getResultSuccess(ns);
} }
//获取方案详情(前端调用) //获取方案详情(前端调用)
......
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