Commit 1349ec10 authored by 廖旭伟's avatar 廖旭伟

Merge remote-tracking branch 'origin/master'

parents 866f6ba4 f1e22ac7
...@@ -260,7 +260,7 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi ...@@ -260,7 +260,7 @@ public class LoginController extends BaseCRUDJsonBodyMappingController<UserServi
//异常考勤记录 //异常考勤记录
//未考勤 //未考勤
// long noAtt=lackOfCards; // long noAtt=lackOfCards;
long att = totalAttend - lackOfCardsAttend; long att = totalAttend - lackOfCardsAttend-levealPersonNum;
if (att!=0L){ if (att!=0L){
BigDecimal bigDecimal = new BigDecimal(att).divide(new BigDecimal(totalAttend),4,BigDecimal.ROUND_CEILING).multiply(new BigDecimal(100)).setScale(2, BigDecimal.ROUND_CEILING); BigDecimal bigDecimal = new BigDecimal(att).divide(new BigDecimal(totalAttend),4,BigDecimal.ROUND_CEILING).multiply(new BigDecimal(100)).setScale(2, BigDecimal.ROUND_CEILING);
homeStatInfo.setAttendRadio(bigDecimal.toString()+"%"); homeStatInfo.setAttendRadio(bigDecimal.toString()+"%");
......
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