提交 031a54cf authored 作者: luzhangjian's avatar luzhangjian

feat:修正错误

上级 e0eaf726
......@@ -62,6 +62,9 @@ public class Message<T> {
private String medicalOpinion;
private String msgContent;
/**
* user=指定用户发送消息,system=发送系统消息
*/
......
......@@ -32,7 +32,7 @@ public class OrderListReqDTO extends PageDTO {
private String deptName;
@ApiModelProperty("1订单开始时间/2订单结束时间")
private String timeType;
private Integer timeType;
@ApiModelProperty("开始时间")
private String beginTime;
......
......@@ -303,7 +303,7 @@ public class PatientMedicalRecordServiceImpl implements PatientMedicalRecordServ
message.setAdmissionId(admissionInfo.getAdmId());
message.setApplicationCode(IMInformConstants.IM_SYSTEM_BUSINESS_CODE);
message.setData(content);
message.setApplicationCode(IMInformConstants.IM_SYSTEM_BUSINESS_CODE);
message.setMsgContent(JSON.toJSONString(message));
messageInfo.setSingleAccount(newAccount(IMInformConstants.PATIENT_APPLICATION_CODE, patientUserId));
messageInfo.setSelfAccount(newAccount(IMInformConstants.DOCTOR_APPLICATION_CODE, admissionInfo.getDoctorUserId()));
messageInfo.setMessage(message);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论