|
@@ -429,8 +429,17 @@ public class LocalAssistantUserBindService extends BaseService<AssistantUserBind
|
|
|
.receiverName(source.getDoctorName())
|
|
.receiverName(source.getDoctorName())
|
|
|
.extend(userBind.getInviteCode())
|
|
.extend(userBind.getInviteCode())
|
|
|
.sys(false)
|
|
.sys(false)
|
|
|
- .build()
|
|
|
|
|
- ));
|
|
|
|
|
|
|
+ .build()));
|
|
|
|
|
+
|
|
|
|
|
+ //更新最新的聊天室信息
|
|
|
|
|
+ UpdateBindPatientParam patientParam = new UpdateBindPatientParam();
|
|
|
|
|
+ patientParam.setBindId(userBindEntity.getId());
|
|
|
|
|
+ patientParam.setPatientAge(String.valueOf(userBindEntity.getPatientAge()));
|
|
|
|
|
+ patientParam.setPatientCode(userBindEntity.getPatientCode());
|
|
|
|
|
+ patientParam.setPatientId(userBindEntity.getPatientId());
|
|
|
|
|
+ patientParam.setPatientSex(userBindEntity.getPatientSex());
|
|
|
|
|
+ patientParam.setPatientName(userBindEntity.getPatientName());
|
|
|
|
|
+ SpringUtil.publishEvent(new UpdateBindPatientEvent(this,patientParam,userBindEntity.getAssistId(),userBindEntity.getDoctorId(),userBindEntity.getPatientId()));
|
|
|
}
|
|
}
|
|
|
return result;
|
|
return result;
|
|
|
}else {
|
|
}else {
|