From e237862aa7204822a89340fc28e8613f993bb9ce Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期一, 27 七月 2026 15:35:43 +0800
Subject: [PATCH] fix: 代码格式化,安全生产数据倒序
---
src/main/java/com/ruoyi/safe/specialequipment/pojo/SpecialEquipmentRectification.java | 87 +++++++++++++++++++++++++++++++++----------
1 files changed, 66 insertions(+), 21 deletions(-)
diff --git a/src/main/java/com/ruoyi/safe/specialequipment/pojo/SpecialEquipmentRectification.java b/src/main/java/com/ruoyi/safe/specialequipment/pojo/SpecialEquipmentRectification.java
index e22e8cc..f11cb90 100644
--- a/src/main/java/com/ruoyi/safe/specialequipment/pojo/SpecialEquipmentRectification.java
+++ b/src/main/java/com/ruoyi/safe/specialequipment/pojo/SpecialEquipmentRectification.java
@@ -1,36 +1,81 @@
package com.ruoyi.safe.specialequipment.pojo;
+
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
+
+import java.io.Serial;
+import java.io.Serializable;
import java.time.*;
+
@Data
@Schema(description = "鐗圭璁惧闅愭偅鏁存敼")
@TableName("special_equipment_rectification")
-public class SpecialEquipmentRectification {
+public class SpecialEquipmentRectification implements Serializable {
+ @Serial
private static final long serialVersionUID = 1L;
- @TableId(type = IdType.AUTO) private Long id;
+
+ @TableId(type = IdType.AUTO)
+ private Long id;
+
private Long equipmentId;
- @Excel(name = "闅愭偅鎻忚堪") private String hazardDescription;
- @Excel(name = "椋庨櫓绛夌骇") private String riskLevel;
- @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "鍙戠幇鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate discoveredDate;
+
+ @Excel(name = "闅愭偅鎻忚堪")
+ private String hazardDescription;
+
+ @Excel(name = "椋庨櫓绛夌骇")
+ private String riskLevel;
+
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "鍙戠幇鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd")
+ private LocalDate discoveredDate;
+
private Long responsibleUserId;
- @Excel(name = "鏁存敼璐d换浜�") private String responsibleUserName;
- @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "鏁存敼鏈熼檺", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate rectificationDeadline;
- @Excel(name = "鏁存敼鐘舵��", readConverterExp = "1=寰呮暣鏀�,2=鏁存敼涓�,3=寰呭鏍�,4=宸查棴鐜�") private Integer rectificationStatus;
- @Excel(name = "鏁存敼鎺柦") private String rectificationMeasures;
- @Excel(name = "鏁存敼缁撴灉") private String rectificationResult;
- @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
- @Excel(name = "闂幆鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate closedDate;
- @Excel(name = "澶囨敞") private String remarks;
- @TableField(fill = FieldFill.INSERT) private Long createUser;
- @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime;
- @TableField(fill = FieldFill.UPDATE) private Long updateUser;
- @TableField(fill = FieldFill.UPDATE) private LocalDateTime updateTime;
- @TableField(fill = FieldFill.INSERT) private Long tenantId;
- @TableField(fill = FieldFill.INSERT) private Long deptId;
+
+ @Excel(name = "鏁存敼璐d换浜�")
+ private String responsibleUserName;
+
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "鏁存敼鏈熼檺", width = 30, dateFormat = "yyyy-MM-dd")
+ private LocalDate rectificationDeadline;
+
+ @Excel(name = "鏁存敼鐘舵��", readConverterExp = "1=寰呮暣鏀�,2=鏁存敼涓�,3=寰呭鏍�,4=宸查棴鐜�")
+ private Integer rectificationStatus;
+
+ @Excel(name = "鏁存敼鎺柦")
+ private String rectificationMeasures;
+
+ @Excel(name = "鏁存敼缁撴灉")
+ private String rectificationResult;
+
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
+ @Excel(name = "闂幆鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd")
+ private LocalDate closedDate;
+
+ @Excel(name = "澶囨敞")
+ private String remarks;
+
+ @TableField(fill = FieldFill.INSERT)
+ private Long createUser;
+
+ @TableField(fill = FieldFill.INSERT)
+ private LocalDateTime createTime;
+
+ @TableField(fill = FieldFill.UPDATE)
+ private Long updateUser;
+
+ @TableField(fill = FieldFill.UPDATE)
+ private LocalDateTime updateTime;
+
+ @TableField(fill = FieldFill.INSERT)
+ private Long tenantId;
+
+ @TableField(fill = FieldFill.INSERT)
+ private Long deptId;
}
--
Gitblit v1.9.3