|
@@ -309,8 +309,8 @@ public class ExamRecordCacheUtil {
|
|
|
return (String) redisUtil.get(RedisKeyHelper.examRecordCacheKey(recordId), ExamRecordFieldEnum.client_websocket_id.getCode());
|
|
|
}
|
|
|
|
|
|
- public static String getMobileWebsocketId(Long recordId) {
|
|
|
- return (String) redisUtil.get(RedisKeyHelper.examRecordCacheKey(recordId), ExamRecordFieldEnum.mobile_websocket_id.getCode());
|
|
|
+ public static String getMobileWebsocketId(Long recordId, MonitorVideoSourceEnum monitorVideoSourceEnum) {
|
|
|
+ return (String) redisUtil.get(RedisKeyHelper.examRecordCacheKey(recordId), ExamRecordFieldEnum.mobile_websocket_id.getCode() + "_" + monitorVideoSourceEnum.name());
|
|
|
}
|
|
|
|
|
|
public static void setClientWebsocketStatus(Long recordId, WebsocketStatusEnum websocketStatusEnum, Long timestamp) {
|
|
@@ -334,8 +334,8 @@ public class ExamRecordCacheUtil {
|
|
|
redisUtil.set(RedisKeyHelper.examRecordCacheKey(recordId), ExamRecordFieldEnum.client_websocket_id.getCode(), id);
|
|
|
}
|
|
|
|
|
|
- public static void setMobileWebsocketId(Long recordId, String id) {
|
|
|
- redisUtil.set(RedisKeyHelper.examRecordCacheKey(recordId), ExamRecordFieldEnum.mobile_websocket_id.getCode(), id);
|
|
|
+ public static void setMobileWebsocketId(Long recordId, String id, MonitorVideoSourceEnum monitorVideoSourceEnum) {
|
|
|
+ redisUtil.set(RedisKeyHelper.examRecordCacheKey(recordId), ExamRecordFieldEnum.mobile_websocket_id.getCode() + "_" + monitorVideoSourceEnum.name(), id);
|
|
|
}
|
|
|
|
|
|
public static void setClientLastSyncTime(Long recordId, Long date) {
|