Commit 82adbd40 by 庄冰

icp

parent 907ef412
...@@ -1031,12 +1031,13 @@ class NeedsolutionService extends ServiceBase { ...@@ -1031,12 +1031,13 @@ class NeedsolutionService extends ServiceBase {
// //
async getIcpProgrammeDetail(pobj){ async getIcpProgrammeDetail(pobj){
var ab = pobj.actionBody; var ab = pobj.actionBody;
if(!ab.intentionBizId){ if(!ab.BizId){
return system.getResultFail(-101,"渠道需求编号错误"); return system.getResultFail(-101,"方案编号不能为空");
} }
//获取方案信息 //获取方案信息
var ns = await this.dao.model.findAll({ var ns = await this.dao.model.findAll({
where:{channelNeedNo:ab.intentionBizId},raw:true where:{channelSolutionNo:ab.BizId},raw:true
}); });
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