소스 검색

分享人员也生成考勤

liujc 2 년 전
부모
커밋
27777611b5
1개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 8
      mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentAttendanceServiceImpl.java

+ 0 - 8
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentAttendanceServiceImpl.java

@@ -554,14 +554,6 @@ public class StudentAttendanceServiceImpl extends BaseServiceImpl<Long, StudentA
         if (Objects.isNull(classGroup)) {
             return;
         }
-        // 购买人员生成考勤cssp表
-        CourseScheduleStudentPayment payment = courseScheduleStudentPaymentDao.getByUserIdAndCourseId(userId, currentScheduleId);
-        if (Objects.isNull(payment)) {
-            return;
-        }
-        if (JoinCourseType.SHARE.equals(payment.getJoinCourseType())) {
-            return;
-        }
         StudentAttendance studentAttendance = studentAttendanceDao.findByStatusAndCourseScheduleId(userId, currentScheduleId.intValue());
         if (studentAttendance == null) {
             studentAttendance = new StudentAttendance();