|
@ -79,6 +79,7 @@ public class RehabilitationManageService extends BaseService {
|
|
|
private String updateNoteAndImageRehabilitationOperate ="/svr-specialist/updateNoteAndImageRehabilitationOperate";//康复计划完成时更新服务完成笔记和图片接口;
|
|
|
private String updatePlanDetailStatusById = "/svr-specialist/updatePlanDetailStatusById";//康复管理-更新康复计划服务项目状态
|
|
|
private String planSchedule = "/svr-specialist/planSchedule";//康复管理-计划总进度
|
|
|
private String planListByPatient = "/svr-specialist/planListByPatient";//康复管理-根据居民获取康复计划
|
|
|
/************************************************************* end ************************************************************************/
|
|
|
|
|
|
/**
|
|
@ -634,4 +635,17 @@ public class RehabilitationManageService extends BaseService {
|
|
|
}
|
|
|
throw new Exception("请求微服务失败!");
|
|
|
}
|
|
|
|
|
|
public JSONArray planListByPatient(String patient) throws Exception {
|
|
|
Map<String, Object> param = new HashedMap();
|
|
|
param.put("patient", patient);
|
|
|
HttpResponse response = HttpUtils.doGet(specialistUrl + planListByPatient, param);
|
|
|
if(StringUtils.isNotBlank(response.getContent())) {
|
|
|
JSONObject result = new JSONObject(response.getContent());
|
|
|
if(result.getInt("status")==200){
|
|
|
return result.getJSONArray("obj");
|
|
|
}
|
|
|
}
|
|
|
throw new Exception("请求微服务失败!");
|
|
|
}
|
|
|
}
|