AED布点支持手动位置位置信息

This commit is contained in:
feng
2025-12-02 11:21:50 +08:00
parent e7669dc8bc
commit ae4c5e7ee6
6 changed files with 32 additions and 0 deletions
@@ -0,0 +1,2 @@
ALTER TABLE `aed_equipment_manger`
ADD COLUMN `geo_collect_type` tinyint NULL DEFAULT 0 COMMENT '位置数据维护方式(0-地图选点,1-手动维护)' AFTER `latitude`;
@@ -47,6 +47,12 @@ public class AedEquipmentManger implements Serializable {
@Excel(name = "资源名称", width = 15)
@Schema(title = "资源名称")
private String name;
/**
* 位置数据维护方式
*/
@Schema(title = "位置数据维护方式(0-地图选点,1-手动维护)")
@Dict(dicCode = "geo_collect_type")
private Integer geoCollectType = 0;
/**
* 经度
*/
@@ -34,6 +34,7 @@
install_address as installAddress,
longitude as longitude,
latitude as latitude,
geo_collect_type as geoCollectType,
control_org_name as controlOrgName,
mfrs_name as mfrsName,
camera_num as cameraNum,
@@ -79,6 +80,7 @@
install_time as installTime,
longitude as longitude,
latitude as latitude,
geo_collect_type as geoCollectType,
control_org_name as controlOrgName,
manage_user_name as manageUserName,
manage_user_mobile as manageUserMobile,
@@ -3,6 +3,7 @@ package com.renkang.emergency.aed.vo.req.manager;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
@@ -63,6 +64,14 @@ public class AEDPublishEquipmentReq {
@Schema(title = "纬度")
// @NotNull(message = "纬度不能为空,请输入纬度")
private Double latitude;
/**
* 位置数据维护方式
*/
@Schema(title = "位置数据维护方式(0-地图选点,1-手动维护)")
@Dict(dicCode = "geo_collect_type")
private Integer geoCollectType = 0;
/**
* 覆盖人数
*/
@@ -250,4 +250,11 @@ public class AEDManagerPageRes {
*/
@Schema(title = "纬度")
private BigDecimal latitude;
/**
* 位置数据维护方式
*/
@Schema(title = "位置数据维护方式(0-地图选点,1-手动维护)")
@Dict(dicCode = "geo_collect_type")
private Integer geoCollectType = 0;
}
@@ -113,6 +113,12 @@ public class AEDPublishPageRes {
@Schema(title = "纬度")
private Double latitude;
/**
* 位置数据维护方式
*/
@Schema(title = "位置数据维护方式(0-地图选点,1-手动维护)")
@Dict(dicCode = "geo_collect_type")
private Integer geoCollectType = 0;
/**
* 管理部门