|
@@ -83,7 +83,7 @@ public class StudentServiceImpl extends BaseServiceImpl<Integer, Student> implem
|
|
|
List<Student> updateStudentList = new ArrayList<Student>();
|
|
|
StudentCourseTimesDto dto = null;
|
|
|
for(Student s : studentList){
|
|
|
- dto = map.get(s.getUpdateTime());
|
|
|
+ dto = map.get(s.getUserId());
|
|
|
if(dto != null){
|
|
|
if(dto.getTotalCourseTimes() != dto.getFreePracticeCourseTimes()){
|
|
|
updateStudentList.add(s);
|