Commit b5d62d86 by yao.xiao

补充提交

parent a6c30462
......@@ -2177,7 +2177,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
if (!CommonUtil.isNullOrZero(performanceForecast.get("totalFYCQuarter"))){
Double achievementRateQuarter = performanceForecast.get("totalFYCQuarter")
.multiply(BigDecimal.valueOf(100))
.divide(BigDecimal.valueOf(yearGoal),2,BigDecimal.ROUND_HALF_UP)
.divide(BigDecimal.valueOf(quarterGoal),2,BigDecimal.ROUND_HALF_UP)
.doubleValue();
achievementRateMap.put("achievementRateQuarter",achievementRateQuarter);
}
......@@ -2185,7 +2185,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
if (!CommonUtil.isNullOrZero(performanceForecast.get("totalFYCMonth"))){
Double achievementRateMonth = performanceForecast.get("totalFYCMonth")
.multiply(BigDecimal.valueOf(100))
.divide(BigDecimal.valueOf(yearGoal),2,BigDecimal.ROUND_HALF_UP)
.divide(BigDecimal.valueOf(monthGoal),2,BigDecimal.ROUND_HALF_UP)
.doubleValue();
achievementRateMap.put("achievementRateMonth",achievementRateMonth);
}
......
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