From 7c1335ff559c08bbcef479bd2b01a08a1f4e55f2 Mon Sep 17 00:00:00 2001
From: guyue <1721849008@qq.com>
Date: 星期五, 15 八月 2025 10:59:18 +0800
Subject: [PATCH] 增加json时区,修付开始采集状态,修改导出校验

---
 src/main/java/com/linghu/model/entity/KeywordTask.java |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/linghu/model/entity/KeywordTask.java b/src/main/java/com/linghu/model/entity/KeywordTask.java
index 7a1c5b9..224f86a 100644
--- a/src/main/java/com/linghu/model/entity/KeywordTask.java
+++ b/src/main/java/com/linghu/model/entity/KeywordTask.java
@@ -5,6 +5,10 @@
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
 import java.io.Serializable;
+import java.time.LocalDateTime;
+import java.util.Date;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
 import lombok.Data;
 
 /**
@@ -29,6 +33,11 @@
      * 
      */
     private String task_id;
+    private String status;
+    private Integer num;
+    private String error;
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private LocalDateTime create_time;
 
     @TableField(exist = false)
     private static final long serialVersionUID = 1L;
@@ -47,7 +56,8 @@
         KeywordTask other = (KeywordTask) that;
         return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
             && (this.getKeyword_id() == null ? other.getKeyword_id() == null : this.getKeyword_id().equals(other.getKeyword_id()))
-            && (this.getTask_id() == null ? other.getTask_id() == null : this.getTask_id().equals(other.getTask_id()));
+            && (this.getTask_id() == null ? other.getTask_id() == null : this.getTask_id().equals(other.getTask_id()))
+                && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus()));
     }
 
     @Override
@@ -57,6 +67,7 @@
         result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
         result = prime * result + ((getKeyword_id() == null) ? 0 : getKeyword_id().hashCode());
         result = prime * result + ((getTask_id() == null) ? 0 : getTask_id().hashCode());
+        result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode());
         return result;
     }
 
@@ -70,6 +81,7 @@
         sb.append(", keyword_id=").append(keyword_id);
         sb.append(", task_id=").append(task_id);
         sb.append(", serialVersionUID=").append(serialVersionUID);
+        sb.append(", status=").append(status);
         sb.append("]");
         return sb.toString();
     }

--
Gitblit v1.7.1