1.添加终端周期检测功能

This commit is contained in:
2026-07-08 09:21:30 +08:00
parent 29ca1e4a5f
commit f594915363
13 changed files with 211 additions and 39 deletions

View File

@@ -2,6 +2,10 @@ package com.njcn.device.pq.pojo.param;
import com.njcn.web.pojo.param.BaseParam;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
/**
* @Author: cdf
@@ -10,4 +14,21 @@ import lombok.Data;
*/
@Data
public class TerminalCheckParam extends BaseParam {
private String devId;
private String objId;
private String objName;
@DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate thisCheckTime;
@DateTimeFormat(pattern = "yyyy-MM-dd")
private LocalDate nextCheckTime;
/**
* 检测报告
*/
private String checkUrl;
}

View File

@@ -0,0 +1,45 @@
package com.njcn.device.pq.pojo.po;
/**
* @Author: cdf
* @CreateTime: 2026-07-07
* @Description:
*/
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
* 监测对象附件
*/
@Data
@TableName("SUPERVISION_USER_REPORT_FILE")
public class SupervisionUserReportFile {
/**
* 主键ID
*/
@TableId
private String id;
/**
* 检测报告
*/
private String checkUrl;
/**
* 历史检测报告
*/
private String checkHistoryUrl;
/**
* 评估报告
*/
private String assessUrl;
/**
* 其他附件
*/
private String otherUrl;
}

View File

@@ -1,34 +0,0 @@
//package com.njcn.device.pq.pojo.po;
//
//import com.baomidou.mybatisplus.annotation.TableId;
//import lombok.Data;
//import org.influxdb.annotation.Column;
//import org.influxdb.annotation.Measurement;
//
//import java.time.Instant;
//
///**
// * @version 1.0.0
// * @author: chenchao
// * @date: 2022/06/22 19:03
// */
//@Data
//@Measurement(name = "pqs_terminal_logs")
//public class TerminalLogs {
//
// @Column(name = "time")
// private Instant timeId;
//
// @Column(name = "line_id")
// private String lineId;
//
// @Column(name = "terminal_type")
// private String terminalType;
//
// @Column(name = "update_by")
// private String updateBy;
//
// @Column(name = "terminal_describe")
// private String terminalDescribe;
//
//}

View File

@@ -21,6 +21,8 @@ public class TerminalCheckVO {
private String devName;
private String objId;
private String objName;
private LocalDate thisCheckTime;
@@ -40,5 +42,10 @@ public class TerminalCheckVO {
*/
private Integer overdueDay;
/**
* 检测报告
*/
private String checkUrl;
}