浏览代码

分享人员也生成考勤

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)) {
         if (Objects.isNull(classGroup)) {
             return;
             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());
         StudentAttendance studentAttendance = studentAttendanceDao.findByStatusAndCourseScheduleId(userId, currentScheduleId.intValue());
         if (studentAttendance == null) {
         if (studentAttendance == null) {
             studentAttendance = new StudentAttendance();
             studentAttendance = new StudentAttendance();