提交 84bbbc79 authored 作者: 杨凯's avatar 杨凯

feat:家庭医生初始化

上级 214fc6f1
...@@ -47,7 +47,7 @@ public class ServiceConfigServiceImpl implements ServiceConfigService { ...@@ -47,7 +47,7 @@ public class ServiceConfigServiceImpl implements ServiceConfigService {
requestOnlineOrOfflineVo.setAppCode(serviceConfigEntity.getAppCode()); requestOnlineOrOfflineVo.setAppCode(serviceConfigEntity.getAppCode());
requestOnlineOrOfflineVo.setDoctorId(serviceConfigEntity.getDoctorId()); requestOnlineOrOfflineVo.setDoctorId(serviceConfigEntity.getDoctorId());
requestOnlineOrOfflineVo.setHospitalId(serviceConfigEntity.getOrganId()); requestOnlineOrOfflineVo.setHospitalId(serviceConfigEntity.getOrganId());
requestOnlineOrOfflineVo.setDeptId(String.valueOf(serviceConfigEntity.getDeptId()));
requestOnlineOrOfflineVo.setOfficeStatus(serviceConfigEntity.getOfficeStatus()); requestOnlineOrOfflineVo.setOfficeStatus(serviceConfigEntity.getOfficeStatus());
return requestOnlineOrOfflineVo; return requestOnlineOrOfflineVo;
...@@ -59,6 +59,7 @@ public class ServiceConfigServiceImpl implements ServiceConfigService { ...@@ -59,6 +59,7 @@ public class ServiceConfigServiceImpl implements ServiceConfigService {
ServiceConfigEntity wrapperEntity = new ServiceConfigEntity(); ServiceConfigEntity wrapperEntity = new ServiceConfigEntity();
wrapperEntity.setOrganId(requestOnlineOrOfflineVo.getHospitalId()); wrapperEntity.setOrganId(requestOnlineOrOfflineVo.getHospitalId());
wrapperEntity.setAppCode(requestOnlineOrOfflineVo.getAppCode()); wrapperEntity.setAppCode(requestOnlineOrOfflineVo.getAppCode());
wrapperEntity.setDeptId(Long.valueOf(requestOnlineOrOfflineVo.getDeptId()));
wrapperEntity.setDoctorId(requestOnlineOrOfflineVo.getDoctorId()); wrapperEntity.setDoctorId(requestOnlineOrOfflineVo.getDoctorId());
queryWrapper.setEntity(wrapperEntity); queryWrapper.setEntity(wrapperEntity);
queryWrapper.last("limit 1"); queryWrapper.last("limit 1");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论