Bladeren bron

系统消息类型变更

8 jaren geleden
bovenliggende
commit
a6da43bafb

+ 1 - 1
patient-co-wlyy/src/main/java/com/yihu/wlyy/service/app/consult/ConsultTeamService.java

@ -744,7 +744,7 @@ public class ConsultTeamService extends ConsultService {
        //推送给IM去创建议题,取得成员消息
        //推送给IM去创建议题,取得成员消息
        JSONObject messages = ImUtill.getCreateTopicMessage(patient, tempPatient.getName(), consult.getTitle(), "咨询问题:"+consult.getSymptoms(), consult.getImages());
        JSONObject messages = ImUtill.getCreateTopicMessage(patient, tempPatient.getName(), consult.getTitle(), "咨询问题:"+consult.getSymptoms(), consult.getImages());
        users.put(patient, 0);
        users.put(patient, 0);
        JSONObject obj = ImUtill.createTopics(patient + "_consult_" + ct.getType(), consult.getCode(), tempPatient.getName() + " " + IdCardUtil.getAgeForIdcard(tempPatient.getIdcard()), users, messages, "1");
        JSONObject obj = ImUtill.createTopics(patient + "_consult_" + ct.getType(), consult.getCode(), tempPatient.getName() + " "+(tempPatient.getSex()==1?"(男 ":"(女 ") + IdCardUtil.getAgeForIdcard(tempPatient.getIdcard())+")", users, messages, "1");
        if (obj == null) {
        if (obj == null) {
            throw new RuntimeException("IM消息发送异常!");
            throw new RuntimeException("IM消息发送异常!");
        }
        }