修改监测信息库实体类

This commit is contained in:
duwenyuan 2025-12-31 21:33:25 +08:00
parent d0e8848d43
commit bec7452eaa
4 changed files with 29 additions and 28 deletions

View File

@ -23,13 +23,12 @@ import java.util.Date;
@TableName("CONFIGURATION.GARDS_NUCLEAR_REACTORS")
public class GardsNuclearReactors implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@TableId(value = "ID", type = IdType.AUTO)
@TableId(value = "ID", type = IdType.NONE)
private Integer id;
/**

View File

@ -3,12 +3,10 @@ package org.jeecg.modules.base.entity.configuration;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
/**
@ -53,18 +51,18 @@ public class GardsNuclearReleaseRecords implements Serializable {
/**
* 开始时间
*/
@Excel(name = "开始时间", format = "yyyy-MM-dd", width = 20, height = 20, orderNum = "3")
@TableField(value = "START_TIME", fill = FieldFill.INSERT_UPDATE)
@Excel(name = "开始时间", width = 20, height = 20, orderNum = "3")
@TableField(value = "START_TIME")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date startTime;
/**
* 结束时间
*/
@Excel(name = "结束时间", format = "yyyy-MM-dd", width = 20, height = 20, orderNum = "4")
@TableField(value = "END_TIME", fill = FieldFill.INSERT_UPDATE)
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
@Excel(name = "结束时间", width = 20, height = 20, orderNum = "4")
@TableField(value = "END_TIME")
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date endTime;

View File

@ -1,8 +1,10 @@
package org.jeecg.modules.base.entity.configuration;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
@ -26,8 +28,10 @@ public class GardsNuclideDecay implements Serializable {
@TableField("ENERGY")
@Excel(name = "能量", width = 20, height = 20, orderNum = "1")
private Double energy;
private String energy;
@TableField(value = "MODDATE", fill = FieldFill.INSERT_UPDATE)
@TableField(value = "MODDATE")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date moddate;
}