yaozc
2023-01-28 6f1611828480fcb96449d43d06dd20c046f0b8a6
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/attendance/service/impl/AttendanceCardreplacementServiceImpl.java
@@ -226,8 +226,8 @@
            if (resources.getApprovalStatus().equals(Constant.CARD_APPROVE_STATUS_AGREE)) {
                // set考勤打卡时间和打卡状态
                attendance.setActualWorkEndTime(resources.getCardReplacementTime());
                attendance.setEndClockResults(Constant.ATTENDANCE_STATE_NOTSIGNED);
                attendance.setEndLocationResults(Constant.LOCATION_RESULTS_NOTSIGNED);
                attendance.setEndClockResults(Constant.ATTENDANCE_STATE_NORMAL);
                attendance.setEndLocationResults(Constant.LOCATION_RESULTS_NORMAL);
            }else if (resources.getApprovalStatus().equals(Constant.CARD_APPROVE_STATUS_REFUSE)){
                attendance.setEndClockResults(Constant.ATTENDANCE_STATE_NOTSIGNED);
                attendance.setEndLocationResults(Constant.LOCATION_RESULTS_NOTSIGNED);