Browse Source

1、课程调整时排除自动补签记录
2、删除请假时班级学生状态更新代码
3、小课过期课程调整生成后加入学生缴费信息

Joburgess 5 years ago
parent
commit
8b00f585c7

+ 1 - 1
mec-biz/src/main/java/com/ym/mec/biz/service/impl/CourseScheduleStudentPaymentServiceImpl.java

@@ -230,6 +230,6 @@ public class CourseScheduleStudentPaymentServiceImpl extends BaseServiceImpl<Lon
 		if(zeroPriceNum<=0){
 		if(zeroPriceNum<=0){
 			return;
 			return;
 		}
 		}
-
+		
 	}
 	}
 }
 }

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/StudentAttendanceMapper.xml

@@ -362,7 +362,7 @@
     <select id="countStudentAttendenceNum" resultType="int">
     <select id="countStudentAttendenceNum" resultType="int">
         SELECT COUNT(*) FROM student_attendance sa
         SELECT COUNT(*) FROM student_attendance sa
         WHERE course_schedule_id_ = #{courseScheduleId}
         WHERE course_schedule_id_ = #{courseScheduleId}
-        AND update_time_!='1970-01-01 00:00:00'
+        AND (update_time_!='1970-01-01 00:00:00' OR update_time_ IS NULL)
     </select>
     </select>
     <select id="countStudentAttendancesByCourses" resultType="java.util.Map">
     <select id="countStudentAttendancesByCourses" resultType="java.util.Map">
         SELECT
         SELECT