Commit 404e7b75 authored by 廖旭伟's avatar 廖旭伟

若尔盖考勤汇总导表需求

parent 7707afeb
...@@ -414,15 +414,15 @@ public class AttendanceStatServiceImpl extends AbstractCRUDServiceImpl<Attendanc ...@@ -414,15 +414,15 @@ public class AttendanceStatServiceImpl extends AbstractCRUDServiceImpl<Attendanc
int normal = 4; //正常次数 int normal = 4; //正常次数
if (item.getMorningTimes() > 0) { if (item.getMorningTimes() > 0) {
attendanceSummary += "缺卡*" + item.getMorningTimes() + "次;"; attendanceSummary += "缺卡*" + item.getMorningTimes() + "次;";
normal--; normal= normal-item.getMorningTimes();
} }
if (item.getLateTimes() > 0) { if (item.getLateTimes() > 0) {
attendanceSummary += "迟到*" + item.getLateTimes() + "次;"; attendanceSummary += "迟到*" + item.getLateTimes() + "次;";
normal--; normal= normal-item.getLateTimes();
} }
if (item.getOvertimeTimes() > 0) { if (item.getOvertimeTimes() > 0) {
attendanceSummary += "早退*" + item.getOvertimeTimes() + "次;"; attendanceSummary += "早退*" + item.getOvertimeTimes() + "次;";
normal--; normal= normal-item.getOvertimeTimes();
} }
if (item.getLeaveHalfDay() > 0) { if (item.getLeaveHalfDay() > 0) {
attendanceSummary += "事假半天*" + item.getLeaveHalfDay() + "次;"; attendanceSummary += "事假半天*" + item.getLeaveHalfDay() + "次;";
......
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