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