Commit b4afcee3 by yao.xiao

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

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