supeng 2 дней назад
Родитель
Сommit
875dcb02b1
20 измененных файлов с 7 добавлено и 1517 удалено
  1. 1 0
      .gitignore
  2. 0 9
      content-supply.iml
  3. 2 2
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/aop/RequestLogAspect.java
  4. 0 96
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/dao/mapper/CuVideoUnderstandingResultMapper.java
  5. 2 2
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/handle/GlobalExceptionHandle.java
  6. 0 23
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/dto/ContentUnderstandDTO.java
  7. 0 15
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/dto/ContentUnderstandingResultDTO.java
  8. 0 13
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/dto/VideoResultDTO.java
  9. 0 23
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/param/ContentUnderstandParam.java
  10. 0 17
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/param/GetVideoUnderstandingResultParam.java
  11. 0 242
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/po/CuVideoUnderstandingResult.java
  12. 0 673
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/po/CuVideoUnderstandingResultExample.java
  13. 0 14
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/vo/ContentUnderstandingResultVO.java
  14. 0 11
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/service/ContentService.java
  15. 0 57
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/service/impl/ContentServiceImpl.java
  16. 2 2
      content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/service/impl/PipelineServiceImpl.java
  17. 0 303
      content-understanding-core/src/main/resources/mapper/CuVideoUnderstandingResultMapper.xml
  18. 0 1
      content-understanding-core/src/main/resources/mybatis-generator-config.xml
  19. 0 7
      content-understanding-server/src/main/java/com/tzld/piaoquan/content/understanding/controller/ContentController.java
  20. 0 7
      content-understanding-server/src/main/java/com/tzld/piaoquan/content/understanding/controller/ContentUnderstandingController.java

+ 1 - 0
.gitignore

@@ -13,4 +13,5 @@
 hs_err_pid*
 .idea/*
 */target
+.DS_Store
 

+ 0 - 9
content-supply.iml

@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module version="4">
-  <component name="AdditionalModuleElements">
-    <content url="file://$MODULE_DIR$" dumb="true">
-      <excludeFolder url="file://$MODULE_DIR$/.idea/codeStyles" />
-      <excludeFolder url="file://$MODULE_DIR$/.idea/inspectionProfiles" />
-    </content>
-  </component>
-</module>

+ 2 - 2
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/aop/RequestLogAspect.java

@@ -26,9 +26,9 @@ public class RequestLogAspect {
     @Autowired
     private LoghubService loghubService;
 
-    @Value("aliyun.log.project")
+    @Value("${aliyun.log.project}")
     private String aliyunLogProject;
-    @Value("aliyun.log.logstore.request")
+    @Value("${aliyun.log.logstore.request}")
     private String aliyunLogLogstoreRequest;
 
     @Pointcut("execution(* com.tzld.piaoquan.content.understanding..*Controller.*(..)) && !within(com.tzld.piaoquan.content.understanding.controller.IndexController)")

+ 0 - 96
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/dao/mapper/CuVideoUnderstandingResultMapper.java

@@ -1,96 +0,0 @@
-package com.tzld.piaoquan.content.understanding.dao.mapper;
-
-import com.tzld.piaoquan.content.understanding.model.po.CuVideoUnderstandingResult;
-import com.tzld.piaoquan.content.understanding.model.po.CuVideoUnderstandingResultExample;
-import java.util.List;
-import org.apache.ibatis.annotations.Param;
-
-public interface CuVideoUnderstandingResultMapper {
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    long countByExample(CuVideoUnderstandingResultExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    int deleteByExample(CuVideoUnderstandingResultExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    int deleteByPrimaryKey(Long id);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    int insert(CuVideoUnderstandingResult record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    int insertSelective(CuVideoUnderstandingResult record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    List<CuVideoUnderstandingResult> selectByExample(CuVideoUnderstandingResultExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    CuVideoUnderstandingResult selectByPrimaryKey(Long id);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    int updateByExampleSelective(@Param("record") CuVideoUnderstandingResult record, @Param("example") CuVideoUnderstandingResultExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    int updateByExample(@Param("record") CuVideoUnderstandingResult record, @Param("example") CuVideoUnderstandingResultExample example);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    int updateByPrimaryKeySelective(CuVideoUnderstandingResult record);
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    int updateByPrimaryKey(CuVideoUnderstandingResult record);
-}

+ 2 - 2
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/handle/GlobalExceptionHandle.java

@@ -37,9 +37,9 @@ public class GlobalExceptionHandle {
     @Autowired
     private LoghubService loghubService;
 
-    @Value("aliyun.log.project")
+    @Value("${aliyun.log.project}")
     private String aliyunLogProject;
-    @Value("aliyun.log.logstore.error")
+    @Value("${aliyun.log.logstore.error}")
     private String aliyunLogLogstoreError;
 
     @ExceptionHandler

+ 0 - 23
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/dto/ContentUnderstandDTO.java

@@ -1,23 +0,0 @@
-package com.tzld.piaoquan.content.understanding.model.dto;
-
-import lombok.Data;
-
-/**
- * 内容信息
- *
- * @author supeng
- */
-@Data
-public class ContentUnderstandDTO {
-    private Long videoId;
-    private String title;
-    private String introduction;
-    private String coverUrl;
-    private String videoUrl;
-    private String audioUrl;
-    private String srt;
-    private String vtt;
-
-    private Long pipelineId;
-    private Integer contentType;
-}

+ 0 - 15
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/dto/ContentUnderstandingResultDTO.java

@@ -1,15 +0,0 @@
-package com.tzld.piaoquan.content.understanding.model.dto;
-
-import lombok.Data;
-
-/**
- * 内容理解信息结果
- *
- * @author supeng
- */
-@Data
-public class ContentUnderstandingResultDTO {
-    private Long videoId;
-    private Long pipelineId;
-    private String result;
-}

+ 0 - 13
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/dto/VideoResultDTO.java

@@ -1,13 +0,0 @@
-package com.tzld.piaoquan.content.understanding.model.dto;
-
-import lombok.Data;
-
-import java.util.List;
-
-/**
- * @author supeng
- */
-@Data
-public class VideoResultDTO {
-    private List<ContentUnderstandingResultDTO> results;
-}

+ 0 - 23
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/param/ContentUnderstandParam.java

@@ -1,23 +0,0 @@
-package com.tzld.piaoquan.content.understanding.model.param;
-
-import com.tzld.piaoquan.content.understanding.model.dto.ContentInfoDTO;
-import lombok.Data;
-
-import java.util.List;
-
-/**
- * @author supeng
- */
-@Data
-public class ContentUnderstandParam {
-    /**
-     * 内容理解维度
-     *
-     * @see com.tzld.piaoquan.content.understanding.common.enums.ContentTypeEnum
-     */
-    private List<Integer> contentTypes;
-    /**
-     * 内容信息
-     */
-    private ContentInfoDTO contentInfo;
-}

+ 0 - 17
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/param/GetVideoUnderstandingResultParam.java

@@ -1,17 +0,0 @@
-package com.tzld.piaoquan.content.understanding.model.param;
-
-import com.tzld.piaoquan.content.understanding.model.dto.ContentDTO;
-import lombok.Data;
-
-import java.util.List;
-
-/**
- * @author supeng
- */
-@Data
-public class GetVideoUnderstandingResultParam {
-    /**
-     * 
-     */
-    private List<ContentDTO> contents;
-}

+ 0 - 242
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/po/CuVideoUnderstandingResult.java

@@ -1,242 +0,0 @@
-package com.tzld.piaoquan.content.understanding.model.po;
-
-import java.util.Date;
-
-/**
- *
- * This class was generated by MyBatis Generator.
- * This class corresponds to the database table cu_video_understanding_result
- */
-public class CuVideoUnderstandingResult {
-    /**
-     * Database Column Remarks:
-     *   ID
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column cu_video_understanding_result.id
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    private Long id;
-
-    /**
-     * Database Column Remarks:
-     *   视频ID
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column cu_video_understanding_result.video_id
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    private Long videoId;
-
-    /**
-     * Database Column Remarks:
-     *   pipeline ID
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column cu_video_understanding_result.pipeline_id
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    private Long pipelineId;
-
-    /**
-     * Database Column Remarks:
-     *   内容理解结果
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column cu_video_understanding_result.result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    private String result;
-
-    /**
-     * Database Column Remarks:
-     *   创建时间
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column cu_video_understanding_result.create_time
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    private Date createTime;
-
-    /**
-     * Database Column Remarks:
-     *   更新时间
-     *
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database column cu_video_understanding_result.update_time
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    private Date updateTime;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column cu_video_understanding_result.id
-     *
-     * @return the value of cu_video_understanding_result.id
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public Long getId() {
-        return id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column cu_video_understanding_result.id
-     *
-     * @param id the value for cu_video_understanding_result.id
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public void setId(Long id) {
-        this.id = id;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column cu_video_understanding_result.video_id
-     *
-     * @return the value of cu_video_understanding_result.video_id
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public Long getVideoId() {
-        return videoId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column cu_video_understanding_result.video_id
-     *
-     * @param videoId the value for cu_video_understanding_result.video_id
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public void setVideoId(Long videoId) {
-        this.videoId = videoId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column cu_video_understanding_result.pipeline_id
-     *
-     * @return the value of cu_video_understanding_result.pipeline_id
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public Long getPipelineId() {
-        return pipelineId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column cu_video_understanding_result.pipeline_id
-     *
-     * @param pipelineId the value for cu_video_understanding_result.pipeline_id
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public void setPipelineId(Long pipelineId) {
-        this.pipelineId = pipelineId;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column cu_video_understanding_result.result
-     *
-     * @return the value of cu_video_understanding_result.result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public String getResult() {
-        return result;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column cu_video_understanding_result.result
-     *
-     * @param result the value for cu_video_understanding_result.result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public void setResult(String result) {
-        this.result = result;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column cu_video_understanding_result.create_time
-     *
-     * @return the value of cu_video_understanding_result.create_time
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public Date getCreateTime() {
-        return createTime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column cu_video_understanding_result.create_time
-     *
-     * @param createTime the value for cu_video_understanding_result.create_time
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public void setCreateTime(Date createTime) {
-        this.createTime = createTime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method returns the value of the database column cu_video_understanding_result.update_time
-     *
-     * @return the value of cu_video_understanding_result.update_time
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public Date getUpdateTime() {
-        return updateTime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method sets the value of the database column cu_video_understanding_result.update_time
-     *
-     * @param updateTime the value for cu_video_understanding_result.update_time
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public void setUpdateTime(Date updateTime) {
-        this.updateTime = updateTime;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    @Override
-    public String toString() {
-        StringBuilder sb = new StringBuilder();
-        sb.append(getClass().getSimpleName());
-        sb.append(" [");
-        sb.append("Hash = ").append(hashCode());
-        sb.append(", id=").append(id);
-        sb.append(", videoId=").append(videoId);
-        sb.append(", pipelineId=").append(pipelineId);
-        sb.append(", result=").append(result);
-        sb.append(", createTime=").append(createTime);
-        sb.append(", updateTime=").append(updateTime);
-        sb.append("]");
-        return sb.toString();
-    }
-}

+ 0 - 673
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/po/CuVideoUnderstandingResultExample.java

@@ -1,673 +0,0 @@
-package com.tzld.piaoquan.content.understanding.model.po;
-
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.List;
-
-public class CuVideoUnderstandingResultExample {
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    protected String orderByClause;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    protected boolean distinct;
-
-    /**
-     * This field was generated by MyBatis Generator.
-     * This field corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    protected List<Criteria> oredCriteria;
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public CuVideoUnderstandingResultExample() {
-        oredCriteria = new ArrayList<Criteria>();
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public void setOrderByClause(String orderByClause) {
-        this.orderByClause = orderByClause;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public String getOrderByClause() {
-        return orderByClause;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public void setDistinct(boolean distinct) {
-        this.distinct = distinct;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public boolean isDistinct() {
-        return distinct;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public List<Criteria> getOredCriteria() {
-        return oredCriteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public void or(Criteria criteria) {
-        oredCriteria.add(criteria);
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public Criteria or() {
-        Criteria criteria = createCriteriaInternal();
-        oredCriteria.add(criteria);
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public Criteria createCriteria() {
-        Criteria criteria = createCriteriaInternal();
-        if (oredCriteria.size() == 0) {
-            oredCriteria.add(criteria);
-        }
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    protected Criteria createCriteriaInternal() {
-        Criteria criteria = new Criteria();
-        return criteria;
-    }
-
-    /**
-     * This method was generated by MyBatis Generator.
-     * This method corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public void clear() {
-        oredCriteria.clear();
-        orderByClause = null;
-        distinct = false;
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    protected abstract static class GeneratedCriteria {
-        protected List<Criterion> criteria;
-
-        protected GeneratedCriteria() {
-            super();
-            criteria = new ArrayList<Criterion>();
-        }
-
-        public boolean isValid() {
-            return criteria.size() > 0;
-        }
-
-        public List<Criterion> getAllCriteria() {
-            return criteria;
-        }
-
-        public List<Criterion> getCriteria() {
-            return criteria;
-        }
-
-        protected void addCriterion(String condition) {
-            if (condition == null) {
-                throw new RuntimeException("Value for condition cannot be null");
-            }
-            criteria.add(new Criterion(condition));
-        }
-
-        protected void addCriterion(String condition, Object value, String property) {
-            if (value == null) {
-                throw new RuntimeException("Value for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value));
-        }
-
-        protected void addCriterion(String condition, Object value1, Object value2, String property) {
-            if (value1 == null || value2 == null) {
-                throw new RuntimeException("Between values for " + property + " cannot be null");
-            }
-            criteria.add(new Criterion(condition, value1, value2));
-        }
-
-        public Criteria andIdIsNull() {
-            addCriterion("id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdIsNotNull() {
-            addCriterion("id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdEqualTo(Long value) {
-            addCriterion("id =", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotEqualTo(Long value) {
-            addCriterion("id <>", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdGreaterThan(Long value) {
-            addCriterion("id >", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdGreaterThanOrEqualTo(Long value) {
-            addCriterion("id >=", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdLessThan(Long value) {
-            addCriterion("id <", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdLessThanOrEqualTo(Long value) {
-            addCriterion("id <=", value, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdIn(List<Long> values) {
-            addCriterion("id in", values, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotIn(List<Long> values) {
-            addCriterion("id not in", values, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdBetween(Long value1, Long value2) {
-            addCriterion("id between", value1, value2, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andIdNotBetween(Long value1, Long value2) {
-            addCriterion("id not between", value1, value2, "id");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdIsNull() {
-            addCriterion("video_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdIsNotNull() {
-            addCriterion("video_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdEqualTo(Long value) {
-            addCriterion("video_id =", value, "videoId");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdNotEqualTo(Long value) {
-            addCriterion("video_id <>", value, "videoId");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdGreaterThan(Long value) {
-            addCriterion("video_id >", value, "videoId");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdGreaterThanOrEqualTo(Long value) {
-            addCriterion("video_id >=", value, "videoId");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdLessThan(Long value) {
-            addCriterion("video_id <", value, "videoId");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdLessThanOrEqualTo(Long value) {
-            addCriterion("video_id <=", value, "videoId");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdIn(List<Long> values) {
-            addCriterion("video_id in", values, "videoId");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdNotIn(List<Long> values) {
-            addCriterion("video_id not in", values, "videoId");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdBetween(Long value1, Long value2) {
-            addCriterion("video_id between", value1, value2, "videoId");
-            return (Criteria) this;
-        }
-
-        public Criteria andVideoIdNotBetween(Long value1, Long value2) {
-            addCriterion("video_id not between", value1, value2, "videoId");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdIsNull() {
-            addCriterion("pipeline_id is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdIsNotNull() {
-            addCriterion("pipeline_id is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdEqualTo(Long value) {
-            addCriterion("pipeline_id =", value, "pipelineId");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdNotEqualTo(Long value) {
-            addCriterion("pipeline_id <>", value, "pipelineId");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdGreaterThan(Long value) {
-            addCriterion("pipeline_id >", value, "pipelineId");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdGreaterThanOrEqualTo(Long value) {
-            addCriterion("pipeline_id >=", value, "pipelineId");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdLessThan(Long value) {
-            addCriterion("pipeline_id <", value, "pipelineId");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdLessThanOrEqualTo(Long value) {
-            addCriterion("pipeline_id <=", value, "pipelineId");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdIn(List<Long> values) {
-            addCriterion("pipeline_id in", values, "pipelineId");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdNotIn(List<Long> values) {
-            addCriterion("pipeline_id not in", values, "pipelineId");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdBetween(Long value1, Long value2) {
-            addCriterion("pipeline_id between", value1, value2, "pipelineId");
-            return (Criteria) this;
-        }
-
-        public Criteria andPipelineIdNotBetween(Long value1, Long value2) {
-            addCriterion("pipeline_id not between", value1, value2, "pipelineId");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultIsNull() {
-            addCriterion("`result` is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultIsNotNull() {
-            addCriterion("`result` is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultEqualTo(String value) {
-            addCriterion("`result` =", value, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultNotEqualTo(String value) {
-            addCriterion("`result` <>", value, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultGreaterThan(String value) {
-            addCriterion("`result` >", value, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultGreaterThanOrEqualTo(String value) {
-            addCriterion("`result` >=", value, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultLessThan(String value) {
-            addCriterion("`result` <", value, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultLessThanOrEqualTo(String value) {
-            addCriterion("`result` <=", value, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultLike(String value) {
-            addCriterion("`result` like", value, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultNotLike(String value) {
-            addCriterion("`result` not like", value, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultIn(List<String> values) {
-            addCriterion("`result` in", values, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultNotIn(List<String> values) {
-            addCriterion("`result` not in", values, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultBetween(String value1, String value2) {
-            addCriterion("`result` between", value1, value2, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andResultNotBetween(String value1, String value2) {
-            addCriterion("`result` not between", value1, value2, "result");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeIsNull() {
-            addCriterion("create_time is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeIsNotNull() {
-            addCriterion("create_time is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeEqualTo(Date value) {
-            addCriterion("create_time =", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeNotEqualTo(Date value) {
-            addCriterion("create_time <>", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeGreaterThan(Date value) {
-            addCriterion("create_time >", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
-            addCriterion("create_time >=", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeLessThan(Date value) {
-            addCriterion("create_time <", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
-            addCriterion("create_time <=", value, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeIn(List<Date> values) {
-            addCriterion("create_time in", values, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeNotIn(List<Date> values) {
-            addCriterion("create_time not in", values, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeBetween(Date value1, Date value2) {
-            addCriterion("create_time between", value1, value2, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
-            addCriterion("create_time not between", value1, value2, "createTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeIsNull() {
-            addCriterion("update_time is null");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeIsNotNull() {
-            addCriterion("update_time is not null");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeEqualTo(Date value) {
-            addCriterion("update_time =", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeNotEqualTo(Date value) {
-            addCriterion("update_time <>", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeGreaterThan(Date value) {
-            addCriterion("update_time >", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
-            addCriterion("update_time >=", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeLessThan(Date value) {
-            addCriterion("update_time <", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
-            addCriterion("update_time <=", value, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeIn(List<Date> values) {
-            addCriterion("update_time in", values, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeNotIn(List<Date> values) {
-            addCriterion("update_time not in", values, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
-            addCriterion("update_time between", value1, value2, "updateTime");
-            return (Criteria) this;
-        }
-
-        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
-            addCriterion("update_time not between", value1, value2, "updateTime");
-            return (Criteria) this;
-        }
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated do_not_delete_during_merge Fri Apr 11 14:07:17 CST 2025
-     */
-    public static class Criteria extends GeneratedCriteria {
-
-        protected Criteria() {
-            super();
-        }
-    }
-
-    /**
-     * This class was generated by MyBatis Generator.
-     * This class corresponds to the database table cu_video_understanding_result
-     *
-     * @mbg.generated Fri Apr 11 14:07:17 CST 2025
-     */
-    public static class Criterion {
-        private String condition;
-
-        private Object value;
-
-        private Object secondValue;
-
-        private boolean noValue;
-
-        private boolean singleValue;
-
-        private boolean betweenValue;
-
-        private boolean listValue;
-
-        private String typeHandler;
-
-        public String getCondition() {
-            return condition;
-        }
-
-        public Object getValue() {
-            return value;
-        }
-
-        public Object getSecondValue() {
-            return secondValue;
-        }
-
-        public boolean isNoValue() {
-            return noValue;
-        }
-
-        public boolean isSingleValue() {
-            return singleValue;
-        }
-
-        public boolean isBetweenValue() {
-            return betweenValue;
-        }
-
-        public boolean isListValue() {
-            return listValue;
-        }
-
-        public String getTypeHandler() {
-            return typeHandler;
-        }
-
-        protected Criterion(String condition) {
-            super();
-            this.condition = condition;
-            this.typeHandler = null;
-            this.noValue = true;
-        }
-
-        protected Criterion(String condition, Object value, String typeHandler) {
-            super();
-            this.condition = condition;
-            this.value = value;
-            this.typeHandler = typeHandler;
-            if (value instanceof List<?>) {
-                this.listValue = true;
-            } else {
-                this.singleValue = true;
-            }
-        }
-
-        protected Criterion(String condition, Object value) {
-            this(condition, value, null);
-        }
-
-        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
-            super();
-            this.condition = condition;
-            this.value = value;
-            this.secondValue = secondValue;
-            this.typeHandler = typeHandler;
-            this.betweenValue = true;
-        }
-
-        protected Criterion(String condition, Object value, Object secondValue) {
-            this(condition, value, secondValue, null);
-        }
-    }
-}

+ 0 - 14
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/model/vo/ContentUnderstandingResultVO.java

@@ -1,14 +0,0 @@
-package com.tzld.piaoquan.content.understanding.model.vo;
-
-import com.tzld.piaoquan.content.understanding.model.dto.ContentUnderstandingResultDTO;
-import lombok.Data;
-
-import java.util.List;
-
-/**
- * @author supeng
- */
-@Data
-public class ContentUnderstandingResultVO {
-    private List<ContentUnderstandingResultDTO> results;
-}

+ 0 - 11
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/service/ContentService.java

@@ -1,7 +1,6 @@
 package com.tzld.piaoquan.content.understanding.service;
 
 import com.tzld.piaoquan.content.understanding.model.param.*;
-import com.tzld.piaoquan.content.understanding.model.vo.ContentUnderstandingResultVO;
 import com.tzld.piaoquan.content.understanding.model.vo.TaskResultVO;
 
 /**
@@ -16,8 +15,6 @@ public interface ContentService {
      */
     void analyse(ContentAnalyseParam param);
 
-    void understand(ContentUnderstandParam param);
-
     /**
      * 提交任务
      *
@@ -34,14 +31,6 @@ public interface ContentService {
      */
     TaskResultVO queryTasks(QueryTasksParam param);
 
-    /**
-     * 获取视频信息
-     *
-     * @param param
-     * @return
-     */
-    ContentUnderstandingResultVO getVideoUnderstandingResult(GetVideoUnderstandingResultParam param);
-
     /**
      * 新推荐
      */

+ 0 - 57
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/service/impl/ContentServiceImpl.java

@@ -13,11 +13,9 @@ import com.tzld.piaoquan.content.understanding.common.enums.ExceptionEnum;
 import com.tzld.piaoquan.content.understanding.common.exception.CommonException;
 import com.tzld.piaoquan.content.understanding.dao.mapper.*;
 import com.tzld.piaoquan.content.understanding.model.dto.ContentDTO;
-import com.tzld.piaoquan.content.understanding.model.dto.ContentUnderstandingResultDTO;
 import com.tzld.piaoquan.content.understanding.model.dto.TaskResultDTO;
 import com.tzld.piaoquan.content.understanding.model.param.*;
 import com.tzld.piaoquan.content.understanding.model.po.*;
-import com.tzld.piaoquan.content.understanding.model.vo.ContentUnderstandingResultVO;
 import com.tzld.piaoquan.content.understanding.model.vo.TaskResultVO;
 import com.tzld.piaoquan.content.understanding.rocketmq.producer.OldVersionRemainVideoUnderstandingProducer;
 import com.tzld.piaoquan.content.understanding.service.ContentService;
@@ -35,7 +33,6 @@ import org.springframework.beans.factory.annotation.Value;
 import org.springframework.stereotype.Service;
 
 import java.time.Duration;
-import java.time.LocalDate;
 import java.time.LocalDateTime;
 import java.util.*;
 import java.util.concurrent.TimeUnit;
@@ -62,8 +59,6 @@ public class ContentServiceImpl implements ContentService {
     private CuPipelineMapper cuPipelineMapper;
     @Autowired
     private CuTaskMapper cuTaskMapper;
-    @Autowired
-    private CuVideoUnderstandingResultMapper cuVideoUnderstandingResultMapper;
 
     private static final Integer MAX_SIZE = 20;
 
@@ -112,29 +107,6 @@ public class ContentServiceImpl implements ContentService {
         pipelineService.execute(param);
     }
 
-    @Override
-    public void understand(ContentUnderstandParam param) {
-//        if (Objects.isNull(param) || Objects.isNull(param.getContentTypes()) || param.getContentTypes().isEmpty()
-//                || Objects.isNull(param.getContentInfo())) {
-//            throw new CommonException(ExceptionEnum.PARAMS_INVALID);
-//        }
-//        //生成jobId
-//        String jobId = UUID.randomUUID().toString().replace("-", "") + System.currentTimeMillis();
-//        for (Integer contentType : param.getContentTypes()) {
-//            Long pipelineId = configMap.get(contentType.toString());
-//            if (Objects.isNull(pipelineId)) {
-//                //TODO 日志上报 && 记录状态
-//                log.info("jobId = {}", jobId);
-//                continue;
-//            }
-//            ContentUnderstandDTO dto = new ContentUnderstandDTO();
-//            BeanUtils.copyProperties(param.getContentInfo(), dto);
-//            dto.setPipelineId(pipelineId);
-//            dto.setContentType(contentType);
-//            pipelineService.execute(dto);
-//        }
-    }
-
     @Override
     public TaskResultVO submitTasks(SubmitTasksParam param) {
         //参数校验
@@ -198,35 +170,6 @@ public class ContentServiceImpl implements ContentService {
         return taskResultVO;
     }
 
-    @Override
-    public ContentUnderstandingResultVO getVideoUnderstandingResult(GetVideoUnderstandingResultParam param) {
-        if (Objects.isNull(param) || Objects.isNull(param.getContents()) || param.getContents().isEmpty()) {
-            throw new CommonException(ExceptionEnum.PARAMS_INVALID, "参数不能为空");
-        }
-        if (param.getContents().size() > MAX_SIZE) {
-            throw new CommonException(ExceptionEnum.PARAMS_INVALID, "查询结果数不能超过" + MAX_SIZE + "条");
-        }
-        ContentUnderstandingResultVO contentUnderstandingResultVO = new ContentUnderstandingResultVO();
-        List<ContentUnderstandingResultDTO> contentUnderstandingResultDTOS = new ArrayList<>();
-        for (ContentDTO contentDTO : param.getContents()) {
-            if (Objects.isNull(contentDTO) || Objects.isNull(contentDTO.getPipelineId())
-                    || Objects.isNull(contentDTO.getContent()) || Objects.isNull(contentDTO.getVideoId())) {
-                continue;
-            }
-            CuVideoUnderstandingResultExample example = new CuVideoUnderstandingResultExample();
-            example.createCriteria().andVideoIdEqualTo(contentDTO.getVideoId()).andPipelineIdEqualTo(contentDTO.getPipelineId());
-            List<CuVideoUnderstandingResult> list = cuVideoUnderstandingResultMapper.selectByExample(example);
-            if (Objects.isNull(list) || list.isEmpty()) {
-                continue;
-            }
-            ContentUnderstandingResultDTO contentUnderstandingResultDTO = new ContentUnderstandingResultDTO();
-            BeanUtils.copyProperties(contentDTO, contentUnderstandingResultDTO);
-            contentUnderstandingResultDTOS.add(contentUnderstandingResultDTO);
-        }
-        contentUnderstandingResultVO.setResults(contentUnderstandingResultDTOS);
-        return contentUnderstandingResultVO;
-    }
-
     @Override
     public void newRecommendVideoUnderstandingHandler() {
         Stopwatch stopwatch = Stopwatch.createStarted();

+ 2 - 2
content-understanding-core/src/main/java/com/tzld/piaoquan/content/understanding/service/impl/PipelineServiceImpl.java

@@ -61,9 +61,9 @@ public class PipelineServiceImpl implements PipelineService {
     @Autowired
     private LoghubService loghubService;
 
-    @Value("aliyun.log.project")
+    @Value("${aliyun.log.project}")
     private String aliyunLogProject;
-    @Value("aliyun.log.logstore.result")
+    @Value("${aliyun.log.logstore.result}")
     private String aliyunLogStoreResult;
 
     /**

+ 0 - 303
content-understanding-core/src/main/resources/mapper/CuVideoUnderstandingResultMapper.xml

@@ -1,303 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="com.tzld.piaoquan.content.understanding.dao.mapper.CuVideoUnderstandingResultMapper">
-  <resultMap id="BaseResultMap" type="com.tzld.piaoquan.content.understanding.model.po.CuVideoUnderstandingResult">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    <id column="id" jdbcType="BIGINT" property="id" />
-    <result column="video_id" jdbcType="BIGINT" property="videoId" />
-    <result column="pipeline_id" jdbcType="BIGINT" property="pipelineId" />
-    <result column="result" jdbcType="VARCHAR" property="result" />
-    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
-  </resultMap>
-  <sql id="Example_Where_Clause">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    <where>
-      <foreach collection="oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Update_By_Example_Where_Clause">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    <where>
-      <foreach collection="example.oredCriteria" item="criteria" separator="or">
-        <if test="criteria.valid">
-          <trim prefix="(" prefixOverrides="and" suffix=")">
-            <foreach collection="criteria.criteria" item="criterion">
-              <choose>
-                <when test="criterion.noValue">
-                  and ${criterion.condition}
-                </when>
-                <when test="criterion.singleValue">
-                  and ${criterion.condition} #{criterion.value}
-                </when>
-                <when test="criterion.betweenValue">
-                  and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
-                </when>
-                <when test="criterion.listValue">
-                  and ${criterion.condition}
-                  <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
-                    #{listItem}
-                  </foreach>
-                </when>
-              </choose>
-            </foreach>
-          </trim>
-        </if>
-      </foreach>
-    </where>
-  </sql>
-  <sql id="Base_Column_List">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    id, video_id, pipeline_id, `result`, create_time, update_time
-  </sql>
-  <select id="selectByExample" parameterType="com.tzld.piaoquan.content.understanding.model.po.CuVideoUnderstandingResultExample" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    select
-    <if test="distinct">
-      distinct
-    </if>
-    <include refid="Base_Column_List" />
-    from cu_video_understanding_result
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-    <if test="orderByClause != null">
-      order by ${orderByClause}
-    </if>
-  </select>
-  <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    select 
-    <include refid="Base_Column_List" />
-    from cu_video_understanding_result
-    where id = #{id,jdbcType=BIGINT}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    delete from cu_video_understanding_result
-    where id = #{id,jdbcType=BIGINT}
-  </delete>
-  <delete id="deleteByExample" parameterType="com.tzld.piaoquan.content.understanding.model.po.CuVideoUnderstandingResultExample">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    delete from cu_video_understanding_result
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </delete>
-  <insert id="insert" parameterType="com.tzld.piaoquan.content.understanding.model.po.CuVideoUnderstandingResult">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    insert into cu_video_understanding_result (id, video_id, pipeline_id, 
-      `result`, create_time, update_time
-      )
-    values (#{id,jdbcType=BIGINT}, #{videoId,jdbcType=BIGINT}, #{pipelineId,jdbcType=BIGINT}, 
-      #{result,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.tzld.piaoquan.content.understanding.model.po.CuVideoUnderstandingResult">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    insert into cu_video_understanding_result
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        id,
-      </if>
-      <if test="videoId != null">
-        video_id,
-      </if>
-      <if test="pipelineId != null">
-        pipeline_id,
-      </if>
-      <if test="result != null">
-        `result`,
-      </if>
-      <if test="createTime != null">
-        create_time,
-      </if>
-      <if test="updateTime != null">
-        update_time,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        #{id,jdbcType=BIGINT},
-      </if>
-      <if test="videoId != null">
-        #{videoId,jdbcType=BIGINT},
-      </if>
-      <if test="pipelineId != null">
-        #{pipelineId,jdbcType=BIGINT},
-      </if>
-      <if test="result != null">
-        #{result,jdbcType=VARCHAR},
-      </if>
-      <if test="createTime != null">
-        #{createTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="updateTime != null">
-        #{updateTime,jdbcType=TIMESTAMP},
-      </if>
-    </trim>
-  </insert>
-  <select id="countByExample" parameterType="com.tzld.piaoquan.content.understanding.model.po.CuVideoUnderstandingResultExample" resultType="java.lang.Long">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    select count(*) from cu_video_understanding_result
-    <if test="_parameter != null">
-      <include refid="Example_Where_Clause" />
-    </if>
-  </select>
-  <update id="updateByExampleSelective" parameterType="map">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    update cu_video_understanding_result
-    <set>
-      <if test="record.id != null">
-        id = #{record.id,jdbcType=BIGINT},
-      </if>
-      <if test="record.videoId != null">
-        video_id = #{record.videoId,jdbcType=BIGINT},
-      </if>
-      <if test="record.pipelineId != null">
-        pipeline_id = #{record.pipelineId,jdbcType=BIGINT},
-      </if>
-      <if test="record.result != null">
-        `result` = #{record.result,jdbcType=VARCHAR},
-      </if>
-      <if test="record.createTime != null">
-        create_time = #{record.createTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="record.updateTime != null">
-        update_time = #{record.updateTime,jdbcType=TIMESTAMP},
-      </if>
-    </set>
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByExample" parameterType="map">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    update cu_video_understanding_result
-    set id = #{record.id,jdbcType=BIGINT},
-      video_id = #{record.videoId,jdbcType=BIGINT},
-      pipeline_id = #{record.pipelineId,jdbcType=BIGINT},
-      `result` = #{record.result,jdbcType=VARCHAR},
-      create_time = #{record.createTime,jdbcType=TIMESTAMP},
-      update_time = #{record.updateTime,jdbcType=TIMESTAMP}
-    <if test="_parameter != null">
-      <include refid="Update_By_Example_Where_Clause" />
-    </if>
-  </update>
-  <update id="updateByPrimaryKeySelective" parameterType="com.tzld.piaoquan.content.understanding.model.po.CuVideoUnderstandingResult">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    update cu_video_understanding_result
-    <set>
-      <if test="videoId != null">
-        video_id = #{videoId,jdbcType=BIGINT},
-      </if>
-      <if test="pipelineId != null">
-        pipeline_id = #{pipelineId,jdbcType=BIGINT},
-      </if>
-      <if test="result != null">
-        `result` = #{result,jdbcType=VARCHAR},
-      </if>
-      <if test="createTime != null">
-        create_time = #{createTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="updateTime != null">
-        update_time = #{updateTime,jdbcType=TIMESTAMP},
-      </if>
-    </set>
-    where id = #{id,jdbcType=BIGINT}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.content.understanding.model.po.CuVideoUnderstandingResult">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Fri Apr 11 14:07:17 CST 2025.
-    -->
-    update cu_video_understanding_result
-    set video_id = #{videoId,jdbcType=BIGINT},
-      pipeline_id = #{pipelineId,jdbcType=BIGINT},
-      `result` = #{result,jdbcType=VARCHAR},
-      create_time = #{createTime,jdbcType=TIMESTAMP},
-      update_time = #{updateTime,jdbcType=TIMESTAMP}
-    where id = #{id,jdbcType=BIGINT}
-  </update>
-</mapper>

+ 0 - 1
content-understanding-core/src/main/resources/mybatis-generator-config.xml

@@ -50,7 +50,6 @@
 <!--        <table tableName="cu_pipeline_step" domainObjectName="CuPipelineStep" alias=""/>-->
 <!--        <table tableName="cu_prompt" domainObjectName="CuPrompt" alias=""/>-->
 <!--        <table tableName="cu_task" domainObjectName="CuTask" alias=""/>-->
-<!--        <table tableName="cu_video_understanding_result" domainObjectName="CuVideoUnderstandingResult" alias=""/>-->
         <table tableName="wx_video" domainObjectName="WxVideo" alias=""/>
         <table tableName="wx_video_transcode" domainObjectName="WxVideoTranscode" alias=""/>
 

+ 0 - 7
content-understanding-server/src/main/java/com/tzld/piaoquan/content/understanding/controller/ContentController.java

@@ -2,7 +2,6 @@ package com.tzld.piaoquan.content.understanding.controller;
 
 import com.tzld.piaoquan.content.understanding.common.base.CommonResponse;
 import com.tzld.piaoquan.content.understanding.model.param.ContentAnalyseParam;
-import com.tzld.piaoquan.content.understanding.model.param.ContentUnderstandParam;
 import com.tzld.piaoquan.content.understanding.service.ContentService;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -28,10 +27,4 @@ public class ContentController {
         return CommonResponse.create();
     }
 
-    @PostMapping(value = "/understand")
-    public CommonResponse<Void> understand(@RequestBody ContentUnderstandParam param) {
-        contentService.understand(param);
-        return CommonResponse.create();
-    }
-
 }

+ 0 - 7
content-understanding-server/src/main/java/com/tzld/piaoquan/content/understanding/controller/ContentUnderstandingController.java

@@ -2,7 +2,6 @@ package com.tzld.piaoquan.content.understanding.controller;
 
 import com.tzld.piaoquan.content.understanding.common.base.CommonResponse;
 import com.tzld.piaoquan.content.understanding.model.param.*;
-import com.tzld.piaoquan.content.understanding.model.vo.ContentUnderstandingResultVO;
 import com.tzld.piaoquan.content.understanding.model.vo.TaskResultVO;
 import com.tzld.piaoquan.content.understanding.service.ContentService;
 import lombok.extern.slf4j.Slf4j;
@@ -35,10 +34,4 @@ public class ContentUnderstandingController {
         return CommonResponse.create(taskResultVO);
     }
 
-    @PostMapping(value = "getVideoUnderstandingResult")
-    public CommonResponse<ContentUnderstandingResultVO> getVideoUnderstandingResult(@RequestBody GetVideoUnderstandingResultParam param) {
-        ContentUnderstandingResultVO result = contentService.getVideoUnderstandingResult(param);
-        return CommonResponse.create(result);
-    }
-
 }