Commit aa69dda8 authored by 赵啸非's avatar 赵啸非

修改本月统计

parent 602774b7
......@@ -285,6 +285,8 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
long att = totalAttendPersonNum - lackOfCardsAttend;
// long att = totalAttend - lackOfCardsAttend;
if (att != 0L) {
log.info("att:"+att);
log.info("totalAttendPersonNum:"+totalAttendPersonNum);
BigDecimal bigDecimal = new BigDecimal(att).divide(new BigDecimal(totalAttendPersonNum), 4, BigDecimal.ROUND_CEILING).multiply(new BigDecimal(100)).setScale(2, BigDecimal.ROUND_CEILING);
homeStatInfo.setAttendRadio(bigDecimal.toString() + "%");
} else {
......
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