|
@ -351,11 +351,11 @@ public class RehabilitationManageService extends BaseService {
|
|
|
throw new Exception("请求微服务失败!");
|
|
|
}
|
|
|
|
|
|
public String createServiceQrCode(String planDetailId,String sessionId) throws Exception{
|
|
|
public String createServiceQrCode(String planDetailId,String doctorCode) throws Exception{
|
|
|
Map<String, Object> param = new HashedMap();
|
|
|
param.put("planDetailId", planDetailId);
|
|
|
param.put("sessionId", sessionId);
|
|
|
//specialistUrl= "http://localhost:10051";
|
|
|
param.put("doctorCode", doctorCode);
|
|
|
specialistUrl= "http://localhost:10051";
|
|
|
HttpResponse response = HttpUtils.doPost(specialistUrl + createServiceQrCode, param);
|
|
|
JSONObject result = new JSONObject(response.getContent());
|
|
|
if(result.getInt("status")==200){
|
|
@ -368,7 +368,7 @@ public class RehabilitationManageService extends BaseService {
|
|
|
Map<String, Object> param = new HashedMap();
|
|
|
param.put("planDetailId", planDetailId);
|
|
|
param.put("patientCode", patientCode);
|
|
|
//specialistUrl= "http://localhost:10051";
|
|
|
specialistUrl= "http://localhost:10051";
|
|
|
HttpResponse response = HttpUtils.doPost(specialistUrl + checkAfterQrCode, param);
|
|
|
JSONObject result = new JSONObject(response.getContent());
|
|
|
return result;
|
|
@ -446,10 +446,10 @@ public class RehabilitationManageService extends BaseService {
|
|
|
}
|
|
|
|
|
|
|
|
|
public JSONObject saveRehabilitationOperateRecodr(String dataJson) throws Exception{
|
|
|
public JSONObject saveRehabilitationOperateRecord(String dataJson) throws Exception{
|
|
|
Map<String, Object> param = new HashedMap();
|
|
|
param.put("dataJson", dataJson);
|
|
|
//specialistUrl= "http://localhost:10051";
|
|
|
specialistUrl= "http://localhost:10051";
|
|
|
HttpResponse response = HttpUtils.doPost(specialistUrl + saveRehabilitationOperateRecodr, param);
|
|
|
JSONObject result = new JSONObject(response.getContent());
|
|
|
return result;
|
|
@ -460,7 +460,7 @@ public class RehabilitationManageService extends BaseService {
|
|
|
param.put("planDetailId", planDetailId);
|
|
|
param.put("node", node);
|
|
|
param.put("image", image);
|
|
|
//specialistUrl= "http://localhost:10051";
|
|
|
specialistUrl= "http://localhost:10051";
|
|
|
HttpResponse response = HttpUtils.doPost(specialistUrl + updateNoteAndImageRehabilitationOperate, param);
|
|
|
JSONObject result = new JSONObject(response.getContent());
|
|
|
return result;
|