修改数据实体属性
This commit is contained in:
parent
59e337065b
commit
559cbda46e
|
|
@ -23,7 +23,7 @@ public class GardsDetectors implements Serializable {
|
|||
/**
|
||||
* 探测器id
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
@TableId(value="detector_id",type = IdType.INPUT)
|
||||
private Integer detectorId;
|
||||
|
||||
/**
|
||||
|
|
@ -22,7 +22,7 @@ public class GardsStations implements Serializable {
|
|||
/**
|
||||
* 台站id
|
||||
*/
|
||||
@TableId(type = IdType.INPUT)
|
||||
@TableId(value = "station_id",type = IdType.INPUT)
|
||||
@NotNull(message = "不能为空", groups = {InsertGroup.class, UpdateGroup.class})
|
||||
private Integer stationId;
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ public class GardsGPSData implements Serializable {
|
|||
@TableField(value = "STATION_CODE")
|
||||
private String stationCode;
|
||||
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId(value="gps_id",type = IdType.AUTO)
|
||||
private Integer gpsId;
|
||||
|
||||
@TableField(value = "LON")
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ public class GardsMetData implements Serializable {
|
|||
/**
|
||||
* 气象数据id
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId(value="met_id",type = IdType.AUTO)
|
||||
private Integer metId;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -97,4 +97,10 @@ public class GardsSampleAux implements Serializable {
|
|||
*/
|
||||
@TableField(value = "XE_COLLECTION_YIED_UNCER")
|
||||
private Double xeCollectionYiedUncer;
|
||||
|
||||
@TableField("LON")
|
||||
private Double lon;
|
||||
|
||||
@TableField("LAT")
|
||||
private Double lat;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
package org.jeecg.modules.base.entity.original;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
|
@ -27,7 +24,7 @@ public class GardsSampleData implements Serializable {
|
|||
* 样品id
|
||||
*/
|
||||
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId(value = "sample_id",type = IdType.AUTO)
|
||||
private Integer sampleId;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
package org.jeecg.modules.base.entity.original;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import org.jeecgframework.poi.excel.annotation.Excel;
|
||||
|
|
@ -31,7 +28,7 @@ public class GardsSohData implements Serializable {
|
|||
/**
|
||||
* 报警ID号
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
@TableId(value = "soh_id",type = IdType.AUTO)
|
||||
@Excel(name = "SID",orderNum = "5")
|
||||
private Integer sohId;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
package org.jeecg.modules.base.entity.rnauto;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public class GardsCalibration implements Serializable {
|
|||
/**
|
||||
* 拟合方程ID号(统一定义)
|
||||
*/
|
||||
@TableField(value = "\"FUNCTION\"")
|
||||
@TableField(value = "\"function\"")
|
||||
private Integer function;
|
||||
/**
|
||||
* 拟合方程描述
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ public class GardsCalibration implements Serializable {
|
|||
/**
|
||||
* 拟合方程ID号(统一定义)
|
||||
*/
|
||||
@TableField(value = "FUNCTION")
|
||||
@TableField(value = "\"function\"")
|
||||
private Integer function;
|
||||
/**
|
||||
* 拟合方程描述
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user