|
|
@@ -196,6 +196,7 @@ public class TriageService {
|
|
|
messageForPush.setSid(room.getTriageStaff());
|
|
|
messageForPush.setRoomCode(room.getRoomCode());
|
|
|
socketV2.sendMsgToHelpDesk(messageForPush);
|
|
|
+ socketV2.sendMsgToRoomScreen(messageForPush);
|
|
|
|
|
|
return ResultVoUtil.success("分诊成功。");
|
|
|
}
|
|
|
@@ -209,14 +210,16 @@ public class TriageService {
|
|
|
return ResultVoUtil.success(dao.fuZhen(serialNo));
|
|
|
}
|
|
|
|
|
|
- public ResultVo<Integer> cancelTriage(Integer serialNo) {
|
|
|
+ public ResultVo<Integer> cancelTriage(Integer serialNo, String roomCode) {
|
|
|
Integer ret = dao.cancelTriage(serialNo);
|
|
|
dao.deleteNotifyRelation(serialNo);
|
|
|
MessageForPush messageForPush = new MessageForPush();
|
|
|
messageForPush.setAction(5);
|
|
|
messageForPush.setSerialNo(serialNo);
|
|
|
messageForPush.setSid(TokenUtil.getInstance().getTokenUserId());
|
|
|
+ messageForPush.setRoomCode(roomCode.trim());
|
|
|
socketV2.sendMsgToHelpDesk(messageForPush);
|
|
|
+ socketV2.sendMsgToRoomScreen(messageForPush);
|
|
|
return ResultVoUtil.success(ret);
|
|
|
}
|
|
|
|
|
|
@@ -279,8 +282,6 @@ public class TriageService {
|
|
|
messageForPush.setRoomCode(notifyRelation.getRoomCode());
|
|
|
socketV2.sendMsgToHelpDesk(messageForPush);
|
|
|
dao.updateNotifyDatetime(param.getSerialNo());
|
|
|
-
|
|
|
- messageForPush.setSid(messageForPush.getRoomCode());
|
|
|
socketV2.sendMsgToRoomScreen(messageForPush);
|
|
|
return ResultVoUtil.success("通知完成。");
|
|
|
}
|