Commit dc267e14 by wenyang

1、活动量分值详情显示错误

 2、战队销售业绩预测(预计)列表数据显示错误
parent 71591655
......@@ -2631,7 +2631,10 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
defaultPremium = defaultPremium.add(leadsAssigneds.getFyp());
}
}
Double achievementRate = defaultCommission.divide(quarterGoal, 4, BigDecimal.ROUND_HALF_UP).doubleValue();
Double achievementRate = 0D;
if(quarterGoal.compareTo(BigDecimal.ZERO)!=0){
achievementRate = defaultCommission.divide(quarterGoal, 4, BigDecimal.ROUND_HALF_UP).doubleValue();
}
info.setPractitionerId(praId);
info.setName(practitionerIdToName.get(praId));
info.setPieces(defaultPieces);
......
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