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