|
@ -1,7 +1,6 @@
|
|
|
package com.yihu.wlyy.activemq;
|
|
|
|
|
|
import com.yihu.es.entity.HealthEduArticleES;
|
|
|
import com.yihu.es.entity.HealthEduArticlePatient;
|
|
|
import com.yihu.wlyy.entity.patient.Patient;
|
|
|
import com.yihu.wlyy.service.app.consult.ConsultService;
|
|
|
import com.yihu.wlyy.service.common.account.PatientService;
|
|
@ -22,7 +21,6 @@ import javax.jms.JMSException;
|
|
|
import javax.jms.Message;
|
|
|
import javax.jms.MessageListener;
|
|
|
import javax.jms.TextMessage;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* Created by chenweida on 2017/9/9.
|
|
@ -79,7 +77,7 @@ public class HealthArtListener implements MessageListener {
|
|
|
json.put("toUser", patient.getCode());
|
|
|
json.put("article", one.getArticleId() + "");
|
|
|
json.put("title", one.getArticleTitle());
|
|
|
json.put("doctorName", one.getDoctorName()+(one.getSendType()==2 ? "卫计委":"医生"));
|
|
|
json.put("doctorName", one.getDoctorName());
|
|
|
json.put("represented", patient.getCode());//被代理人
|
|
|
json.put("date", DateUtil.dateToStrLong(DateUtil.getNowDate()));
|
|
|
json.put("remark", org.springframework.util.StringUtils.isEmpty(one.getLeaveWords()) ? " " : one.getLeaveWords());
|