wangyunpeng hace 1 mes
padre
commit
da60fddf07

+ 1 - 1
core/src/main/java/com/tzld/supply/api/DeepSeekApiService.java

@@ -65,7 +65,7 @@ public class DeepSeekApiService {
                     .method("POST", body)
                     .addHeader("Content-Type", "application/json")
                     .addHeader("Accept", "application/json")
-                    .addHeader("Authorization", "Bearer sk-717db6bbb4924f92b3b4da6fd2312d55")
+                    .addHeader("Authorization", "Bearer sk-d0c7bd4e16454db19c1451810f496399")
                     .build();
             Response response = client.newCall(request).execute();
 

+ 34 - 13
core/src/main/java/com/tzld/supply/api/SpiderApiService.java

@@ -2,12 +2,14 @@ package com.tzld.supply.api;
 
 import com.alibaba.fastjson.JSONObject;
 import com.tzld.supply.model.entity.ContentRankResponse;
+import com.tzld.supply.model.entity.ContentSearchResponse;
 import lombok.extern.slf4j.Slf4j;
 import okhttp3.*;
 import org.springframework.stereotype.Component;
 
 import javax.annotation.PostConstruct;
 import java.io.IOException;
+import java.util.List;
 import java.util.concurrent.TimeUnit;
 
 @Slf4j
@@ -26,7 +28,7 @@ public class SpiderApiService {
     }
 
     /**
-     * 发送内容排名请求
+     * 查询内容热榜请求
      * @param sortType 排序类型
      * @param category 分类
      * @param cursor 分页游标
@@ -34,40 +36,59 @@ public class SpiderApiService {
      * @throws IOException 如果请求失败
      */
     public ContentRankResponse sendContentRankRequest(String sortType, String category, int cursor) {
-        // 创建请求 URL
         String url = "http://crawapi.piaoquantv.com/crawler/jin_ri_re_bang/content_rank";
-
-        // 构建请求体 JSON
         JSONObject param = new JSONObject();
         param.put("sort_type", sortType);
         param.put("category", category);
         param.put("cursor", cursor);
-
-        // 创建请求体
         RequestBody body = RequestBody.create(MediaType.parse("application/json; charset=utf-8"), param.toJSONString());
-
-        // 构建请求
         Request request = new Request.Builder()
                 .url(url)
                 .post(body)
                 .build();
-        // 发送同步请求 (如果需要异步可使用 enqueue)
         try {
             Response response = client.newCall(request).execute();
             if (response.isSuccessful()) {
-                // 获取响应体并转换为字符串
                 String responseBody = response.body().string();
                 // 将 JSON 响应映射到 ContentRankResponse 对象
-                return JSONObject.parseObject(responseBody, ContentRankResponse.class);
+                JSONObject jsonObject = JSONObject.parseObject(responseBody);
+                return jsonObject.getObject("data", ContentRankResponse.class);
             }
         } catch (IOException e) {
-            log.error("发送内容排名请求失败: {}", e.getMessage(), e);
+            log.error("查询内容热榜失败: {}", e.getMessage(), e);
         }
         return null;
     }
 
-    public String searchContentDetail(String title) {
+    /**
+     * 搜索内容详情请求
+     * @param title 标题
+     * @return ContentSearchResponse.DataItem 响应对象
+     */
+    public List<ContentSearchResponse.DataItem> searchContentDetail(String title) {
         // todo 搜索内容详情
+        String url = "http://crawapi.piaoquantv.com/crawler/jin_ri_re_bang/content_rank";
+        JSONObject param = new JSONObject();
+        param.put("title", title);
+        RequestBody body = RequestBody.create(MediaType.parse("application/json; charset=utf-8"), param.toJSONString());
+        Request request = new Request.Builder()
+                .url(url)
+                .post(body)
+                .build();
+        try {
+            Response response = client.newCall(request).execute();
+            if (response.isSuccessful()) {
+                String responseBody = response.body().string();
+                // 将 JSON 响应映射到 ContentSearchResponse 对象
+                JSONObject jsonObject = JSONObject.parseObject(responseBody);
+                ContentSearchResponse contentSearchResponse = jsonObject.getObject("data", ContentSearchResponse.class);
+                if (contentSearchResponse != null && contentSearchResponse.getData() != null) {
+                    return contentSearchResponse.getData();
+                }
+            }
+        } catch (IOException e) {
+            log.error("搜索内容详情失败: {}", e.getMessage(), e);
+        }
         return null;
     }
 }

+ 14 - 14
core/src/main/java/com/tzld/supply/dao/mapper/supply/spider/SpiderContentMapper.java

@@ -10,7 +10,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     long countByExample(SpiderContentExample example);
 
@@ -18,7 +18,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int deleteByExample(SpiderContentExample example);
 
@@ -26,7 +26,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int deleteByPrimaryKey(Long id);
 
@@ -34,7 +34,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int insert(SpiderContent record);
 
@@ -42,7 +42,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int insertSelective(SpiderContent record);
 
@@ -50,7 +50,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     List<SpiderContent> selectByExampleWithBLOBs(SpiderContentExample example);
 
@@ -58,7 +58,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     List<SpiderContent> selectByExample(SpiderContentExample example);
 
@@ -66,7 +66,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     SpiderContent selectByPrimaryKey(Long id);
 
@@ -74,7 +74,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int updateByExampleSelective(@Param("record") SpiderContent record, @Param("example") SpiderContentExample example);
 
@@ -82,7 +82,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int updateByExampleWithBLOBs(@Param("record") SpiderContent record, @Param("example") SpiderContentExample example);
 
@@ -90,7 +90,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int updateByExample(@Param("record") SpiderContent record, @Param("example") SpiderContentExample example);
 
@@ -98,7 +98,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int updateByPrimaryKeySelective(SpiderContent record);
 
@@ -106,7 +106,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int updateByPrimaryKeyWithBLOBs(SpiderContent record);
 
@@ -114,7 +114,7 @@ public interface SpiderContentMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int updateByPrimaryKey(SpiderContent record);
 }

+ 11 - 11
core/src/main/java/com/tzld/supply/dao/mapper/supply/spider/SpiderTaskMapper.java

@@ -10,7 +10,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     long countByExample(SpiderTaskExample example);
 
@@ -18,7 +18,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int deleteByExample(SpiderTaskExample example);
 
@@ -26,7 +26,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int deleteByPrimaryKey(Long id);
 
@@ -34,7 +34,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int insert(SpiderTask record);
 
@@ -42,7 +42,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int insertSelective(SpiderTask record);
 
@@ -50,7 +50,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     List<SpiderTask> selectByExample(SpiderTaskExample example);
 
@@ -58,7 +58,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     SpiderTask selectByPrimaryKey(Long id);
 
@@ -66,7 +66,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int updateByExampleSelective(@Param("record") SpiderTask record, @Param("example") SpiderTaskExample example);
 
@@ -74,7 +74,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int updateByExample(@Param("record") SpiderTask record, @Param("example") SpiderTaskExample example);
 
@@ -82,7 +82,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int updateByPrimaryKeySelective(SpiderTask record);
 
@@ -90,7 +90,7 @@ public interface SpiderTaskMapper {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     int updateByPrimaryKey(SpiderTask record);
 }

+ 21 - 21
core/src/main/java/com/tzld/supply/job/ContentScreenJob.java

@@ -48,13 +48,13 @@ public class ContentScreenJob {
                 }
             }
             if (Objects.nonNull(obj)) {
-                Byte aiRoughStatus = checkRoughScreenStatus(obj);
+                Integer aiRoughStatus = checkRoughScreenStatus(obj);
                 content.setAiRoughStatus(aiRoughStatus);
-                if (aiRoughStatus == (byte) 1) {
-                    content.setStatus((byte) 1);
+                if (aiRoughStatus == 1) {
+                    content.setStatus(1);
                     content.setAiRoughResult(JSONObject.toJSONString(obj));
                 } else {
-                    content.setStatus((byte) 3);
+                    content.setStatus(3);
                 }
                 content.setUpdateTime(System.currentTimeMillis());
                 spiderContentMapper.updateByPrimaryKeySelective(content);
@@ -64,20 +64,20 @@ public class ContentScreenJob {
         return ReturnT.SUCCESS;
     }
 
-    private Byte checkRoughScreenStatus(RoughScreenEntity obj) {
+    private Integer checkRoughScreenStatus(RoughScreenEntity obj) {
         if (Objects.isNull(obj.getIsElderlySuitable()) || !obj.getIsElderlySuitable()) {
-            return (byte) 2;
+            return 2;
         }
         if (Objects.nonNull(obj.getIsSensitive()) && obj.getIsSensitive()) {
-            return (byte) 2;
+            return 2;
         }
         if (Objects.nonNull(obj.getIsNegative()) && obj.getIsNegative()) {
-            return (byte) 2;
+            return 2;
         }
         if (Objects.nonNull(obj.getIsAdvertisement()) && obj.getIsAdvertisement()) {
-            return (byte) 2;
+            return 2;
         }
-        return (byte) 1;
+        return 1;
     }
 
     private String roughScreenPrompt = "你是一名新闻智能审核系统的快速过滤模型,负责判断新闻标题是否适合老年群体内容推荐。\n" +
@@ -108,7 +108,7 @@ public class ContentScreenJob {
 
     private List<SpiderContent> getRoughScreenSpiderContent() {
         SpiderContentExample example = new SpiderContentExample();
-        example.createCriteria().andStatusEqualTo((byte) 0).andAiRoughStatusEqualTo((byte) 0);
+        example.createCriteria().andStatusEqualTo(0).andAiRoughStatusEqualTo(0);
         return spiderContentMapper.selectByExample(example);
     }
 
@@ -132,15 +132,15 @@ public class ContentScreenJob {
                 }
             }
             if (Objects.nonNull(obj)) {
-                Byte aiPrecisionStatus = checkPrecisionScreenStatus(obj);
+                Integer aiPrecisionStatus = checkPrecisionScreenStatus(obj);
                 content.setAiPrecisionStatus(aiPrecisionStatus);
-                if (aiPrecisionStatus == (byte) 1
+                if (aiPrecisionStatus == 1
                         && obj.getPropagationScore() > 0.8
                         && obj.getSuitabilityScore() > 0.8) {
-                    content.setStatus((byte) 2);
+                    content.setStatus(2);
                     content.setAiPrecisionResult(JSONObject.toJSONString(obj));
                 } else {
-                    content.setStatus((byte) 3);
+                    content.setStatus(3);
                 }
                 content.setUpdateTime(System.currentTimeMillis());
                 spiderContentMapper.updateByPrimaryKeySelective(content);
@@ -149,20 +149,20 @@ public class ContentScreenJob {
         return ReturnT.SUCCESS;
     }
 
-    private Byte checkPrecisionScreenStatus(PrecisionScreenEntity obj) {
+    private Integer checkPrecisionScreenStatus(PrecisionScreenEntity obj) {
         if (Objects.isNull(obj.getIsElderlySuitable()) || !obj.getIsElderlySuitable()) {
-            return (byte) 2;
+            return 2;
         }
         if (Objects.nonNull(obj.getIsSensitive()) && obj.getIsSensitive()) {
-            return (byte) 2;
+            return 2;
         }
         if (Objects.nonNull(obj.getIsNegative()) && obj.getIsNegative()) {
-            return (byte) 2;
+            return 2;
         }
         if (Objects.nonNull(obj.getIsAdvertisement()) && obj.getIsAdvertisement()) {
-            return (byte) 2;
+            return 2;
         }
-        return (byte) 1;
+        return 1;
     }
 
     private String precisionScreenPrompt = "你是一名内容智能分析与编辑顾问,负责对新闻或视频进行全面分析。\n" +

+ 43 - 17
core/src/main/java/com/tzld/supply/job/SpiderJob.java

@@ -5,11 +5,14 @@ import com.tzld.supply.dao.mapper.supply.spider.SpiderContentMapper;
 import com.tzld.supply.dao.mapper.supply.spider.SpiderTaskMapper;
 import com.tzld.supply.dao.mapper.supply.spider.ext.SpiderMapperExt;
 import com.tzld.supply.model.entity.ContentRankResponse;
+import com.tzld.supply.model.entity.ContentSearchResponse;
 import com.tzld.supply.model.po.supply.spider.SpiderContent;
+import com.tzld.supply.model.po.supply.spider.SpiderContentExample;
 import com.tzld.supply.model.po.supply.spider.SpiderTask;
 import com.xxl.job.core.biz.model.ReturnT;
 import com.xxl.job.core.handler.annotation.XxlJob;
 import lombok.extern.slf4j.Slf4j;
+import org.apache.commons.collections4.CollectionUtils;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Value;
@@ -39,6 +42,12 @@ public class SpiderJob {
         int cursor = 1;
         List<ContentRankResponse.DataItem> dataItems = new ArrayList<>();
         Long startTime = System.currentTimeMillis();
+        SpiderTask task = new SpiderTask();
+        task.setSourceWeb("https://tophub.today/c/news");
+        task.setStartTime(startTime);
+        task.setCreateTime(startTime);
+        task.setUpdateTime(startTime);
+        spiderTaskMapper.insertSelective(task);
         while (getRankPageSize >= cursor) {
             ContentRankResponse response = spiderApiService.sendContentRankRequest("最热", "news", cursor);
             if (response == null) {
@@ -50,12 +59,6 @@ public class SpiderJob {
             cursor = response.getNext_cursor();
             dataItems.addAll(response.getData());
         }
-        Long endTime = System.currentTimeMillis();
-        SpiderTask task = new SpiderTask();
-        task.setSourceWeb("https://tophub.today/c/news");
-        task.setStartTime(startTime);
-        task.setEndTime(endTime);
-        task.setDurationMs(endTime - startTime);
         List<SpiderContent> saveList = new ArrayList<>();
         Long now = System.currentTimeMillis();
         for (ContentRankResponse.DataItem dataItem : dataItems) {
@@ -63,13 +66,18 @@ public class SpiderJob {
                 continue;
             }
             for (ContentRankResponse.RankListItem rankListItem : dataItem.getRankList()) {
-                // todo Filter 过滤已存在、短、英文内容
+                // Filter 过滤短、英文内容
                 if (StringUtils.isBlank(rankListItem.getTitle())
                         || rankListItem.getTitle().length() < 8
-                        || rankListItem.getTitle().matches("^[a-zA-Z0-9\\s]+$")) {
+                        || rankListItem.getTitle().matches("^[a-zA-Z0-9\\s!\"#$%&'()*+,\\-./:;<=>?@\\[\\\\\\]^_`{|}~]+$")) {
+                    continue;
+                }
+                // Filter 过滤已存在
+                if (checkContentExist(rankListItem)) {
                     continue;
                 }
                 SpiderContent content = new SpiderContent();
+                content.setTaskId(task.getId());
                 content.setSource(dataItem.getSource());
                 content.setSourceType(dataItem.getType());
                 content.setTitle(rankListItem.getTitle());
@@ -79,14 +87,26 @@ public class SpiderJob {
                 saveList.add(content);
             }
         }
-        task.setCreateTime(now);
-        task.setUpdateTime(now);
+
+        Long endTime = System.currentTimeMillis();
+        task.setStatus(2);
+        task.setEndTime(endTime);
+        task.setDurationMs(endTime - startTime);
         task.setFetchedCount(saveList.size());
-        spiderTaskMapper.insertSelective(task);
-        spiderMapperExt.batchInsertSpiderContent(saveList);
+        task.setUpdateTime(endTime);
+        spiderTaskMapper.updateByPrimaryKeySelective(task);
+        if (CollectionUtils.isNotEmpty(saveList)) {
+            spiderMapperExt.batchInsertSpiderContent(saveList);
+        }
         return ReturnT.SUCCESS;
     }
 
+    private boolean checkContentExist(ContentRankResponse.RankListItem rankListItem) {
+        SpiderContentExample example = new SpiderContentExample();
+        example.createCriteria().andTitleEqualTo(rankListItem.getTitle());
+        return spiderContentMapper.countByExample(example) > 0;
+    }
+
     @XxlJob("searchContentDetailJob")
     public ReturnT<String> searchContentDetailJob(String param) {
         List<SpiderContent> contentList = spiderMapperExt.getRoughScreenSpiderContentNoContent();
@@ -96,16 +116,22 @@ public class SpiderJob {
         for (SpiderContent content : contentList) {
             String text = null;
             try {
-                // todo 选择固定网站搜索
-                text = spiderApiService.searchContentDetail(content.getTitle());
+                List<ContentSearchResponse.DataItem> dataItems = spiderApiService.searchContentDetail(content.getTitle());
+                if (dataItems != null && !dataItems.isEmpty()) {
+                    for (ContentSearchResponse.DataItem dataItem : dataItems) {
+                        if (StringUtils.isNotBlank(dataItem.getContent())) {
+                            text = dataItem.getContent();
+                            break;
+                        }
+                    }
+                }
             } catch (Exception e) {
-                log.error("获取内容详情失败,title={}", content.getTitle(), e);
+                log.error("搜索内容详情失败,title={}", content.getTitle(), e);
             }
-            // todo Filter
             if (StringUtils.isNotBlank(text)) {
                 content.setContent(text);
             } else {
-                content.setStatus((byte) 2);
+                content.setStatus(3);
             }
             content.setUpdateTime(System.currentTimeMillis());
             spiderContentMapper.updateByPrimaryKeySelective(content);

+ 21 - 0
core/src/main/java/com/tzld/supply/model/entity/ContentSearchResponse.java

@@ -0,0 +1,21 @@
+package com.tzld.supply.model.entity;
+
+import lombok.Data;
+
+import java.util.List;
+
+@Data
+public class ContentSearchResponse {
+    private boolean has_more;
+    private int next_cursor;
+    private List<DataItem> data;
+
+    @Data
+    public static class DataItem {
+        private String title;
+        private String url;
+        private String source;
+        private String description;
+        private String content;
+    }
+}

+ 52 - 52
core/src/main/java/com/tzld/supply/model/po/supply/spider/SpiderContent.java

@@ -13,7 +13,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.id
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Long id;
 
@@ -24,7 +24,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.task_id
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Long taskId;
 
@@ -35,7 +35,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.source
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private String source;
 
@@ -46,7 +46,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.source_type
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private String sourceType;
 
@@ -57,7 +57,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.url
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private String url;
 
@@ -68,7 +68,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.title
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private String title;
 
@@ -79,9 +79,9 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.status
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    private Byte status;
+    private Integer status;
 
     /**
      * Database Column Remarks:
@@ -90,9 +90,9 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.ai_rough_status
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    private Byte aiRoughStatus;
+    private Integer aiRoughStatus;
 
     /**
      * Database Column Remarks:
@@ -101,7 +101,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.ai_rough_result
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private String aiRoughResult;
 
@@ -112,9 +112,9 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.ai_precision_status
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    private Byte aiPrecisionStatus;
+    private Integer aiPrecisionStatus;
 
     /**
      * Database Column Remarks:
@@ -123,7 +123,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.ai_precision_result
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private String aiPrecisionResult;
 
@@ -132,7 +132,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.create_time
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Long createTime;
 
@@ -141,7 +141,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.update_time
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Long updateTime;
 
@@ -152,7 +152,7 @@ public class SpiderContent {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_content.content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private String content;
 
@@ -162,7 +162,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.id
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Long getId() {
         return id;
@@ -174,7 +174,7 @@ public class SpiderContent {
      *
      * @param id the value for spider_content.id
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setId(Long id) {
         this.id = id;
@@ -186,7 +186,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.task_id
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Long getTaskId() {
         return taskId;
@@ -198,7 +198,7 @@ public class SpiderContent {
      *
      * @param taskId the value for spider_content.task_id
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setTaskId(Long taskId) {
         this.taskId = taskId;
@@ -210,7 +210,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.source
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public String getSource() {
         return source;
@@ -222,7 +222,7 @@ public class SpiderContent {
      *
      * @param source the value for spider_content.source
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setSource(String source) {
         this.source = source;
@@ -234,7 +234,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.source_type
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public String getSourceType() {
         return sourceType;
@@ -246,7 +246,7 @@ public class SpiderContent {
      *
      * @param sourceType the value for spider_content.source_type
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setSourceType(String sourceType) {
         this.sourceType = sourceType;
@@ -258,7 +258,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.url
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public String getUrl() {
         return url;
@@ -270,7 +270,7 @@ public class SpiderContent {
      *
      * @param url the value for spider_content.url
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setUrl(String url) {
         this.url = url;
@@ -282,7 +282,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.title
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public String getTitle() {
         return title;
@@ -294,7 +294,7 @@ public class SpiderContent {
      *
      * @param title the value for spider_content.title
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setTitle(String title) {
         this.title = title;
@@ -306,9 +306,9 @@ public class SpiderContent {
      *
      * @return the value of spider_content.status
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    public Byte getStatus() {
+    public Integer getStatus() {
         return status;
     }
 
@@ -318,9 +318,9 @@ public class SpiderContent {
      *
      * @param status the value for spider_content.status
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    public void setStatus(Byte status) {
+    public void setStatus(Integer status) {
         this.status = status;
     }
 
@@ -330,9 +330,9 @@ public class SpiderContent {
      *
      * @return the value of spider_content.ai_rough_status
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    public Byte getAiRoughStatus() {
+    public Integer getAiRoughStatus() {
         return aiRoughStatus;
     }
 
@@ -342,9 +342,9 @@ public class SpiderContent {
      *
      * @param aiRoughStatus the value for spider_content.ai_rough_status
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    public void setAiRoughStatus(Byte aiRoughStatus) {
+    public void setAiRoughStatus(Integer aiRoughStatus) {
         this.aiRoughStatus = aiRoughStatus;
     }
 
@@ -354,7 +354,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.ai_rough_result
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public String getAiRoughResult() {
         return aiRoughResult;
@@ -366,7 +366,7 @@ public class SpiderContent {
      *
      * @param aiRoughResult the value for spider_content.ai_rough_result
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setAiRoughResult(String aiRoughResult) {
         this.aiRoughResult = aiRoughResult;
@@ -378,9 +378,9 @@ public class SpiderContent {
      *
      * @return the value of spider_content.ai_precision_status
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    public Byte getAiPrecisionStatus() {
+    public Integer getAiPrecisionStatus() {
         return aiPrecisionStatus;
     }
 
@@ -390,9 +390,9 @@ public class SpiderContent {
      *
      * @param aiPrecisionStatus the value for spider_content.ai_precision_status
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    public void setAiPrecisionStatus(Byte aiPrecisionStatus) {
+    public void setAiPrecisionStatus(Integer aiPrecisionStatus) {
         this.aiPrecisionStatus = aiPrecisionStatus;
     }
 
@@ -402,7 +402,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.ai_precision_result
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public String getAiPrecisionResult() {
         return aiPrecisionResult;
@@ -414,7 +414,7 @@ public class SpiderContent {
      *
      * @param aiPrecisionResult the value for spider_content.ai_precision_result
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setAiPrecisionResult(String aiPrecisionResult) {
         this.aiPrecisionResult = aiPrecisionResult;
@@ -426,7 +426,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.create_time
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Long getCreateTime() {
         return createTime;
@@ -438,7 +438,7 @@ public class SpiderContent {
      *
      * @param createTime the value for spider_content.create_time
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setCreateTime(Long createTime) {
         this.createTime = createTime;
@@ -450,7 +450,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.update_time
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Long getUpdateTime() {
         return updateTime;
@@ -462,7 +462,7 @@ public class SpiderContent {
      *
      * @param updateTime the value for spider_content.update_time
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setUpdateTime(Long updateTime) {
         this.updateTime = updateTime;
@@ -474,7 +474,7 @@ public class SpiderContent {
      *
      * @return the value of spider_content.content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public String getContent() {
         return content;
@@ -486,7 +486,7 @@ public class SpiderContent {
      *
      * @param content the value for spider_content.content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setContent(String content) {
         this.content = content;
@@ -496,7 +496,7 @@ public class SpiderContent {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     @Override
     public String toString() {

+ 47 - 47
core/src/main/java/com/tzld/supply/model/po/supply/spider/SpiderContentExample.java

@@ -8,7 +8,7 @@ public class SpiderContentExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     protected String orderByClause;
 
@@ -16,7 +16,7 @@ public class SpiderContentExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     protected boolean distinct;
 
@@ -24,7 +24,7 @@ public class SpiderContentExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     protected List<Criteria> oredCriteria;
 
@@ -32,7 +32,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public SpiderContentExample() {
         oredCriteria = new ArrayList<Criteria>();
@@ -42,7 +42,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setOrderByClause(String orderByClause) {
         this.orderByClause = orderByClause;
@@ -52,7 +52,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public String getOrderByClause() {
         return orderByClause;
@@ -62,7 +62,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setDistinct(boolean distinct) {
         this.distinct = distinct;
@@ -72,7 +72,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public boolean isDistinct() {
         return distinct;
@@ -82,7 +82,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public List<Criteria> getOredCriteria() {
         return oredCriteria;
@@ -92,7 +92,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void or(Criteria criteria) {
         oredCriteria.add(criteria);
@@ -102,7 +102,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Criteria or() {
         Criteria criteria = createCriteriaInternal();
@@ -114,7 +114,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Criteria createCriteria() {
         Criteria criteria = createCriteriaInternal();
@@ -128,7 +128,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     protected Criteria createCriteriaInternal() {
         Criteria criteria = new Criteria();
@@ -139,7 +139,7 @@ public class SpiderContentExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void clear() {
         oredCriteria.clear();
@@ -151,7 +151,7 @@ public class SpiderContentExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     protected abstract static class GeneratedCriteria {
         protected List<Criterion> criteria;
@@ -604,52 +604,52 @@ public class SpiderContentExample {
             return (Criteria) this;
         }
 
-        public Criteria andStatusEqualTo(Byte value) {
+        public Criteria andStatusEqualTo(Integer value) {
             addCriterion("`status` =", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusNotEqualTo(Byte value) {
+        public Criteria andStatusNotEqualTo(Integer value) {
             addCriterion("`status` <>", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusGreaterThan(Byte value) {
+        public Criteria andStatusGreaterThan(Integer value) {
             addCriterion("`status` >", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
+        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
             addCriterion("`status` >=", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusLessThan(Byte value) {
+        public Criteria andStatusLessThan(Integer value) {
             addCriterion("`status` <", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusLessThanOrEqualTo(Byte value) {
+        public Criteria andStatusLessThanOrEqualTo(Integer value) {
             addCriterion("`status` <=", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusIn(List<Byte> values) {
+        public Criteria andStatusIn(List<Integer> values) {
             addCriterion("`status` in", values, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusNotIn(List<Byte> values) {
+        public Criteria andStatusNotIn(List<Integer> values) {
             addCriterion("`status` not in", values, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusBetween(Byte value1, Byte value2) {
+        public Criteria andStatusBetween(Integer value1, Integer value2) {
             addCriterion("`status` between", value1, value2, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
+        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
             addCriterion("`status` not between", value1, value2, "status");
             return (Criteria) this;
         }
@@ -664,52 +664,52 @@ public class SpiderContentExample {
             return (Criteria) this;
         }
 
-        public Criteria andAiRoughStatusEqualTo(Byte value) {
+        public Criteria andAiRoughStatusEqualTo(Integer value) {
             addCriterion("ai_rough_status =", value, "aiRoughStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiRoughStatusNotEqualTo(Byte value) {
+        public Criteria andAiRoughStatusNotEqualTo(Integer value) {
             addCriterion("ai_rough_status <>", value, "aiRoughStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiRoughStatusGreaterThan(Byte value) {
+        public Criteria andAiRoughStatusGreaterThan(Integer value) {
             addCriterion("ai_rough_status >", value, "aiRoughStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiRoughStatusGreaterThanOrEqualTo(Byte value) {
+        public Criteria andAiRoughStatusGreaterThanOrEqualTo(Integer value) {
             addCriterion("ai_rough_status >=", value, "aiRoughStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiRoughStatusLessThan(Byte value) {
+        public Criteria andAiRoughStatusLessThan(Integer value) {
             addCriterion("ai_rough_status <", value, "aiRoughStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiRoughStatusLessThanOrEqualTo(Byte value) {
+        public Criteria andAiRoughStatusLessThanOrEqualTo(Integer value) {
             addCriterion("ai_rough_status <=", value, "aiRoughStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiRoughStatusIn(List<Byte> values) {
+        public Criteria andAiRoughStatusIn(List<Integer> values) {
             addCriterion("ai_rough_status in", values, "aiRoughStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiRoughStatusNotIn(List<Byte> values) {
+        public Criteria andAiRoughStatusNotIn(List<Integer> values) {
             addCriterion("ai_rough_status not in", values, "aiRoughStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiRoughStatusBetween(Byte value1, Byte value2) {
+        public Criteria andAiRoughStatusBetween(Integer value1, Integer value2) {
             addCriterion("ai_rough_status between", value1, value2, "aiRoughStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiRoughStatusNotBetween(Byte value1, Byte value2) {
+        public Criteria andAiRoughStatusNotBetween(Integer value1, Integer value2) {
             addCriterion("ai_rough_status not between", value1, value2, "aiRoughStatus");
             return (Criteria) this;
         }
@@ -794,52 +794,52 @@ public class SpiderContentExample {
             return (Criteria) this;
         }
 
-        public Criteria andAiPrecisionStatusEqualTo(Byte value) {
+        public Criteria andAiPrecisionStatusEqualTo(Integer value) {
             addCriterion("ai_precision_status =", value, "aiPrecisionStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiPrecisionStatusNotEqualTo(Byte value) {
+        public Criteria andAiPrecisionStatusNotEqualTo(Integer value) {
             addCriterion("ai_precision_status <>", value, "aiPrecisionStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiPrecisionStatusGreaterThan(Byte value) {
+        public Criteria andAiPrecisionStatusGreaterThan(Integer value) {
             addCriterion("ai_precision_status >", value, "aiPrecisionStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiPrecisionStatusGreaterThanOrEqualTo(Byte value) {
+        public Criteria andAiPrecisionStatusGreaterThanOrEqualTo(Integer value) {
             addCriterion("ai_precision_status >=", value, "aiPrecisionStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiPrecisionStatusLessThan(Byte value) {
+        public Criteria andAiPrecisionStatusLessThan(Integer value) {
             addCriterion("ai_precision_status <", value, "aiPrecisionStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiPrecisionStatusLessThanOrEqualTo(Byte value) {
+        public Criteria andAiPrecisionStatusLessThanOrEqualTo(Integer value) {
             addCriterion("ai_precision_status <=", value, "aiPrecisionStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiPrecisionStatusIn(List<Byte> values) {
+        public Criteria andAiPrecisionStatusIn(List<Integer> values) {
             addCriterion("ai_precision_status in", values, "aiPrecisionStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiPrecisionStatusNotIn(List<Byte> values) {
+        public Criteria andAiPrecisionStatusNotIn(List<Integer> values) {
             addCriterion("ai_precision_status not in", values, "aiPrecisionStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiPrecisionStatusBetween(Byte value1, Byte value2) {
+        public Criteria andAiPrecisionStatusBetween(Integer value1, Integer value2) {
             addCriterion("ai_precision_status between", value1, value2, "aiPrecisionStatus");
             return (Criteria) this;
         }
 
-        public Criteria andAiPrecisionStatusNotBetween(Byte value1, Byte value2) {
+        public Criteria andAiPrecisionStatusNotBetween(Integer value1, Integer value2) {
             addCriterion("ai_precision_status not between", value1, value2, "aiPrecisionStatus");
             return (Criteria) this;
         }
@@ -1039,7 +1039,7 @@ public class SpiderContentExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table spider_content
      *
-     * @mbg.generated do_not_delete_during_merge Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated do_not_delete_during_merge Tue Oct 14 10:08:57 CST 2025
      */
     public static class Criteria extends GeneratedCriteria {
 
@@ -1052,7 +1052,7 @@ public class SpiderContentExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table spider_content
      *
-     * @mbg.generated Mon Oct 13 19:39:09 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public static class Criterion {
         private String condition;

+ 31 - 31
core/src/main/java/com/tzld/supply/model/po/supply/spider/SpiderTask.java

@@ -13,7 +13,7 @@ public class SpiderTask {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_task.id
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Long id;
 
@@ -24,7 +24,7 @@ public class SpiderTask {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_task.source_web
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private String sourceWeb;
 
@@ -35,9 +35,9 @@ public class SpiderTask {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_task.status
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    private Byte status;
+    private Integer status;
 
     /**
      * Database Column Remarks:
@@ -46,7 +46,7 @@ public class SpiderTask {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_task.start_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Long startTime;
 
@@ -57,7 +57,7 @@ public class SpiderTask {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_task.end_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Long endTime;
 
@@ -68,7 +68,7 @@ public class SpiderTask {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_task.duration_ms
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Long durationMs;
 
@@ -79,7 +79,7 @@ public class SpiderTask {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_task.fetched_count
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Integer fetchedCount;
 
@@ -88,7 +88,7 @@ public class SpiderTask {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_task.create_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Long createTime;
 
@@ -97,7 +97,7 @@ public class SpiderTask {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database column spider_task.update_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     private Long updateTime;
 
@@ -107,7 +107,7 @@ public class SpiderTask {
      *
      * @return the value of spider_task.id
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Long getId() {
         return id;
@@ -119,7 +119,7 @@ public class SpiderTask {
      *
      * @param id the value for spider_task.id
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setId(Long id) {
         this.id = id;
@@ -131,7 +131,7 @@ public class SpiderTask {
      *
      * @return the value of spider_task.source_web
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public String getSourceWeb() {
         return sourceWeb;
@@ -143,7 +143,7 @@ public class SpiderTask {
      *
      * @param sourceWeb the value for spider_task.source_web
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setSourceWeb(String sourceWeb) {
         this.sourceWeb = sourceWeb;
@@ -155,9 +155,9 @@ public class SpiderTask {
      *
      * @return the value of spider_task.status
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    public Byte getStatus() {
+    public Integer getStatus() {
         return status;
     }
 
@@ -167,9 +167,9 @@ public class SpiderTask {
      *
      * @param status the value for spider_task.status
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
-    public void setStatus(Byte status) {
+    public void setStatus(Integer status) {
         this.status = status;
     }
 
@@ -179,7 +179,7 @@ public class SpiderTask {
      *
      * @return the value of spider_task.start_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Long getStartTime() {
         return startTime;
@@ -191,7 +191,7 @@ public class SpiderTask {
      *
      * @param startTime the value for spider_task.start_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setStartTime(Long startTime) {
         this.startTime = startTime;
@@ -203,7 +203,7 @@ public class SpiderTask {
      *
      * @return the value of spider_task.end_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Long getEndTime() {
         return endTime;
@@ -215,7 +215,7 @@ public class SpiderTask {
      *
      * @param endTime the value for spider_task.end_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setEndTime(Long endTime) {
         this.endTime = endTime;
@@ -227,7 +227,7 @@ public class SpiderTask {
      *
      * @return the value of spider_task.duration_ms
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Long getDurationMs() {
         return durationMs;
@@ -239,7 +239,7 @@ public class SpiderTask {
      *
      * @param durationMs the value for spider_task.duration_ms
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setDurationMs(Long durationMs) {
         this.durationMs = durationMs;
@@ -251,7 +251,7 @@ public class SpiderTask {
      *
      * @return the value of spider_task.fetched_count
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Integer getFetchedCount() {
         return fetchedCount;
@@ -263,7 +263,7 @@ public class SpiderTask {
      *
      * @param fetchedCount the value for spider_task.fetched_count
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setFetchedCount(Integer fetchedCount) {
         this.fetchedCount = fetchedCount;
@@ -275,7 +275,7 @@ public class SpiderTask {
      *
      * @return the value of spider_task.create_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Long getCreateTime() {
         return createTime;
@@ -287,7 +287,7 @@ public class SpiderTask {
      *
      * @param createTime the value for spider_task.create_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setCreateTime(Long createTime) {
         this.createTime = createTime;
@@ -299,7 +299,7 @@ public class SpiderTask {
      *
      * @return the value of spider_task.update_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Long getUpdateTime() {
         return updateTime;
@@ -311,7 +311,7 @@ public class SpiderTask {
      *
      * @param updateTime the value for spider_task.update_time
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setUpdateTime(Long updateTime) {
         this.updateTime = updateTime;
@@ -321,7 +321,7 @@ public class SpiderTask {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     @Override
     public String toString() {

+ 27 - 27
core/src/main/java/com/tzld/supply/model/po/supply/spider/SpiderTaskExample.java

@@ -8,7 +8,7 @@ public class SpiderTaskExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     protected String orderByClause;
 
@@ -16,7 +16,7 @@ public class SpiderTaskExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     protected boolean distinct;
 
@@ -24,7 +24,7 @@ public class SpiderTaskExample {
      * This field was generated by MyBatis Generator.
      * This field corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     protected List<Criteria> oredCriteria;
 
@@ -32,7 +32,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public SpiderTaskExample() {
         oredCriteria = new ArrayList<Criteria>();
@@ -42,7 +42,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setOrderByClause(String orderByClause) {
         this.orderByClause = orderByClause;
@@ -52,7 +52,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public String getOrderByClause() {
         return orderByClause;
@@ -62,7 +62,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void setDistinct(boolean distinct) {
         this.distinct = distinct;
@@ -72,7 +72,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public boolean isDistinct() {
         return distinct;
@@ -82,7 +82,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public List<Criteria> getOredCriteria() {
         return oredCriteria;
@@ -92,7 +92,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void or(Criteria criteria) {
         oredCriteria.add(criteria);
@@ -102,7 +102,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Criteria or() {
         Criteria criteria = createCriteriaInternal();
@@ -114,7 +114,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public Criteria createCriteria() {
         Criteria criteria = createCriteriaInternal();
@@ -128,7 +128,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     protected Criteria createCriteriaInternal() {
         Criteria criteria = new Criteria();
@@ -139,7 +139,7 @@ public class SpiderTaskExample {
      * This method was generated by MyBatis Generator.
      * This method corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public void clear() {
         oredCriteria.clear();
@@ -151,7 +151,7 @@ public class SpiderTaskExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     protected abstract static class GeneratedCriteria {
         protected List<Criterion> criteria;
@@ -334,52 +334,52 @@ public class SpiderTaskExample {
             return (Criteria) this;
         }
 
-        public Criteria andStatusEqualTo(Byte value) {
+        public Criteria andStatusEqualTo(Integer value) {
             addCriterion("`status` =", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusNotEqualTo(Byte value) {
+        public Criteria andStatusNotEqualTo(Integer value) {
             addCriterion("`status` <>", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusGreaterThan(Byte value) {
+        public Criteria andStatusGreaterThan(Integer value) {
             addCriterion("`status` >", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
+        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
             addCriterion("`status` >=", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusLessThan(Byte value) {
+        public Criteria andStatusLessThan(Integer value) {
             addCriterion("`status` <", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusLessThanOrEqualTo(Byte value) {
+        public Criteria andStatusLessThanOrEqualTo(Integer value) {
             addCriterion("`status` <=", value, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusIn(List<Byte> values) {
+        public Criteria andStatusIn(List<Integer> values) {
             addCriterion("`status` in", values, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusNotIn(List<Byte> values) {
+        public Criteria andStatusNotIn(List<Integer> values) {
             addCriterion("`status` not in", values, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusBetween(Byte value1, Byte value2) {
+        public Criteria andStatusBetween(Integer value1, Integer value2) {
             addCriterion("`status` between", value1, value2, "status");
             return (Criteria) this;
         }
 
-        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
+        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
             addCriterion("`status` not between", value1, value2, "status");
             return (Criteria) this;
         }
@@ -749,7 +749,7 @@ public class SpiderTaskExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table spider_task
      *
-     * @mbg.generated do_not_delete_during_merge Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated do_not_delete_during_merge Tue Oct 14 10:08:57 CST 2025
      */
     public static class Criteria extends GeneratedCriteria {
 
@@ -762,7 +762,7 @@ public class SpiderTaskExample {
      * This class was generated by MyBatis Generator.
      * This class corresponds to the database table spider_task
      *
-     * @mbg.generated Mon Oct 13 16:39:53 CST 2025
+     * @mbg.generated Tue Oct 14 10:08:57 CST 2025
      */
     public static class Criterion {
         private String condition;

+ 46 - 46
core/src/main/resources/mapper/supply/spider/SpiderContentMapper.xml

@@ -5,7 +5,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     <id column="id" jdbcType="BIGINT" property="id" />
     <result column="task_id" jdbcType="BIGINT" property="taskId" />
@@ -13,10 +13,10 @@
     <result column="source_type" jdbcType="VARCHAR" property="sourceType" />
     <result column="url" jdbcType="VARCHAR" property="url" />
     <result column="title" jdbcType="VARCHAR" property="title" />
-    <result column="status" jdbcType="TINYINT" property="status" />
-    <result column="ai_rough_status" jdbcType="TINYINT" property="aiRoughStatus" />
+    <result column="status" jdbcType="INTEGER" property="status" />
+    <result column="ai_rough_status" jdbcType="INTEGER" property="aiRoughStatus" />
     <result column="ai_rough_result" jdbcType="VARCHAR" property="aiRoughResult" />
-    <result column="ai_precision_status" jdbcType="TINYINT" property="aiPrecisionStatus" />
+    <result column="ai_precision_status" jdbcType="INTEGER" property="aiPrecisionStatus" />
     <result column="ai_precision_result" jdbcType="VARCHAR" property="aiPrecisionResult" />
     <result column="create_time" jdbcType="BIGINT" property="createTime" />
     <result column="update_time" jdbcType="BIGINT" property="updateTime" />
@@ -25,7 +25,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     <result column="content" jdbcType="LONGVARCHAR" property="content" />
   </resultMap>
@@ -33,7 +33,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     <where>
       <foreach collection="oredCriteria" item="criteria" separator="or">
@@ -67,7 +67,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     <where>
       <foreach collection="example.oredCriteria" item="criteria" separator="or">
@@ -101,7 +101,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     id, task_id, `source`, source_type, url, title, `status`, ai_rough_status, ai_rough_result, 
     ai_precision_status, ai_precision_result, create_time, update_time
@@ -110,7 +110,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     content
   </sql>
@@ -118,7 +118,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     select
     <if test="distinct">
@@ -139,7 +139,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     select
     <if test="distinct">
@@ -158,7 +158,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     select 
     <include refid="Base_Column_List" />
@@ -171,7 +171,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     delete from spider_content
     where id = #{id,jdbcType=BIGINT}
@@ -180,7 +180,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     delete from spider_content
     <if test="_parameter != null">
@@ -191,7 +191,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     insert into spider_content (id, task_id, `source`, 
       source_type, url, title, 
@@ -200,15 +200,15 @@
       update_time, content)
     values (#{id,jdbcType=BIGINT}, #{taskId,jdbcType=BIGINT}, #{source,jdbcType=VARCHAR}, 
       #{sourceType,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, 
-      #{status,jdbcType=TINYINT}, #{aiRoughStatus,jdbcType=TINYINT}, #{aiRoughResult,jdbcType=VARCHAR}, 
-      #{aiPrecisionStatus,jdbcType=TINYINT}, #{aiPrecisionResult,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT}, 
+      #{status,jdbcType=INTEGER}, #{aiRoughStatus,jdbcType=INTEGER}, #{aiRoughResult,jdbcType=VARCHAR}, 
+      #{aiPrecisionStatus,jdbcType=INTEGER}, #{aiPrecisionResult,jdbcType=VARCHAR}, #{createTime,jdbcType=BIGINT}, 
       #{updateTime,jdbcType=BIGINT}, #{content,jdbcType=LONGVARCHAR})
   </insert>
   <insert id="insertSelective" parameterType="com.tzld.supply.model.po.supply.spider.SpiderContent">
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     insert into spider_content
     <trim prefix="(" suffix=")" suffixOverrides=",">
@@ -275,16 +275,16 @@
         #{title,jdbcType=VARCHAR},
       </if>
       <if test="status != null">
-        #{status,jdbcType=TINYINT},
+        #{status,jdbcType=INTEGER},
       </if>
       <if test="aiRoughStatus != null">
-        #{aiRoughStatus,jdbcType=TINYINT},
+        #{aiRoughStatus,jdbcType=INTEGER},
       </if>
       <if test="aiRoughResult != null">
         #{aiRoughResult,jdbcType=VARCHAR},
       </if>
       <if test="aiPrecisionStatus != null">
-        #{aiPrecisionStatus,jdbcType=TINYINT},
+        #{aiPrecisionStatus,jdbcType=INTEGER},
       </if>
       <if test="aiPrecisionResult != null">
         #{aiPrecisionResult,jdbcType=VARCHAR},
@@ -304,7 +304,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     select count(*) from spider_content
     <if test="_parameter != null">
@@ -315,7 +315,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     update spider_content
     <set>
@@ -338,16 +338,16 @@
         title = #{record.title,jdbcType=VARCHAR},
       </if>
       <if test="record.status != null">
-        `status` = #{record.status,jdbcType=TINYINT},
+        `status` = #{record.status,jdbcType=INTEGER},
       </if>
       <if test="record.aiRoughStatus != null">
-        ai_rough_status = #{record.aiRoughStatus,jdbcType=TINYINT},
+        ai_rough_status = #{record.aiRoughStatus,jdbcType=INTEGER},
       </if>
       <if test="record.aiRoughResult != null">
         ai_rough_result = #{record.aiRoughResult,jdbcType=VARCHAR},
       </if>
       <if test="record.aiPrecisionStatus != null">
-        ai_precision_status = #{record.aiPrecisionStatus,jdbcType=TINYINT},
+        ai_precision_status = #{record.aiPrecisionStatus,jdbcType=INTEGER},
       </if>
       <if test="record.aiPrecisionResult != null">
         ai_precision_result = #{record.aiPrecisionResult,jdbcType=VARCHAR},
@@ -370,7 +370,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     update spider_content
     set id = #{record.id,jdbcType=BIGINT},
@@ -379,10 +379,10 @@
       source_type = #{record.sourceType,jdbcType=VARCHAR},
       url = #{record.url,jdbcType=VARCHAR},
       title = #{record.title,jdbcType=VARCHAR},
-      `status` = #{record.status,jdbcType=TINYINT},
-      ai_rough_status = #{record.aiRoughStatus,jdbcType=TINYINT},
+      `status` = #{record.status,jdbcType=INTEGER},
+      ai_rough_status = #{record.aiRoughStatus,jdbcType=INTEGER},
       ai_rough_result = #{record.aiRoughResult,jdbcType=VARCHAR},
-      ai_precision_status = #{record.aiPrecisionStatus,jdbcType=TINYINT},
+      ai_precision_status = #{record.aiPrecisionStatus,jdbcType=INTEGER},
       ai_precision_result = #{record.aiPrecisionResult,jdbcType=VARCHAR},
       create_time = #{record.createTime,jdbcType=BIGINT},
       update_time = #{record.updateTime,jdbcType=BIGINT},
@@ -395,7 +395,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     update spider_content
     set id = #{record.id,jdbcType=BIGINT},
@@ -404,10 +404,10 @@
       source_type = #{record.sourceType,jdbcType=VARCHAR},
       url = #{record.url,jdbcType=VARCHAR},
       title = #{record.title,jdbcType=VARCHAR},
-      `status` = #{record.status,jdbcType=TINYINT},
-      ai_rough_status = #{record.aiRoughStatus,jdbcType=TINYINT},
+      `status` = #{record.status,jdbcType=INTEGER},
+      ai_rough_status = #{record.aiRoughStatus,jdbcType=INTEGER},
       ai_rough_result = #{record.aiRoughResult,jdbcType=VARCHAR},
-      ai_precision_status = #{record.aiPrecisionStatus,jdbcType=TINYINT},
+      ai_precision_status = #{record.aiPrecisionStatus,jdbcType=INTEGER},
       ai_precision_result = #{record.aiPrecisionResult,jdbcType=VARCHAR},
       create_time = #{record.createTime,jdbcType=BIGINT},
       update_time = #{record.updateTime,jdbcType=BIGINT}
@@ -419,7 +419,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     update spider_content
     <set>
@@ -439,16 +439,16 @@
         title = #{title,jdbcType=VARCHAR},
       </if>
       <if test="status != null">
-        `status` = #{status,jdbcType=TINYINT},
+        `status` = #{status,jdbcType=INTEGER},
       </if>
       <if test="aiRoughStatus != null">
-        ai_rough_status = #{aiRoughStatus,jdbcType=TINYINT},
+        ai_rough_status = #{aiRoughStatus,jdbcType=INTEGER},
       </if>
       <if test="aiRoughResult != null">
         ai_rough_result = #{aiRoughResult,jdbcType=VARCHAR},
       </if>
       <if test="aiPrecisionStatus != null">
-        ai_precision_status = #{aiPrecisionStatus,jdbcType=TINYINT},
+        ai_precision_status = #{aiPrecisionStatus,jdbcType=INTEGER},
       </if>
       <if test="aiPrecisionResult != null">
         ai_precision_result = #{aiPrecisionResult,jdbcType=VARCHAR},
@@ -469,7 +469,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     update spider_content
     set task_id = #{taskId,jdbcType=BIGINT},
@@ -477,10 +477,10 @@
       source_type = #{sourceType,jdbcType=VARCHAR},
       url = #{url,jdbcType=VARCHAR},
       title = #{title,jdbcType=VARCHAR},
-      `status` = #{status,jdbcType=TINYINT},
-      ai_rough_status = #{aiRoughStatus,jdbcType=TINYINT},
+      `status` = #{status,jdbcType=INTEGER},
+      ai_rough_status = #{aiRoughStatus,jdbcType=INTEGER},
       ai_rough_result = #{aiRoughResult,jdbcType=VARCHAR},
-      ai_precision_status = #{aiPrecisionStatus,jdbcType=TINYINT},
+      ai_precision_status = #{aiPrecisionStatus,jdbcType=INTEGER},
       ai_precision_result = #{aiPrecisionResult,jdbcType=VARCHAR},
       create_time = #{createTime,jdbcType=BIGINT},
       update_time = #{updateTime,jdbcType=BIGINT},
@@ -491,7 +491,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 19:39:09 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     update spider_content
     set task_id = #{taskId,jdbcType=BIGINT},
@@ -499,10 +499,10 @@
       source_type = #{sourceType,jdbcType=VARCHAR},
       url = #{url,jdbcType=VARCHAR},
       title = #{title,jdbcType=VARCHAR},
-      `status` = #{status,jdbcType=TINYINT},
-      ai_rough_status = #{aiRoughStatus,jdbcType=TINYINT},
+      `status` = #{status,jdbcType=INTEGER},
+      ai_rough_status = #{aiRoughStatus,jdbcType=INTEGER},
       ai_rough_result = #{aiRoughResult,jdbcType=VARCHAR},
-      ai_precision_status = #{aiPrecisionStatus,jdbcType=TINYINT},
+      ai_precision_status = #{aiPrecisionStatus,jdbcType=INTEGER},
       ai_precision_result = #{aiPrecisionResult,jdbcType=VARCHAR},
       create_time = #{createTime,jdbcType=BIGINT},
       update_time = #{updateTime,jdbcType=BIGINT}

+ 22 - 22
core/src/main/resources/mapper/supply/spider/SpiderTaskMapper.xml

@@ -5,11 +5,11 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     <id column="id" jdbcType="BIGINT" property="id" />
     <result column="source_web" jdbcType="VARCHAR" property="sourceWeb" />
-    <result column="status" jdbcType="TINYINT" property="status" />
+    <result column="status" jdbcType="INTEGER" property="status" />
     <result column="start_time" jdbcType="BIGINT" property="startTime" />
     <result column="end_time" jdbcType="BIGINT" property="endTime" />
     <result column="duration_ms" jdbcType="BIGINT" property="durationMs" />
@@ -21,7 +21,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     <where>
       <foreach collection="oredCriteria" item="criteria" separator="or">
@@ -55,7 +55,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     <where>
       <foreach collection="example.oredCriteria" item="criteria" separator="or">
@@ -89,7 +89,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     id, source_web, `status`, start_time, end_time, duration_ms, fetched_count, create_time, 
     update_time
@@ -98,7 +98,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     select
     <if test="distinct">
@@ -117,7 +117,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     select 
     <include refid="Base_Column_List" />
@@ -128,7 +128,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     delete from spider_task
     where id = #{id,jdbcType=BIGINT}
@@ -137,7 +137,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     delete from spider_task
     <if test="_parameter != null">
@@ -149,13 +149,13 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     insert into spider_task (id, source_web, `status`, 
       start_time, end_time, duration_ms, 
       fetched_count, create_time, update_time
       )
-    values (#{id,jdbcType=BIGINT}, #{sourceWeb,jdbcType=VARCHAR}, #{status,jdbcType=TINYINT}, 
+    values (#{id,jdbcType=BIGINT}, #{sourceWeb,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, 
       #{startTime,jdbcType=BIGINT}, #{endTime,jdbcType=BIGINT}, #{durationMs,jdbcType=BIGINT}, 
       #{fetchedCount,jdbcType=INTEGER}, #{createTime,jdbcType=BIGINT}, #{updateTime,jdbcType=BIGINT}
       )
@@ -165,7 +165,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     insert into spider_task
     <trim prefix="(" suffix=")" suffixOverrides=",">
@@ -205,7 +205,7 @@
         #{sourceWeb,jdbcType=VARCHAR},
       </if>
       <if test="status != null">
-        #{status,jdbcType=TINYINT},
+        #{status,jdbcType=INTEGER},
       </if>
       <if test="startTime != null">
         #{startTime,jdbcType=BIGINT},
@@ -231,7 +231,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     select count(*) from spider_task
     <if test="_parameter != null">
@@ -242,7 +242,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     update spider_task
     <set>
@@ -253,7 +253,7 @@
         source_web = #{record.sourceWeb,jdbcType=VARCHAR},
       </if>
       <if test="record.status != null">
-        `status` = #{record.status,jdbcType=TINYINT},
+        `status` = #{record.status,jdbcType=INTEGER},
       </if>
       <if test="record.startTime != null">
         start_time = #{record.startTime,jdbcType=BIGINT},
@@ -282,12 +282,12 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     update spider_task
     set id = #{record.id,jdbcType=BIGINT},
       source_web = #{record.sourceWeb,jdbcType=VARCHAR},
-      `status` = #{record.status,jdbcType=TINYINT},
+      `status` = #{record.status,jdbcType=INTEGER},
       start_time = #{record.startTime,jdbcType=BIGINT},
       end_time = #{record.endTime,jdbcType=BIGINT},
       duration_ms = #{record.durationMs,jdbcType=BIGINT},
@@ -302,7 +302,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     update spider_task
     <set>
@@ -310,7 +310,7 @@
         source_web = #{sourceWeb,jdbcType=VARCHAR},
       </if>
       <if test="status != null">
-        `status` = #{status,jdbcType=TINYINT},
+        `status` = #{status,jdbcType=INTEGER},
       </if>
       <if test="startTime != null">
         start_time = #{startTime,jdbcType=BIGINT},
@@ -337,11 +337,11 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Mon Oct 13 16:39:53 CST 2025.
+      This element was generated on Tue Oct 14 10:08:57 CST 2025.
     -->
     update spider_task
     set source_web = #{sourceWeb,jdbcType=VARCHAR},
-      `status` = #{status,jdbcType=TINYINT},
+      `status` = #{status,jdbcType=INTEGER},
       start_time = #{startTime,jdbcType=BIGINT},
       end_time = #{endTime,jdbcType=BIGINT},
       duration_ms = #{durationMs,jdbcType=BIGINT},