|
|
@@ -209,14 +209,12 @@ public class TriageService {
|
|
|
String text = String.format("请%s号%s,到%s%s号诊室就诊。", messageForPush.getFzNo(), messageForPush.getName(),
|
|
|
messageForPush.getDeptName(), messageForPush.getRoomNo());
|
|
|
log.info("消息推送>>> {}\n{}", messageForPush, text);
|
|
|
- // todo 下面这部分在完成迁移后启用
|
|
|
VoiceUtil.textToSpeech(text, String.valueOf(param.getSerialNo()));
|
|
|
final String msg = JSON.toJSONString(messageForPush);
|
|
|
TriageNotifyRelation notifyRelation = dao.selectTriageNotifyRelation(messageForPush.getSerialNo());
|
|
|
WebSocketServer.sendFloorTriageMessage(notifyRelation.getSocketSid(), msg);
|
|
|
WebSocketServer.sendRoomTriageMessage(notifyRelation.getRoomCode(), msg);
|
|
|
dao.updateNotifyDatetime(param.getSerialNo());
|
|
|
-// return ResultVoUtil.success();
|
|
|
// todo 下面这一部分在完成迁移后删除
|
|
|
RestTemplate template = new RestTemplate();
|
|
|
String result;
|