提交 60717fa2 authored 作者: 杨凯's avatar 杨凯

feat:家庭医生初始化

上级 16e6ea0b
...@@ -65,7 +65,7 @@ public class DoctorServiceImpl implements DoctorService { ...@@ -65,7 +65,7 @@ public class DoctorServiceImpl implements DoctorService {
patientSignEntity.setOrganId(reqVo.getOrganId()); patientSignEntity.setOrganId(reqVo.getOrganId());
patientSignEntity.setSignStatus(SignStatus.SIGNED.getValue()); patientSignEntity.setSignStatus(SignStatus.SIGNED.getValue());
wrapper.setEntity(patientSignEntity); wrapper.setEntity(patientSignEntity);
wrapper.orderByDesc("createTime"); wrapper.orderByDesc("create_time");
wrapper.last("limit 1"); wrapper.last("limit 1");
PatientSignEntity entity = patientSignMapper.selectOne(wrapper); PatientSignEntity entity = patientSignMapper.selectOne(wrapper);
boolean LastSignFlag = false; boolean LastSignFlag = false;
......
...@@ -227,7 +227,7 @@ public class PatientServiceImpl implements PatientService { ...@@ -227,7 +227,7 @@ public class PatientServiceImpl implements PatientService {
} }
psWrapper.setEntity(patientSign); psWrapper.setEntity(patientSign);
if (Objects.nonNull(reqVo.getPhone())) { if (Objects.nonNull(reqVo.getPhone())) {
psWrapper.orderByDesc("createTime"); psWrapper.orderByDesc("create_time");
psWrapper.last("limit 1"); psWrapper.last("limit 1");
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论