提交 a40fcad0 authored 作者: 杨凯's avatar 杨凯

feat:家庭医生初始化

上级 87a1c065
......@@ -217,13 +217,8 @@ public class PatientServiceImpl implements PatientService {
} else {
QueryWrapper<PatientSignEntity> psWrapper = new QueryWrapper<>();
PatientSignEntity patientSign = new PatientSignEntity();
if (Objects.nonNull(reqVo.getPhone())) {
patientSign.setPatientPhone(reqVo.getPhone());
}
psWrapper.setEntity(patientSign);
if (Objects.nonNull(reqVo.getPhone())) {
psWrapper.orderByDesc("createTime");
psWrapper.last("limit 1");
if (Objects.nonNull(reqVo.getAdmId())) {
patientSign.setAdmId(reqVo.getAdmId());
}
PatientSignEntity pse = patientSignMapper.selectOne(psWrapper);
if (null == pse) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论