refactor(info): 优化日期格式导出

- 在多个实体类中为日期相关字段添加 dateFormat 属性,统一日期格式
- 修改部分字段名称,简化标签文本
- 调整部分 UI 组件的显示格式
boardTest
zch 3 weeks ago
parent 0ecf61ed89
commit 50e1f3388c

@ -19,7 +19,7 @@ public class DailyFaultRecord extends BaseEntity
private Long id;
/** 日期 */
@Excel(name = "日期")
@Excel(name = "日期" , dateFormat = "yyyy/MM/dd")
private String date;
/** 位置 */
@ -47,15 +47,15 @@ public class DailyFaultRecord extends BaseEntity
private String faultType;
/** 故障发生时间 */
@Excel(name = "故障发生时间")
@Excel(name = "故障发生时间" , dateFormat = "HH:mm:ss")
private String faultOccurrenceTime;
/** 处置完毕时间 */
@Excel(name = "处置完毕时间")
@Excel(name = "处置完毕时间" , dateFormat = "HH:mm:ss")
private String handlingCompletionTime;
/** 处置时长,单位:分钟 */
@Excel(name = "处置时长,单位:分钟")
/** 处置时长 */
@Excel(name = "处置时长")
private Long handlingDuration;
public void setId(Long id)

@ -19,7 +19,7 @@ public class FaultHandlingRecord extends BaseEntity
private Long id;
/** 故障日期 */
@Excel(name = "故障日期")
@Excel(name = "故障日期", dateFormat = "yyyy/MM/dd")
private String faultDate;
/** 故障位置 */
@ -43,11 +43,11 @@ public class FaultHandlingRecord extends BaseEntity
private String impact;
/** 故障发生时间 */
@Excel(name = "故障发生时间")
@Excel(name = "故障发生时间", dateFormat = "HH:mm:ss")
private String faultOccurrenceTime;
/** 处置时长,单位:分钟 */
@Excel(name = "处置时长,单位:分钟")
/** 处置时长 */
@Excel(name = "处置时长")
private Long handlingDuration;
/** 维修更换的主要元器件 */

@ -47,51 +47,51 @@ public class LuggageSystemPlcBufferBatteryLifecycle extends BaseEntity
private String remarks;
/** 第1次 */
@Excel(name = "第1次")
@Excel(name = "第1次", dateFormat = "yyyy/MM/dd")
private String firstInstance;
/** 第2次 */
@Excel(name = "第2次")
@Excel(name = "第2次", dateFormat = "yyyy/MM/dd")
private String secondInstance;
/** 第3次 */
@Excel(name = "第3次")
@Excel(name = "第3次", dateFormat = "yyyy/MM/dd")
private String thirdInstance;
/** 第4次 */
@Excel(name = "第4次")
@Excel(name = "第4次", dateFormat = "yyyy/MM/dd")
private String fourthInstance;
/** 第5次 */
@Excel(name = "第5次")
@Excel(name = "第5次", dateFormat = "yyyy/MM/dd")
private String fifthInstance;
/** 第6次 */
@Excel(name = "第6次")
@Excel(name = "第6次", dateFormat = "yyyy/MM/dd")
private String sixthInstance;
/** 第7次 */
@Excel(name = "第7次")
@Excel(name = "第7次", dateFormat = "yyyy/MM/dd")
private String seventhInstance;
/** 第8次 */
@Excel(name = "第8次")
@Excel(name = "第8次", dateFormat = "yyyy/MM/dd")
private String eighthInstance;
/** 第9次 */
@Excel(name = "第9次")
@Excel(name = "第9次", dateFormat = "yyyy/MM/dd")
private String ninthInstance;
/** 第10次 */
@Excel(name = "第10次")
@Excel(name = "第10次", dateFormat = "yyyy/MM/dd")
private String tenthInstance;
/** 第11次 */
@Excel(name = "第11次")
@Excel(name = "第11次", dateFormat = "yyyy/MM/dd")
private String eleventhInstance;
/** 第12次 */
@Excel(name = "第12次")
@Excel(name = "第12次", dateFormat = "yyyy/MM/dd")
private String twelfthInstance;
public void setObjid(Long objid)

@ -47,51 +47,51 @@ public class LuggageSystemSecurityDoorBatteryLifecycle extends BaseEntity
private String remarks;
/** 第1次 */
@Excel(name = "第1次")
@Excel(name = "第1次", dateFormat = "yyyy/MM/dd")
private String firstInstance;
/** 第2次 */
@Excel(name = "第2次")
@Excel(name = "第2次", dateFormat = "yyyy/MM/dd")
private String secondInstance;
/** 第3次 */
@Excel(name = "第3次")
@Excel(name = "第3次", dateFormat = "yyyy/MM/dd")
private String thirdInstance;
/** 第4次 */
@Excel(name = "第4次")
@Excel(name = "第4次", dateFormat = "yyyy/MM/dd")
private String fourthInstance;
/** 第5次 */
@Excel(name = "第5次")
@Excel(name = "第5次", dateFormat = "yyyy/MM/dd")
private String fifthInstance;
/** 第6次 */
@Excel(name = "第6次")
@Excel(name = "第6次", dateFormat = "yyyy/MM/dd")
private String sixthInstance;
/** 第7次 */
@Excel(name = "第7次")
@Excel(name = "第7次", dateFormat = "yyyy/MM/dd")
private String seventhInstance;
/** 第8次 */
@Excel(name = "第8次")
@Excel(name = "第8次", dateFormat = "yyyy/MM/dd")
private String eighthInstance;
/** 第9次 */
@Excel(name = "第9次")
@Excel(name = "第9次", dateFormat = "yyyy/MM/dd")
private String ninthInstance;
/** 第10次 */
@Excel(name = "第10次")
@Excel(name = "第10次", dateFormat = "yyyy/MM/dd")
private String tenthInstance;
/** 第11次 */
@Excel(name = "第11次")
@Excel(name = "第11次", dateFormat = "yyyy/MM/dd")
private String eleventhInstance;
/** 第12次 */
@Excel(name = "第12次")
@Excel(name = "第12次", dateFormat = "yyyy/MM/dd")
private String twelfthInstance;
public void setObjid(Long objid)

@ -47,51 +47,51 @@ public class PowerEnergySparePartsRegistration extends BaseEntity
private String imageLocation;
/** 第1次 */
@Excel(name = "第1次")
@Excel(name = "第1次" , dateFormat = "yyyy/MM/dd")
private String firstInstance;
/** 第2次 */
@Excel(name = "第2次")
@Excel(name = "第2次" , dateFormat = "yyyy/MM/dd")
private String secondInstance;
/** 第3次 */
@Excel(name = "第3次")
@Excel(name = "第3次" , dateFormat = "yyyy/MM/dd")
private String thirdInstance;
/** 第4次 */
@Excel(name = "第4次")
@Excel(name = "第4次" , dateFormat = "yyyy/MM/dd")
private String fourthInstance;
/** 第5次 */
@Excel(name = "第5次")
@Excel(name = "第5次" , dateFormat = "yyyy/MM/dd")
private String fifthInstance;
/** 第6次 */
@Excel(name = "第6次")
@Excel(name = "第6次" , dateFormat = "yyyy/MM/dd")
private String sixthInstance;
/** 第7次 */
@Excel(name = "第7次")
@Excel(name = "第7次" , dateFormat = "yyyy/MM/dd")
private String seventhInstance;
/** 第8次 */
@Excel(name = "第8次")
@Excel(name = "第8次" , dateFormat = "yyyy/MM/dd")
private String eighthInstance;
/** 第9次 */
@Excel(name = "第9次")
@Excel(name = "第9次" , dateFormat = "yyyy/MM/dd")
private String ninthInstance;
/** 第10次 */
@Excel(name = "第10次")
@Excel(name = "第10次" , dateFormat = "yyyy/MM/dd")
private String tenthInstance;
/** 第11次 */
@Excel(name = "第11次")
@Excel(name = "第11次" , dateFormat = "yyyy/MM/dd")
private String eleventhInstance;
/** 第12次 */
@Excel(name = "第12次")
@Excel(name = "第12次" , dateFormat = "yyyy/MM/dd")
private String twelfthInstance;
public void setObjid(Long objid)

@ -19,7 +19,7 @@ public class PowerEnergySupervisionChecklist extends BaseEntity
private Long id;
/** 日期 */
@Excel(name = "日期")
@Excel(name = "日期", dateFormat = "yyyy/MM/dd")
private String date;
/** 作业类别 */

@ -19,7 +19,7 @@ public class SparePartsInventory extends BaseEntity
private Long objid;
/** 入库时间 */
@Excel(name = "入库时间")
@Excel(name = "入库时间", dateFormat = "yyyy/MM/dd HH:mm:ss")
private String warehouseDate;
/** 采购方式 */

@ -19,7 +19,7 @@ public class SparePartsUsageRecord extends BaseEntity
private Long id;
/** 日期 */
@Excel(name = "日期")
@Excel(name = "日期", dateFormat = "yyyy/MM/dd")
private String date;
/** 备件名称 */

@ -51,51 +51,51 @@ public class UpsBatteryLifecycle extends BaseEntity
private String remarks;
/** 第1次 */
@Excel(name = "第1次")
@Excel(name = "第1次", dateFormat = "yyyy/MM/dd")
private String replacement1;
/** 第2次 */
@Excel(name = "第2次")
@Excel(name = "第2次", dateFormat = "yyyy/MM/dd")
private String replacement2;
/** 第3次 */
@Excel(name = "第3次")
@Excel(name = "第3次", dateFormat = "yyyy/MM/dd")
private String replacement3;
/** 第4次 */
@Excel(name = "第4次")
@Excel(name = "第4次", dateFormat = "yyyy/MM/dd")
private String replacement4;
/** 第5次 */
@Excel(name = "第5次")
@Excel(name = "第5次", dateFormat = "yyyy/MM/dd")
private String replacement5;
/** 第6次 */
@Excel(name = "第6次")
@Excel(name = "第6次", dateFormat = "yyyy/MM/dd")
private String replacement6;
/** 第7次 */
@Excel(name = "第7次")
@Excel(name = "第7次", dateFormat = "yyyy/MM/dd")
private String replacement7;
/** 第8次 */
@Excel(name = "第8次")
@Excel(name = "第8次", dateFormat = "yyyy/MM/dd")
private String replacement8;
/** 第9次 */
@Excel(name = "第9次")
@Excel(name = "第9次", dateFormat = "yyyy/MM/dd")
private String replacement9;
/** 第10次 */
@Excel(name = "第10次")
@Excel(name = "第10次", dateFormat = "yyyy/MM/dd")
private String replacement10;
/** 第11次 */
@Excel(name = "第11次")
@Excel(name = "第11次", dateFormat = "yyyy/MM/dd")
private String replacement11;
/** 第12次 */
@Excel(name = "第12次")
@Excel(name = "第12次", dateFormat = "yyyy/MM/dd")
private String replacement12;
public void setId(Long id)

Loading…
Cancel
Save