0
0

导出围栏进出记录列表

This commit is contained in:
2025-09-12 14:50:42 +08:00
parent 01a1a6e25b
commit 8597dc5a9f
5 changed files with 21 additions and 14 deletions

View File

@ -55,13 +55,13 @@ public class DeviceFenceAccessRecordBo extends BaseEntity {
* 纬度
*/
@NotNull(message = "纬度不能为空", groups = { AddGroup.class, EditGroup.class })
private Long latitude;
private Double latitude;
/**
* 经度
*/
@NotNull(message = "经度不能为空", groups = { AddGroup.class, EditGroup.class })
private Long longitude;
private Double longitude;
/**
* 定位精度

View File

@ -33,13 +33,13 @@ public class DeviceFenceAccessRecordVo implements Serializable {
/**
* 记录ID
*/
@ExcelProperty(value = "记录ID")
// @ExcelProperty(value = "记录ID")
private Long id;
/**
* 围栏ID
*/
@ExcelProperty(value = "围栏ID")
// @ExcelProperty(value = "围栏ID")
private Long fenceId;
/**
@ -51,7 +51,7 @@ public class DeviceFenceAccessRecordVo implements Serializable {
/**
* 设备标识
*/
@ExcelProperty(value = "设备标识")
// @ExcelProperty(value = "设备标识")
private Long deviceId;
/**
@ -63,13 +63,14 @@ public class DeviceFenceAccessRecordVo implements Serializable {
/**
* 用户ID
*/
@ExcelProperty(value = "用户ID")
// @ExcelProperty(value = "用户ID")
private Long userId;
/**
* 事件类型
*/
@ExcelProperty(value = "事件类型")
@ExcelProperty(value = "事件类型", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "1=进入围栏,2=离开围栏")
private Long eventType;
/**