提交 4208bb97 authored 作者: 杨凯's avatar 杨凯

feat:家庭医生初始化

上级 21f96059
......@@ -325,7 +325,7 @@ public class PatientServiceImpl implements PatientService {
log.info("当前排班医生:{}", JSON.toJSONString(scheduleRecordEntities));
if (!CollectionUtils.isEmpty(scheduleRecordEntities)) {
scheduleRecordEntities.stream().filter(scheduleRecordEntity -> scheduleRecordEntity.getDoctorId().equals(doctorId)).collect(Collectors.toList());
scheduleRecordEntities.stream().filter(scheduleRecordEntity -> !scheduleRecordEntity.getDoctorId().equals(String.valueOf(doctorId))).collect(Collectors.toList());
}
log.info("过滤之后的医生:{}", JSON.toJSONString(scheduleRecordEntities));
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论