提交 9fded529 authored 作者: 杨凯's avatar 杨凯

feat:家庭医生初始化

上级 ef34b918
......@@ -170,9 +170,10 @@ public class DoctorServiceImpl implements DoctorService {
psWrapper.setEntity(patientSign);
psWrapper.notIn("package_order_id", reqVo.getPackageOrderId());
List<PatientSignEntity> patientSignEntities = patientSignMapper.selectList(psWrapper);
log.info("patientSignEntities={}", patientSignEntities);
if (!patientSignEntities.isEmpty()) {
List<Long> patientDoctorIds = patientSignEntities.stream().map(PatientSignEntity::getDoctorId).collect(Collectors.toList());
log.info("patientDoctorIds={}", patientDoctorIds);
doctorListVos = doctorListVos.stream().filter(doctorListVo -> !patientDoctorIds.contains(Long.valueOf(doctorListVo.getDoctorId()))).collect(Collectors.toList());
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论