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/SpecialEquipmentRecord.java |   80 ++++++++++++++++++++++++++++++---------
 1 files changed, 61 insertions(+), 19 deletions(-)

diff --git a/src/main/java/com/ruoyi/safe/specialequipment/pojo/SpecialEquipmentRecord.java b/src/main/java/com/ruoyi/safe/specialequipment/pojo/SpecialEquipmentRecord.java
index 78f4787..c11ab1a 100644
--- a/src/main/java/com/ruoyi/safe/specialequipment/pojo/SpecialEquipmentRecord.java
+++ b/src/main/java/com/ruoyi/safe/specialequipment/pojo/SpecialEquipmentRecord.java
@@ -1,34 +1,76 @@
 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_record")
-public class SpecialEquipmentRecord {
+public class SpecialEquipmentRecord 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 = "璁板綍绫诲瀷", readConverterExp = "1=妫�楠�,2=缁翠繚") private Integer recordType;
-    @Excel(name = "璁板綍缂栧彿") private String recordNo;
-    @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
-    @Excel(name = "璁板綍鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate recordDate;
-    @Excel(name = "鎵ц缁撴灉") private String executeResult;
-    @Excel(name = "闂鎻忚堪") private String problemDescription;
-    @Excel(name = "澶勭悊鎺柦") private String disposeMeasure;
+
+    @Excel(name = "璁板綍绫诲瀷", readConverterExp = "1=妫�楠�,2=缁翠繚")
+    private Integer recordType;
+
+    @Excel(name = "璁板綍缂栧彿")
+    private String recordNo;
+
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "璁板綍鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd")
+    private LocalDate recordDate;
+
+    @Excel(name = "鎵ц缁撴灉")
+    private String executeResult;
+
+    @Excel(name = "闂鎻忚堪")
+    private String problemDescription;
+
+    @Excel(name = "澶勭悊鎺柦")
+    private String disposeMeasure;
+
     private Long executorId;
-    @Excel(name = "鎵ц浜�") private String executorName;
-    @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd")
-    @Excel(name = "涓嬫鍒版湡鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd") private LocalDate nextDueDate;
-    @Excel(name = "闄勪欢璇存槑") private String attachmentRemark;
-    @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 = "鎵ц浜�")
+    private String executorName;
+
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @DateTimeFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "涓嬫鍒版湡鏃ユ湡", width = 30, dateFormat = "yyyy-MM-dd")
+    private LocalDate nextDueDate;
+
+    @Excel(name = "闄勪欢璇存槑")
+    private String attachmentRemark;
+
+    @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