Commit 97f18804 by Water Wang

optimize

parent f6ca4412
......@@ -2544,7 +2544,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();
return fycBigDecimal.divide(goalsBigDecimal,4,BigDecimal.ROUND_HALF_UP).doubleValue() * 100;
}
}
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