update 调整初始化接口

develop
hhb@hotmail.com 3 weeks ago
parent 6093f4f227
commit 6db74ee524

@ -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) {

Loading…
Cancel
Save