Explorar o código

分享人员也生成考勤

liujc %!s(int64=2) %!d(string=hai) anos
pai
achega
27777611b5

+ 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();