Просмотр исходного кода

Merge branch 'dev' of liuwenbin/patient-co-management into dev

huangwenjie 7 лет назад
Родитель
Сommit
8b93986312

+ 3 - 3
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/service/specialist/rehabilitation/RehabilitationManageService.java

@ -574,18 +574,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);
        }
    }