|
@ -47,6 +47,8 @@ public class RehabilitationManageService extends BaseService {
|
|
|
private String recentPlanDetailRecord = "/svr-specialist/recentPlanDetailRecord";//居民康复计划详情页-近期康复相关记录
|
|
|
private String createServiceQrCode ="/svr-specialist/createServiceQrCode";//根据康复计划明细id和对话sessionId生成服务码
|
|
|
private String checkAfterQrCode="/svr-specialist/checkAfterQrCode";//居民扫码后验证是否是关联的居民扫码
|
|
|
private String saveRehabilitationOperateRecodr ="/svr-specialist/saveRehabilitationOperateRecodr";//新增operateRecodr
|
|
|
private String updateNoteAndImageRehabilitationOperate ="/svr-specialist/updateNoteAndImageRehabilitationOperate";//康复计划完成时更新服务完成笔记和图片接口;
|
|
|
/************************************************************* end ************************************************************************/
|
|
|
|
|
|
/**
|
|
@ -315,4 +317,24 @@ public class RehabilitationManageService extends BaseService {
|
|
|
JSONObject result = new JSONObject(response.getContent());
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
public JSONObject saveRehabilitationOperateRecodr(String dataJson) throws Exception{
|
|
|
Map<String, Object> param = new HashedMap();
|
|
|
param.put("dataJson", dataJson);
|
|
|
//specialistUrl= "http://localhost:10051";
|
|
|
HttpResponse response = HttpUtils.doPost(specialistUrl + saveRehabilitationOperateRecodr, param);
|
|
|
JSONObject result = new JSONObject(response.getContent());
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
public JSONObject updateNodeAndRelationRecordImg(String planDetailId,String node,String image) throws Exception{
|
|
|
Map<String, Object> param = new HashedMap();
|
|
|
param.put("planDetailId", planDetailId);
|
|
|
param.put("node", node);
|
|
|
param.put("image", image);
|
|
|
//specialistUrl= "http://localhost:10051";
|
|
|
HttpResponse response = HttpUtils.doPost(specialistUrl + updateNoteAndImageRehabilitationOperate, param);
|
|
|
JSONObject result = new JSONObject(response.getContent());
|
|
|
return result;
|
|
|
}
|
|
|
}
|