Commit 28aa51ac by yao.xiao

Merge branch 'dev' of http://139.224.139.2:9091/AGSH/yd-backend into dev

parents 9fe8afab 1e6d6b40
......@@ -2547,7 +2547,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
}
if(goalsPremium != null && goalsPremium > 0){
BigDecimal fycBigDecimal = new BigDecimal(fycSum),goalsBigDecimal = new BigDecimal(goalsPremium);
return fycBigDecimal.divide(goalsBigDecimal,4,BigDecimal.ROUND_HALF_UP).doubleValue() * 100;
return CommonUtil.doubleFormat(fycBigDecimal.divide(goalsBigDecimal,4,BigDecimal.ROUND_HALF_UP).doubleValue() * 100,2);
}
}
return 0D;
......
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