访客&&大屏
This commit is contained in:
@@ -23,6 +23,11 @@
|
||||
<artifactId>ruoyi-common-core</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.dromara</groupId>
|
||||
<artifactId>ruoyi-common-dubbo</artifactId>
|
||||
</dependency>
|
||||
|
||||
|
||||
</dependencies>
|
||||
|
||||
|
@@ -14,4 +14,5 @@ public interface RemoteConfigService {
|
||||
*/
|
||||
boolean selectRegisterEnabled(String tenantId);
|
||||
|
||||
String selectQrTimeOut();
|
||||
}
|
||||
|
@@ -196,4 +196,6 @@ public interface RemoteUserService {
|
||||
*/
|
||||
Map<Long, String> selectPostNamesByIds(List<Long> postIds);
|
||||
|
||||
Map<String ,Integer> seelectOrgcount();
|
||||
|
||||
}
|
||||
|
@@ -0,0 +1,11 @@
|
||||
package org.dromara.sis.api;
|
||||
|
||||
import org.dromara.sis.api.domain.RemotePrecautionaryVo;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public interface RemotePrecautionary {
|
||||
List<RemotePrecautionaryVo> getList();
|
||||
Map count();
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
package org.dromara.sis.api;
|
||||
|
||||
import org.dromara.sis.api.domain.RemoteAlarmRecord;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public interface RemoteSos {
|
||||
List<RemoteAlarmRecord> getSoslist();
|
||||
|
||||
Map sosCount();
|
||||
}
|
@@ -0,0 +1,201 @@
|
||||
package org.dromara.sis.api.domain;
|
||||
|
||||
|
||||
import io.github.linpeilie.annotations.AutoMapper;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 报警记录实体类,对应数据库表 alarm_record
|
||||
* 存储系统中的报警事件信息,包括设备信息、时间信息、处理状态等
|
||||
*/
|
||||
@Data
|
||||
public class RemoteAlarmRecord implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 报警记录唯一标识,对应 API 返回的 Id 字段
|
||||
* 采用 INPUT 策略,使用 API 返回的实际 ID 值
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 任务编码,用于标识特定的报警任务
|
||||
*/
|
||||
private String taskCode;
|
||||
|
||||
/**
|
||||
* 设备ID,关联具体的报警设备
|
||||
*/
|
||||
private Integer deviceId;
|
||||
|
||||
/**
|
||||
* 设备名称,如 "7楼办公室"
|
||||
*/
|
||||
private String deviceName;
|
||||
|
||||
/**
|
||||
* 设备许可证ID,用于唯一标识设备
|
||||
*/
|
||||
private String deviceLicenseId;
|
||||
|
||||
/**
|
||||
* 设备SIP号码,用于通信
|
||||
*/
|
||||
private String deviceSipNum;
|
||||
|
||||
/**
|
||||
* 设备所在经度
|
||||
*/
|
||||
private Double deviceLng;
|
||||
|
||||
/**
|
||||
* 设备所在纬度
|
||||
*/
|
||||
private Double deviceLat;
|
||||
|
||||
/**
|
||||
* 会议ID,关联报警处理过程中的会议
|
||||
*/
|
||||
private Long conferenceId;
|
||||
|
||||
/**
|
||||
* 会议SIP编码
|
||||
*/
|
||||
private String confSipCode;
|
||||
|
||||
/**
|
||||
* 报警状态,如 "finished"(已完成)、"noAnswer"(未接听)等
|
||||
*/
|
||||
private String state;
|
||||
|
||||
/**
|
||||
* 报警开始时间(Java Date 类型)
|
||||
*/
|
||||
private Date startTime;
|
||||
|
||||
/**
|
||||
* 报警开始时间的 Unix 时间戳(毫秒)
|
||||
*/
|
||||
private Long startTimeUnix;
|
||||
|
||||
/**
|
||||
* 报警结束时间(Java Date 类型)
|
||||
*/
|
||||
private Date finishTime;
|
||||
|
||||
/**
|
||||
* 报警结束时间的 Unix 时间戳(毫秒)
|
||||
*/
|
||||
private Long finishTimeUnix;
|
||||
|
||||
/**
|
||||
* 响铃开始时间(Java Date 类型)
|
||||
*/
|
||||
private Date ringingTime;
|
||||
|
||||
/**
|
||||
* 响铃开始时间的 Unix 时间戳(毫秒)
|
||||
*/
|
||||
private Long ringingTimeUnix;
|
||||
|
||||
/**
|
||||
* 过期时间(Java Date 类型)
|
||||
*/
|
||||
private Date expireTime;
|
||||
|
||||
/**
|
||||
* 过期时间的 Unix 时间戳(毫秒)
|
||||
*/
|
||||
private Long expireTimeUnix;
|
||||
|
||||
/**
|
||||
* 呼叫过期时间(Java Date 类型)
|
||||
*/
|
||||
private Date callExpireTime;
|
||||
|
||||
/**
|
||||
* 呼叫过期时间的 Unix 时间戳(毫秒)
|
||||
*/
|
||||
private Long callExpireTimeUnix;
|
||||
|
||||
/**
|
||||
* 呼叫开始时间(Java Date 类型)
|
||||
*/
|
||||
private Date callTime;
|
||||
|
||||
/**
|
||||
* 呼叫开始时间的 Unix 时间戳(毫秒)
|
||||
*/
|
||||
private Long callTimeUnix;
|
||||
|
||||
/**
|
||||
* 设备是否带有摄像头(0-不带,1-带)
|
||||
*/
|
||||
private Integer deviceWithCamera;
|
||||
|
||||
/**
|
||||
* 公司编码,标识所属公司
|
||||
*/
|
||||
private String companyCode;
|
||||
|
||||
/**
|
||||
* 报警类型,如 "button"(按钮报警)
|
||||
*/
|
||||
private String alarmType;
|
||||
|
||||
/**
|
||||
* 业务类型,如 "normal"(正常业务)
|
||||
*/
|
||||
private String businessType;
|
||||
|
||||
/**
|
||||
* 分组ID,用于对设备进行分组管理
|
||||
*/
|
||||
private Integer groupId;
|
||||
|
||||
/**
|
||||
* 报告通知级别
|
||||
*/
|
||||
private Integer reportNotifyLevel;
|
||||
|
||||
/**
|
||||
* 是否挂起(0-未挂起,1-挂起)
|
||||
*/
|
||||
private Integer isHold;
|
||||
|
||||
/**
|
||||
* 显示的报警类型(可能为空)
|
||||
*/
|
||||
private String displayAlarmType;
|
||||
|
||||
/**
|
||||
* 接收类型(可能为空)
|
||||
*/
|
||||
private String acceptType;
|
||||
|
||||
/**
|
||||
* 分组名称(可能为空)
|
||||
*/
|
||||
private String groupName;
|
||||
|
||||
/**
|
||||
* 设备联系人(可能为空)
|
||||
*/
|
||||
private String deviceLinkman;
|
||||
|
||||
/**
|
||||
* 设备联系电话(可能为空)
|
||||
*/
|
||||
private String devicePhoneNum;
|
||||
|
||||
/**
|
||||
* 记录创建时间,由数据库自动填充
|
||||
* 使用 MyBatis-Plus 的自动填充功能,插入时自动设置为当前时间
|
||||
*/
|
||||
private Date createTime;
|
||||
}
|
@@ -0,0 +1,63 @@
|
||||
package org.dromara.sis.api.domain;
|
||||
|
||||
import lombok.Data;
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
/**
|
||||
* 预警视图对象 precautionary
|
||||
*
|
||||
* @author mocheng
|
||||
* @date 2025-08-01
|
||||
*/
|
||||
@Data
|
||||
public class RemotePrecautionaryVo implements Serializable {
|
||||
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 预警类型
|
||||
*/
|
||||
|
||||
private Long type;
|
||||
|
||||
/**
|
||||
* 时间
|
||||
*/
|
||||
|
||||
private Date time;
|
||||
|
||||
/**
|
||||
* 位置
|
||||
*/
|
||||
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* 预警内容
|
||||
*/
|
||||
|
||||
private String msg;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
|
||||
private Long status;
|
||||
|
||||
/**
|
||||
* 详情id
|
||||
*/
|
||||
|
||||
private Long taskId;
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user