|
|
@ -64,7 +64,7 @@ public class AsyncTeacherService {
|
|
|
|
.collect(Collectors.toList());
|
|
|
|
.collect(Collectors.toList());
|
|
|
|
|
|
|
|
|
|
|
|
if (!updates.isEmpty()) {
|
|
|
|
if (!updates.isEmpty()) {
|
|
|
|
//ptTeacherRepository.saveAll(updates);
|
|
|
|
ptTeacherRepository.saveAll(updates);
|
|
|
|
// updates.forEach(pt -> PT_TEACHER_CACHE.put(pt.getCode(), pt));
|
|
|
|
// updates.forEach(pt -> PT_TEACHER_CACHE.put(pt.getCode(), pt));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} catch (Exception e) {
|
|
|
|
} catch (Exception e) {
|
|
|
|