Commit b4afcee3 by yao.xiao

修改-查询经纪人商机详情

parent 363d571a
...@@ -529,15 +529,17 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service. ...@@ -529,15 +529,17 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
//商机跟进ag_survey_analysis_sales_record表差字段 //商机跟进ag_survey_analysis_sales_record表差字段
OpportunityRecordSituationInfo opportunityRecordSituationInfo = new OpportunityRecordSituationInfo(); OpportunityRecordSituationInfo opportunityRecordSituationInfo = new OpportunityRecordSituationInfo();
List<OpportunityRecordInfo> opportunityRecordInfos = getOpportunityRecords(requestVO); List<OpportunityRecordInfo> opportunityRecordInfos = getOpportunityRecords(requestVO);
if (!opportunityRecordInfos.isEmpty()){
opportunityRecordSituationInfo.setStatus(getRecordStatus(opportunityRecordInfos)); opportunityRecordSituationInfo.setStatus(getRecordStatus(opportunityRecordInfos));
opportunityRecordSituationInfo.setOpportunityRecordInfos(opportunityRecordInfos); opportunityRecordSituationInfo.setOpportunityRecordInfos(opportunityRecordInfos);
//商机得分详情 //商机得分详情
OpportunityScore opportunityScore = getOpportunityScore(opportunityRecordInfos); OpportunityScore opportunityScore = getOpportunityScore(opportunityRecordInfos);
responseVO.setOpportunityScore(opportunityScore);
}
responseVO.setOpportunityRecordSituationInfo(opportunityRecordSituationInfo); responseVO.setOpportunityRecordSituationInfo(opportunityRecordSituationInfo);
responseVO.setOpportunityBasicInformationInfo(basicInformationInfo); responseVO.setOpportunityBasicInformationInfo(basicInformationInfo);
responseVO.setOpportunityConsultationInfo(opportunityConsultationInfo); responseVO.setOpportunityConsultationInfo(opportunityConsultationInfo);
responseVO.setOpportunityScore(opportunityScore);
responseVO.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("800000"))); responseVO.setCommonResult(new CommonResult(true, ZHBErrorConfig.getErrorInfo("800000")));
return responseVO; return responseVO;
} }
......
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