Commit ac543027 by yao.xiao

非空判断

parent 2df27667
...@@ -1767,7 +1767,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service. ...@@ -1767,7 +1767,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
List<MktLeadsGoals> leadsGoals = getYearTeamGoals(practitionerId); List<MktLeadsGoals> leadsGoals = getYearTeamGoals(practitionerId);
ConcurrentHashMap<String,Double> achievementRateMap = new ConcurrentHashMap<>(); ConcurrentHashMap<String,Double> achievementRateMap = new ConcurrentHashMap<>();
if (!leadsGoals.isEmpty()){ if (!leadsGoals.isEmpty()&&performanceForecast != null){
//计算完成率 //计算完成率
achievementRateMap = getAchievementRate(leadsGoals,performanceForecast); achievementRateMap = getAchievementRate(leadsGoals,performanceForecast);
} }
......
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