修改数据实体属性

This commit is contained in:
duwenyuan 2026-05-12 15:24:42 +08:00
parent 59e337065b
commit 559cbda46e
10 changed files with 17 additions and 20 deletions

View File

@ -23,7 +23,7 @@ public class GardsDetectors implements Serializable {
/** /**
* 探测器id * 探测器id
*/ */
@TableId(type = IdType.INPUT) @TableId(value="detector_id",type = IdType.INPUT)
private Integer detectorId; private Integer detectorId;
/** /**

View File

@ -22,7 +22,7 @@ public class GardsStations implements Serializable {
/** /**
* 台站id * 台站id
*/ */
@TableId(type = IdType.INPUT) @TableId(value = "station_id",type = IdType.INPUT)
@NotNull(message = "不能为空", groups = {InsertGroup.class, UpdateGroup.class}) @NotNull(message = "不能为空", groups = {InsertGroup.class, UpdateGroup.class})
private Integer stationId; private Integer stationId;

View File

@ -21,7 +21,7 @@ public class GardsGPSData implements Serializable {
@TableField(value = "STATION_CODE") @TableField(value = "STATION_CODE")
private String stationCode; private String stationCode;
@TableId(type = IdType.AUTO) @TableId(value="gps_id",type = IdType.AUTO)
private Integer gpsId; private Integer gpsId;
@TableField(value = "LON") @TableField(value = "LON")

View File

@ -31,7 +31,7 @@ public class GardsMetData implements Serializable {
/** /**
* 气象数据id * 气象数据id
*/ */
@TableId(type = IdType.AUTO) @TableId(value="met_id",type = IdType.AUTO)
private Integer metId; private Integer metId;
/** /**

View File

@ -97,4 +97,10 @@ public class GardsSampleAux implements Serializable {
*/ */
@TableField(value = "XE_COLLECTION_YIED_UNCER") @TableField(value = "XE_COLLECTION_YIED_UNCER")
private Double xeCollectionYiedUncer; private Double xeCollectionYiedUncer;
@TableField("LON")
private Double lon;
@TableField("LAT")
private Double lat;
} }

View File

@ -1,9 +1,6 @@
package org.jeecg.modules.base.entity.original; package org.jeecg.modules.base.entity.original;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel; import org.jeecgframework.poi.excel.annotation.Excel;
@ -27,7 +24,7 @@ public class GardsSampleData implements Serializable {
* 样品id * 样品id
*/ */
@TableId(type = IdType.AUTO) @TableId(value = "sample_id",type = IdType.AUTO)
private Integer sampleId; private Integer sampleId;
/** /**

View File

@ -1,9 +1,6 @@
package org.jeecg.modules.base.entity.original; package org.jeecg.modules.base.entity.original;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel; import org.jeecgframework.poi.excel.annotation.Excel;
@ -31,7 +28,7 @@ public class GardsSohData implements Serializable {
/** /**
* 报警ID号 * 报警ID号
*/ */
@TableId(type = IdType.AUTO) @TableId(value = "soh_id",type = IdType.AUTO)
@Excel(name = "SID",orderNum = "5") @Excel(name = "SID",orderNum = "5")
private Integer sohId; private Integer sohId;

View File

@ -1,9 +1,6 @@
package org.jeecg.modules.base.entity.rnauto; package org.jeecg.modules.base.entity.rnauto;
import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;

View File

@ -41,7 +41,7 @@ public class GardsCalibration implements Serializable {
/** /**
* 拟合方程ID号统一定义 * 拟合方程ID号统一定义
*/ */
@TableField(value = "\"FUNCTION\"") @TableField(value = "\"function\"")
private Integer function; private Integer function;
/** /**
* 拟合方程描述 * 拟合方程描述

View File

@ -41,7 +41,7 @@ public class GardsCalibration implements Serializable {
/** /**
* 拟合方程ID号统一定义 * 拟合方程ID号统一定义
*/ */
@TableField(value = "FUNCTION") @TableField(value = "\"function\"")
private Integer function; private Integer function;
/** /**
* 拟合方程描述 * 拟合方程描述