From 1fa0e57df26dcbf9f7c936806b5f4f0744e1d543 Mon Sep 17 00:00:00 2001
From: riku <risaku@163.com>
Date: 星期一, 15 十一月 2021 17:42:01 +0800
Subject: [PATCH] 1. 网格化数据查询添加秒级值和分钟值的选择

---
 src/main/kotlin/com/flightfeather/uav/domain/entity/RealTimeDataGridMin.java |  367 ----------------------------------------------------
 1 files changed, 1 insertions(+), 366 deletions(-)

diff --git a/src/main/kotlin/com/flightfeather/uav/domain/entity/RealTimeDataGridMin.java b/src/main/kotlin/com/flightfeather/uav/domain/entity/RealTimeDataGridMin.java
index b5fcd00..b42834f 100644
--- a/src/main/kotlin/com/flightfeather/uav/domain/entity/RealTimeDataGridMin.java
+++ b/src/main/kotlin/com/flightfeather/uav/domain/entity/RealTimeDataGridMin.java
@@ -5,371 +5,6 @@
 import javax.persistence.*;
 
 @Table(name = "real_time_data_grid_min")
-public class RealTimeDataGridMin {
-    @Id
-    private Integer id;
-
-    @Column(name = "device_code")
-    private String deviceCode;
-
-    private BigDecimal latitude;
-
-    private BigDecimal longitude;
-
-    private Float altitude;
-
-    @Column(name = "data_time")
-    private Date dataTime;
-
-    @Column(name = "create_time")
-    private Date createTime;
-
-    @Column(name = "NO2")
-    private Float no2;
-
-    @Column(name = "CO")
-    private Float co;
-
-    @Column(name = "H2S")
-    private Float h2s;
-
-    @Column(name = "SO2")
-    private Float so2;
-
-    @Column(name = "O3")
-    private Float o3;
-
-    @Column(name = "PM25")
-    private Float pm25;
-
-    @Column(name = "PM10")
-    private Float pm10;
-
-    private Float temperature;
-
-    private Float humidity;
-
-    @Column(name = "VOC")
-    private Float voc;
-
-    @Column(name = "NOI")
-    private Float noi;
-
-    private Float velocity;
-
-    @Column(name = "wind_speed")
-    private Float windSpeed;
-
-    @Column(name = "wind_direction")
-    private Float windDirection;
-
-    private Float height;
-
-    /**
-     * @return id
-     */
-    public Integer getId() {
-        return id;
-    }
-
-    /**
-     * @param id
-     */
-    public void setId(Integer id) {
-        this.id = id;
-    }
-
-    /**
-     * @return device_code
-     */
-    public String getDeviceCode() {
-        return deviceCode;
-    }
-
-    /**
-     * @param deviceCode
-     */
-    public void setDeviceCode(String deviceCode) {
-        this.deviceCode = deviceCode == null ? null : deviceCode.trim();
-    }
-
-    /**
-     * @return latitude
-     */
-    public BigDecimal getLatitude() {
-        return latitude;
-    }
-
-    /**
-     * @param latitude
-     */
-    public void setLatitude(BigDecimal latitude) {
-        this.latitude = latitude;
-    }
-
-    /**
-     * @return longitude
-     */
-    public BigDecimal getLongitude() {
-        return longitude;
-    }
-
-    /**
-     * @param longitude
-     */
-    public void setLongitude(BigDecimal longitude) {
-        this.longitude = longitude;
-    }
-
-    /**
-     * @return altitude
-     */
-    public Float getAltitude() {
-        return altitude;
-    }
-
-    /**
-     * @param altitude
-     */
-    public void setAltitude(Float altitude) {
-        this.altitude = altitude;
-    }
-
-    /**
-     * @return data_time
-     */
-    public Date getDataTime() {
-        return dataTime;
-    }
-
-    /**
-     * @param dataTime
-     */
-    public void setDataTime(Date dataTime) {
-        this.dataTime = dataTime;
-    }
-
-    /**
-     * @return create_time
-     */
-    public Date getCreateTime() {
-        return createTime;
-    }
-
-    /**
-     * @param createTime
-     */
-    public void setCreateTime(Date createTime) {
-        this.createTime = createTime;
-    }
-
-    /**
-     * @return NO2
-     */
-    public Float getNo2() {
-        return no2;
-    }
-
-    /**
-     * @param no2
-     */
-    public void setNo2(Float no2) {
-        this.no2 = no2;
-    }
-
-    /**
-     * @return CO
-     */
-    public Float getCo() {
-        return co;
-    }
-
-    /**
-     * @param co
-     */
-    public void setCo(Float co) {
-        this.co = co;
-    }
-
-    /**
-     * @return H2S
-     */
-    public Float getH2s() {
-        return h2s;
-    }
-
-    /**
-     * @param h2s
-     */
-    public void setH2s(Float h2s) {
-        this.h2s = h2s;
-    }
-
-    /**
-     * @return SO2
-     */
-    public Float getSo2() {
-        return so2;
-    }
-
-    /**
-     * @param so2
-     */
-    public void setSo2(Float so2) {
-        this.so2 = so2;
-    }
-
-    /**
-     * @return O3
-     */
-    public Float getO3() {
-        return o3;
-    }
-
-    /**
-     * @param o3
-     */
-    public void setO3(Float o3) {
-        this.o3 = o3;
-    }
-
-    /**
-     * @return PM25
-     */
-    public Float getPm25() {
-        return pm25;
-    }
-
-    /**
-     * @param pm25
-     */
-    public void setPm25(Float pm25) {
-        this.pm25 = pm25;
-    }
-
-    /**
-     * @return PM10
-     */
-    public Float getPm10() {
-        return pm10;
-    }
-
-    /**
-     * @param pm10
-     */
-    public void setPm10(Float pm10) {
-        this.pm10 = pm10;
-    }
-
-    /**
-     * @return temperature
-     */
-    public Float getTemperature() {
-        return temperature;
-    }
-
-    /**
-     * @param temperature
-     */
-    public void setTemperature(Float temperature) {
-        this.temperature = temperature;
-    }
-
-    /**
-     * @return humidity
-     */
-    public Float getHumidity() {
-        return humidity;
-    }
-
-    /**
-     * @param humidity
-     */
-    public void setHumidity(Float humidity) {
-        this.humidity = humidity;
-    }
-
-    /**
-     * @return VOC
-     */
-    public Float getVoc() {
-        return voc;
-    }
-
-    /**
-     * @param voc
-     */
-    public void setVoc(Float voc) {
-        this.voc = voc;
-    }
-
-    /**
-     * @return NOI
-     */
-    public Float getNoi() {
-        return noi;
-    }
-
-    /**
-     * @param noi
-     */
-    public void setNoi(Float noi) {
-        this.noi = noi;
-    }
-
-    /**
-     * @return velocity
-     */
-    public Float getVelocity() {
-        return velocity;
-    }
-
-    /**
-     * @param velocity
-     */
-    public void setVelocity(Float velocity) {
-        this.velocity = velocity;
-    }
-
-    /**
-     * @return wind_speed
-     */
-    public Float getWindSpeed() {
-        return windSpeed;
-    }
-
-    /**
-     * @param windSpeed
-     */
-    public void setWindSpeed(Float windSpeed) {
-        this.windSpeed = windSpeed;
-    }
-
-    /**
-     * @return wind_direction
-     */
-    public Float getWindDirection() {
-        return windDirection;
-    }
-
-    /**
-     * @param windDirection
-     */
-    public void setWindDirection(Float windDirection) {
-        this.windDirection = windDirection;
-    }
-
-    /**
-     * @return height
-     */
-    public Float getHeight() {
-        return height;
-    }
+public class RealTimeDataGridMin extends BaseRealTimeData {
 
-    /**
-     * @param height
-     */
-    public void setHeight(Float height) {
-        this.height = height;
-    }
 }
\ No newline at end of file

--
Gitblit v1.9.3