格式化代码
This commit is contained in:
parent
9e1fd90578
commit
85b07d5369
|
|
@ -113,5 +113,4 @@ public class GardsNuclearFuelFacilities implements Serializable {
|
||||||
private Date moddate;
|
private Date moddate;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -154,7 +154,7 @@ public class GardsNuclearReactors implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 建设开始日期
|
* 建设开始日期
|
||||||
*/
|
*/
|
||||||
@Excel(name = "建设开始日期", width = 20, height = 20, orderNum = "17")
|
@Excel(name = "建设开始日期", format = "yyyy-MM-dd", width = 20, height = 20, orderNum = "17")
|
||||||
@TableField(value = "CONSTRUCTION_START_DATE")
|
@TableField(value = "CONSTRUCTION_START_DATE")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||||
|
|
@ -163,7 +163,7 @@ public class GardsNuclearReactors implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 首次临界日期
|
* 首次临界日期
|
||||||
*/
|
*/
|
||||||
@Excel(name = "首次临界日期", width = 20, height = 20, orderNum = "18")
|
@Excel(name = "首次临界日期", format = "yyyy-MM-dd", width = 20, height = 20, orderNum = "18")
|
||||||
@TableField(value = "FIRST_CRITICALITY_DATE")
|
@TableField(value = "FIRST_CRITICALITY_DATE")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||||
|
|
@ -172,7 +172,7 @@ public class GardsNuclearReactors implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 首次电网连接日期
|
* 首次电网连接日期
|
||||||
*/
|
*/
|
||||||
@Excel(name = "首次电网连接日期", width = 20, height = 20, orderNum = "19")
|
@Excel(name = "首次电网连接日期", format = "yyyy-MM-dd", width = 20, height = 20, orderNum = "19")
|
||||||
@TableField(value = "FIRST_GRID_CONNECTION_DATE")
|
@TableField(value = "FIRST_GRID_CONNECTION_DATE")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||||
|
|
@ -181,7 +181,7 @@ public class GardsNuclearReactors implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 商业运营日期
|
* 商业运营日期
|
||||||
*/
|
*/
|
||||||
@Excel(name = "商业运营日期", width = 20, height = 20, orderNum = "20")
|
@Excel(name = "商业运营日期", format = "yyyy-MM-dd", width = 20, height = 20, orderNum = "20")
|
||||||
@TableField(value = "COMMERCIAL_OPERATION_DATE")
|
@TableField(value = "COMMERCIAL_OPERATION_DATE")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||||
|
|
|
||||||
|
|
@ -51,15 +51,15 @@ public class GardsNuclearReleaseRecords implements Serializable {
|
||||||
/**
|
/**
|
||||||
* 开始时间
|
* 开始时间
|
||||||
*/
|
*/
|
||||||
@Excel(name = "开始时间", width = 20, height = 20, orderNum = "3")
|
@Excel(name = "开始时间", format = "yyyy-MM-dd", width = 20, height = 20, orderNum = "3")
|
||||||
@TableField(value = "START_TIME")
|
@TableField(value = "START_TIME")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||||
private Date startTime;
|
private Date startTime;
|
||||||
/**
|
/**
|
||||||
* 结束时间
|
* 结束时间
|
||||||
*/
|
*/
|
||||||
@Excel(name = "结束时间", width = 20, height = 20, orderNum = "4")
|
@Excel(name = "结束时间", format = "yyyy-MM-dd", width = 20, height = 20, orderNum = "4")
|
||||||
@TableField(value = "END_TIME")
|
@TableField(value = "END_TIME")
|
||||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ 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;
|
||||||
import org.springframework.format.annotation.DateTimeFormat;
|
import org.springframework.format.annotation.DateTimeFormat;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user