|
@ -512,14 +512,13 @@ public class RehabilitationManageService extends BaseService {
|
|
//specialistUrl= "http://localhost:10051";
|
|
//specialistUrl= "http://localhost:10051";
|
|
HttpResponse response = HttpUtils.doPost(specialistUrl + updateNoteAndImageRehabilitationOperate, param);
|
|
HttpResponse response = HttpUtils.doPost(specialistUrl + updateNoteAndImageRehabilitationOperate, param);
|
|
JSONObject result = new JSONObject(response.getContent());
|
|
JSONObject result = new JSONObject(response.getContent());
|
|
if(result.getString("status").equals("200")){
|
|
|
|
JSONArray array = result.getJSONArray("detailModelList");
|
|
|
|
JSONObject object = array.getJSONObject(0);
|
|
|
|
|
|
if(result.getInt("status") == 200){
|
|
|
|
JSONObject object = result.getJSONObject("obj");
|
|
int evaluation = object.getInt("evaluation");
|
|
int evaluation = object.getInt("evaluation");
|
|
if (evaluation == 1){
|
|
if (evaluation == 1){
|
|
String serviceItemId = object.getString("serviceItemId");
|
|
|
|
String doctor = object.getString("doctorCode");
|
|
|
|
String patient = object.getString("patientCode");
|
|
|
|
|
|
String serviceItemId = object.getString("service_item_id");
|
|
|
|
String doctor = object.getString("doctor_code");
|
|
|
|
String patient = object.getString("patient_code");
|
|
String title = object.getString("title");
|
|
String title = object.getString("title");
|
|
Patient p = patientDao.findByCode(patient);
|
|
Patient p = patientDao.findByCode(patient);
|
|
String patientName = p.getName();
|
|
String patientName = p.getName();
|