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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save