Commit 5c4bc371 authored by 赵啸非's avatar 赵啸非

修改导出动态列

parent eee0e807
......@@ -240,7 +240,7 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
long att = totalAttend - lackOfCardsAttend;
if (att!=0L){
BigDecimal bigDecimal = new BigDecimal(att).divide(new BigDecimal(total)).multiply(new BigDecimal(100)).setScale(2, BigDecimal.ROUND_CEILING);
BigDecimal bigDecimal = new BigDecimal(att).divide(new BigDecimal(totalAttend)).multiply(new BigDecimal(100)).setScale(2, BigDecimal.ROUND_CEILING);
homeStatInfo.setAttendRadio(bigDecimal.toString()+"%");
}else{
homeStatInfo.setAttendRadio("0%");
......
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