Browse Source

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

yeshijie 7 years ago
parent
commit
1be61c7e72

+ 4 - 2
patient-co/patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/sign/FamilyContractService.java

@ -1182,7 +1182,8 @@ public class FamilyContractService extends BaseService {
                participants.put(sf.getDoctor(), 0);
            } else {//全科和建管不同一个人
                participants.put(sf.getDoctorHealth(), 0);
                participants.put(sf.getDoctor(), 1);
//                participants.put(sf.getDoctor(), 1);
                participants.put(sf.getDoctor(), 0);//默认通知
            }
            //创建医生会话讨论组
            JSONObject sessionObj = ImUtill.createSession(participants, ImUtill.SESSION_TYPE_MUC, patient.getName(), patient.getCode() + "_" + sf.getTeamCode() + "_" + 2);
@ -1529,7 +1530,8 @@ public class FamilyContractService extends BaseService {
                participants.put(sf.getDoctor(), 0);
            } else {//全科和建管不同一个人
                participants.put(sf.getDoctorHealth(), 0);
                participants.put(sf.getDoctor(), 1);
//                participants.put(sf.getDoctor(), 1);默认接收
                participants.put(sf.getDoctor(), 0);
            }
            Patient patient = patientDao.findByCode(sf.getPatient());
            //创建医生会话讨论组