|
@ -575,18 +575,18 @@ public class RehabilitationManageService extends BaseService {
|
|
|
String doctor = "";
|
|
|
String patient ="";
|
|
|
Integer num = null;
|
|
|
JSONArray planDetailIds = null;
|
|
|
String planDetailIds = null;
|
|
|
for(int i=0;i<jsonArray.length();i++){
|
|
|
jsonObject = jsonArray.getJSONObject(i);
|
|
|
doctor = jsonObject.get("doctor")+"";//执行的医生(接收的医生)
|
|
|
patient = jsonObject.get("patient")+"";//执行的居民
|
|
|
num = (Integer)jsonObject.get("num");//需要今日需要执行的项目数
|
|
|
planDetailIds = (JSONArray)jsonObject.get("planDetailIds");
|
|
|
planDetailIds = jsonObject.get("planDetailIds")+"";
|
|
|
Message message1 = new Message();
|
|
|
// message1.setSender(patient);
|
|
|
message1.setType(type);
|
|
|
message1.setReceiver(doctor);
|
|
|
message1.setRelationCode(planDetailIds.toString());
|
|
|
message1.setRelationCode(planDetailIds);
|
|
|
specialistEvaluateSevice.sendMessage(message1,null,patient,num);
|
|
|
}
|
|
|
}
|