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

feat:家庭医生初始化

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