Commit 4c64198e authored by 廖旭伟's avatar 廖旭伟

考勤汇总bug修改

parent 98be2744
...@@ -351,6 +351,10 @@ public class AttendanceStatServiceImpl extends AbstractCRUDServiceImpl<Attendanc ...@@ -351,6 +351,10 @@ public class AttendanceStatServiceImpl extends AbstractCRUDServiceImpl<Attendanc
temp.setGoTimes(0); //默认只要有异常考勤,当天就不算全勤 temp.setGoTimes(0); //默认只要有异常考勤,当天就不算全勤
if (item.getMorningTimes() > 0) { if (item.getMorningTimes() > 0) {
temp.setNonCompliancePunch(new BigDecimal(item.getMorningTimes())); temp.setNonCompliancePunch(new BigDecimal(item.getMorningTimes()));
temp.setAfternoonTimes(item.getMorningTimes());
temp.setMorningTimes(item.getMorningTimes());
temp.setOvertimeTimes(item.getOvertimeTimes());
temp.setLateTimes(item.getLateTimes());
} }
temp.setUpdateTime(new Date()); temp.setUpdateTime(new Date());
statMap.put(temp.getStaffId(),temp); statMap.put(temp.getStaffId(),temp);
......
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