Przeglądaj źródła

增加数据库

xueyiming 3 miesięcy temu
rodzic
commit
52bb606b6e

+ 30 - 0
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/dao/mapper/longarticle/VideoEndScreenMapper.java

@@ -0,0 +1,30 @@
+package com.tzld.piaoquan.longarticle.dao.mapper.longarticle;
+
+import com.tzld.piaoquan.longarticle.model.po.longarticle.VideoEndScreen;
+import com.tzld.piaoquan.longarticle.model.po.longarticle.VideoEndScreenExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface VideoEndScreenMapper {
+    long countByExample(VideoEndScreenExample example);
+
+    int deleteByExample(VideoEndScreenExample example);
+
+    int deleteByPrimaryKey(Integer taskId);
+
+    int insert(VideoEndScreen record);
+
+    int insertSelective(VideoEndScreen record);
+
+    List<VideoEndScreen> selectByExample(VideoEndScreenExample example);
+
+    VideoEndScreen selectByPrimaryKey(Integer taskId);
+
+    int updateByExampleSelective(@Param("record") VideoEndScreen record, @Param("example") VideoEndScreenExample example);
+
+    int updateByExample(@Param("record") VideoEndScreen record, @Param("example") VideoEndScreenExample example);
+
+    int updateByPrimaryKeySelective(VideoEndScreen record);
+
+    int updateByPrimaryKey(VideoEndScreen record);
+}

+ 103 - 0
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/model/po/longarticle/VideoEndScreen.java

@@ -0,0 +1,103 @@
+package com.tzld.piaoquan.longarticle.model.po.longarticle;
+
+import java.util.Date;
+
+public class VideoEndScreen {
+    private Integer taskId;
+
+    private String videoOriginType;
+
+    private Long videoOriginId;
+
+    private String title;
+
+    private String ossPath;
+
+    private String newOssPath;
+
+    private Integer status;
+
+    private Date statusUpdateTimestamp;
+
+    public Integer getTaskId() {
+        return taskId;
+    }
+
+    public void setTaskId(Integer taskId) {
+        this.taskId = taskId;
+    }
+
+    public String getVideoOriginType() {
+        return videoOriginType;
+    }
+
+    public void setVideoOriginType(String videoOriginType) {
+        this.videoOriginType = videoOriginType;
+    }
+
+    public Long getVideoOriginId() {
+        return videoOriginId;
+    }
+
+    public void setVideoOriginId(Long videoOriginId) {
+        this.videoOriginId = videoOriginId;
+    }
+
+    public String getTitle() {
+        return title;
+    }
+
+    public void setTitle(String title) {
+        this.title = title;
+    }
+
+    public String getOssPath() {
+        return ossPath;
+    }
+
+    public void setOssPath(String ossPath) {
+        this.ossPath = ossPath;
+    }
+
+    public String getNewOssPath() {
+        return newOssPath;
+    }
+
+    public void setNewOssPath(String newOssPath) {
+        this.newOssPath = newOssPath;
+    }
+
+    public Integer getStatus() {
+        return status;
+    }
+
+    public void setStatus(Integer status) {
+        this.status = status;
+    }
+
+    public Date getStatusUpdateTimestamp() {
+        return statusUpdateTimestamp;
+    }
+
+    public void setStatusUpdateTimestamp(Date statusUpdateTimestamp) {
+        this.statusUpdateTimestamp = statusUpdateTimestamp;
+    }
+
+    @Override
+    public String toString() {
+        StringBuilder sb = new StringBuilder();
+        sb.append(getClass().getSimpleName());
+        sb.append(" [");
+        sb.append("Hash = ").append(hashCode());
+        sb.append(", taskId=").append(taskId);
+        sb.append(", videoOriginType=").append(videoOriginType);
+        sb.append(", videoOriginId=").append(videoOriginId);
+        sb.append(", title=").append(title);
+        sb.append(", ossPath=").append(ossPath);
+        sb.append(", newOssPath=").append(newOssPath);
+        sb.append(", status=").append(status);
+        sb.append(", statusUpdateTimestamp=").append(statusUpdateTimestamp);
+        sb.append("]");
+        return sb.toString();
+    }
+}

+ 732 - 0
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/model/po/longarticle/VideoEndScreenExample.java

@@ -0,0 +1,732 @@
+package com.tzld.piaoquan.longarticle.model.po.longarticle;
+
+import com.tzld.piaoquan.longarticle.utils.page.Page;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class VideoEndScreenExample {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    protected Page page;
+
+    public VideoEndScreenExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    public void setPage(Page page) {
+        this.page=page;
+    }
+
+    public Page getPage() {
+        return page;
+    }
+
+    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 andTaskIdIsNull() {
+            addCriterion("task_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdIsNotNull() {
+            addCriterion("task_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdEqualTo(Integer value) {
+            addCriterion("task_id =", value, "taskId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdNotEqualTo(Integer value) {
+            addCriterion("task_id <>", value, "taskId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdGreaterThan(Integer value) {
+            addCriterion("task_id >", value, "taskId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("task_id >=", value, "taskId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdLessThan(Integer value) {
+            addCriterion("task_id <", value, "taskId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdLessThanOrEqualTo(Integer value) {
+            addCriterion("task_id <=", value, "taskId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdIn(List<Integer> values) {
+            addCriterion("task_id in", values, "taskId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdNotIn(List<Integer> values) {
+            addCriterion("task_id not in", values, "taskId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdBetween(Integer value1, Integer value2) {
+            addCriterion("task_id between", value1, value2, "taskId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTaskIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("task_id not between", value1, value2, "taskId");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeIsNull() {
+            addCriterion("video_origin_type is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeIsNotNull() {
+            addCriterion("video_origin_type is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeEqualTo(String value) {
+            addCriterion("video_origin_type =", value, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeNotEqualTo(String value) {
+            addCriterion("video_origin_type <>", value, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeGreaterThan(String value) {
+            addCriterion("video_origin_type >", value, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeGreaterThanOrEqualTo(String value) {
+            addCriterion("video_origin_type >=", value, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeLessThan(String value) {
+            addCriterion("video_origin_type <", value, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeLessThanOrEqualTo(String value) {
+            addCriterion("video_origin_type <=", value, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeLike(String value) {
+            addCriterion("video_origin_type like", value, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeNotLike(String value) {
+            addCriterion("video_origin_type not like", value, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeIn(List<String> values) {
+            addCriterion("video_origin_type in", values, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeNotIn(List<String> values) {
+            addCriterion("video_origin_type not in", values, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeBetween(String value1, String value2) {
+            addCriterion("video_origin_type between", value1, value2, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginTypeNotBetween(String value1, String value2) {
+            addCriterion("video_origin_type not between", value1, value2, "videoOriginType");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdIsNull() {
+            addCriterion("video_origin_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdIsNotNull() {
+            addCriterion("video_origin_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdEqualTo(Long value) {
+            addCriterion("video_origin_id =", value, "videoOriginId");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdNotEqualTo(Long value) {
+            addCriterion("video_origin_id <>", value, "videoOriginId");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdGreaterThan(Long value) {
+            addCriterion("video_origin_id >", value, "videoOriginId");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdGreaterThanOrEqualTo(Long value) {
+            addCriterion("video_origin_id >=", value, "videoOriginId");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdLessThan(Long value) {
+            addCriterion("video_origin_id <", value, "videoOriginId");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdLessThanOrEqualTo(Long value) {
+            addCriterion("video_origin_id <=", value, "videoOriginId");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdIn(List<Long> values) {
+            addCriterion("video_origin_id in", values, "videoOriginId");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdNotIn(List<Long> values) {
+            addCriterion("video_origin_id not in", values, "videoOriginId");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdBetween(Long value1, Long value2) {
+            addCriterion("video_origin_id between", value1, value2, "videoOriginId");
+            return (Criteria) this;
+        }
+
+        public Criteria andVideoOriginIdNotBetween(Long value1, Long value2) {
+            addCriterion("video_origin_id not between", value1, value2, "videoOriginId");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleIsNull() {
+            addCriterion("title is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleIsNotNull() {
+            addCriterion("title is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleEqualTo(String value) {
+            addCriterion("title =", value, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleNotEqualTo(String value) {
+            addCriterion("title <>", value, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleGreaterThan(String value) {
+            addCriterion("title >", value, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleGreaterThanOrEqualTo(String value) {
+            addCriterion("title >=", value, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleLessThan(String value) {
+            addCriterion("title <", value, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleLessThanOrEqualTo(String value) {
+            addCriterion("title <=", value, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleLike(String value) {
+            addCriterion("title like", value, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleNotLike(String value) {
+            addCriterion("title not like", value, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleIn(List<String> values) {
+            addCriterion("title in", values, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleNotIn(List<String> values) {
+            addCriterion("title not in", values, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleBetween(String value1, String value2) {
+            addCriterion("title between", value1, value2, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andTitleNotBetween(String value1, String value2) {
+            addCriterion("title not between", value1, value2, "title");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathIsNull() {
+            addCriterion("oss_path is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathIsNotNull() {
+            addCriterion("oss_path is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathEqualTo(String value) {
+            addCriterion("oss_path =", value, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathNotEqualTo(String value) {
+            addCriterion("oss_path <>", value, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathGreaterThan(String value) {
+            addCriterion("oss_path >", value, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathGreaterThanOrEqualTo(String value) {
+            addCriterion("oss_path >=", value, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathLessThan(String value) {
+            addCriterion("oss_path <", value, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathLessThanOrEqualTo(String value) {
+            addCriterion("oss_path <=", value, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathLike(String value) {
+            addCriterion("oss_path like", value, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathNotLike(String value) {
+            addCriterion("oss_path not like", value, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathIn(List<String> values) {
+            addCriterion("oss_path in", values, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathNotIn(List<String> values) {
+            addCriterion("oss_path not in", values, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathBetween(String value1, String value2) {
+            addCriterion("oss_path between", value1, value2, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andOssPathNotBetween(String value1, String value2) {
+            addCriterion("oss_path not between", value1, value2, "ossPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathIsNull() {
+            addCriterion("new_oss_path is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathIsNotNull() {
+            addCriterion("new_oss_path is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathEqualTo(String value) {
+            addCriterion("new_oss_path =", value, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathNotEqualTo(String value) {
+            addCriterion("new_oss_path <>", value, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathGreaterThan(String value) {
+            addCriterion("new_oss_path >", value, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathGreaterThanOrEqualTo(String value) {
+            addCriterion("new_oss_path >=", value, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathLessThan(String value) {
+            addCriterion("new_oss_path <", value, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathLessThanOrEqualTo(String value) {
+            addCriterion("new_oss_path <=", value, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathLike(String value) {
+            addCriterion("new_oss_path like", value, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathNotLike(String value) {
+            addCriterion("new_oss_path not like", value, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathIn(List<String> values) {
+            addCriterion("new_oss_path in", values, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathNotIn(List<String> values) {
+            addCriterion("new_oss_path not in", values, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathBetween(String value1, String value2) {
+            addCriterion("new_oss_path between", value1, value2, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andNewOssPathNotBetween(String value1, String value2) {
+            addCriterion("new_oss_path not between", value1, value2, "newOssPath");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusIsNull() {
+            addCriterion("`status` is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusIsNotNull() {
+            addCriterion("`status` is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusEqualTo(Integer value) {
+            addCriterion("`status` =", value, "status");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusNotEqualTo(Integer value) {
+            addCriterion("`status` <>", value, "status");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusGreaterThan(Integer value) {
+            addCriterion("`status` >", value, "status");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
+            addCriterion("`status` >=", value, "status");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusLessThan(Integer value) {
+            addCriterion("`status` <", value, "status");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusLessThanOrEqualTo(Integer value) {
+            addCriterion("`status` <=", value, "status");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusIn(List<Integer> values) {
+            addCriterion("`status` in", values, "status");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusNotIn(List<Integer> values) {
+            addCriterion("`status` not in", values, "status");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusBetween(Integer value1, Integer value2) {
+            addCriterion("`status` between", value1, value2, "status");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
+            addCriterion("`status` not between", value1, value2, "status");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampIsNull() {
+            addCriterion("status_update_timestamp is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampIsNotNull() {
+            addCriterion("status_update_timestamp is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampEqualTo(Date value) {
+            addCriterion("status_update_timestamp =", value, "statusUpdateTimestamp");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampNotEqualTo(Date value) {
+            addCriterion("status_update_timestamp <>", value, "statusUpdateTimestamp");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampGreaterThan(Date value) {
+            addCriterion("status_update_timestamp >", value, "statusUpdateTimestamp");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampGreaterThanOrEqualTo(Date value) {
+            addCriterion("status_update_timestamp >=", value, "statusUpdateTimestamp");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampLessThan(Date value) {
+            addCriterion("status_update_timestamp <", value, "statusUpdateTimestamp");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampLessThanOrEqualTo(Date value) {
+            addCriterion("status_update_timestamp <=", value, "statusUpdateTimestamp");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampIn(List<Date> values) {
+            addCriterion("status_update_timestamp in", values, "statusUpdateTimestamp");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampNotIn(List<Date> values) {
+            addCriterion("status_update_timestamp not in", values, "statusUpdateTimestamp");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampBetween(Date value1, Date value2) {
+            addCriterion("status_update_timestamp between", value1, value2, "statusUpdateTimestamp");
+            return (Criteria) this;
+        }
+
+        public Criteria andStatusUpdateTimestampNotBetween(Date value1, Date value2) {
+            addCriterion("status_update_timestamp not between", value1, value2, "statusUpdateTimestamp");
+            return (Criteria) this;
+        }
+    }
+
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    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);
+        }
+    }
+}

+ 262 - 0
long-article-server/src/main/resources/mapper/longarticle/VideoEndScreenMapper.xml

@@ -0,0 +1,262 @@
+<?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.longarticle.dao.mapper.longarticle.VideoEndScreenMapper">
+  <resultMap id="BaseResultMap" type="com.tzld.piaoquan.longarticle.model.po.longarticle.VideoEndScreen">
+    <id column="task_id" jdbcType="INTEGER" property="taskId" />
+    <result column="video_origin_type" jdbcType="VARCHAR" property="videoOriginType" />
+    <result column="video_origin_id" jdbcType="BIGINT" property="videoOriginId" />
+    <result column="title" jdbcType="VARCHAR" property="title" />
+    <result column="oss_path" jdbcType="VARCHAR" property="ossPath" />
+    <result column="new_oss_path" jdbcType="VARCHAR" property="newOssPath" />
+    <result column="status" jdbcType="INTEGER" property="status" />
+    <result column="status_update_timestamp" jdbcType="TIMESTAMP" property="statusUpdateTimestamp" />
+  </resultMap>
+  <sql id="Example_Where_Clause">
+    <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">
+    <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">
+    task_id, video_origin_type, video_origin_id, title, oss_path, new_oss_path, `status`, 
+    status_update_timestamp
+  </sql>
+  <select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.VideoEndScreenExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from video_end_screen_transformation_task
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+    <if test="orderByClause != null">
+      order by ${orderByClause}
+    </if>
+    <if test="page != null">
+      limit #{page.offset} , #{page.pageSize}
+    </if>
+  </select>
+  <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from video_end_screen_transformation_task
+    where task_id = #{taskId,jdbcType=INTEGER}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
+    delete from video_end_screen_transformation_task
+    where task_id = #{taskId,jdbcType=INTEGER}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.VideoEndScreenExample">
+    delete from video_end_screen_transformation_task
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.VideoEndScreen">
+    insert into video_end_screen_transformation_task (task_id, video_origin_type, video_origin_id, 
+      title, oss_path, new_oss_path, 
+      `status`, status_update_timestamp)
+    values (#{taskId,jdbcType=INTEGER}, #{videoOriginType,jdbcType=VARCHAR}, #{videoOriginId,jdbcType=BIGINT}, 
+      #{title,jdbcType=VARCHAR}, #{ossPath,jdbcType=VARCHAR}, #{newOssPath,jdbcType=VARCHAR}, 
+      #{status,jdbcType=INTEGER}, #{statusUpdateTimestamp,jdbcType=TIMESTAMP})
+  </insert>
+  <insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.VideoEndScreen">
+    insert into video_end_screen_transformation_task
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="taskId != null">
+        task_id,
+      </if>
+      <if test="videoOriginType != null">
+        video_origin_type,
+      </if>
+      <if test="videoOriginId != null">
+        video_origin_id,
+      </if>
+      <if test="title != null">
+        title,
+      </if>
+      <if test="ossPath != null">
+        oss_path,
+      </if>
+      <if test="newOssPath != null">
+        new_oss_path,
+      </if>
+      <if test="status != null">
+        `status`,
+      </if>
+      <if test="statusUpdateTimestamp != null">
+        status_update_timestamp,
+      </if>
+    </trim>
+    <trim prefix="values (" suffix=")" suffixOverrides=",">
+      <if test="taskId != null">
+        #{taskId,jdbcType=INTEGER},
+      </if>
+      <if test="videoOriginType != null">
+        #{videoOriginType,jdbcType=VARCHAR},
+      </if>
+      <if test="videoOriginId != null">
+        #{videoOriginId,jdbcType=BIGINT},
+      </if>
+      <if test="title != null">
+        #{title,jdbcType=VARCHAR},
+      </if>
+      <if test="ossPath != null">
+        #{ossPath,jdbcType=VARCHAR},
+      </if>
+      <if test="newOssPath != null">
+        #{newOssPath,jdbcType=VARCHAR},
+      </if>
+      <if test="status != null">
+        #{status,jdbcType=INTEGER},
+      </if>
+      <if test="statusUpdateTimestamp != null">
+        #{statusUpdateTimestamp,jdbcType=TIMESTAMP},
+      </if>
+    </trim>
+  </insert>
+  <select id="countByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.VideoEndScreenExample" resultType="java.lang.Long">
+    select count(*) from video_end_screen_transformation_task
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update video_end_screen_transformation_task
+    <set>
+      <if test="record.taskId != null">
+        task_id = #{record.taskId,jdbcType=INTEGER},
+      </if>
+      <if test="record.videoOriginType != null">
+        video_origin_type = #{record.videoOriginType,jdbcType=VARCHAR},
+      </if>
+      <if test="record.videoOriginId != null">
+        video_origin_id = #{record.videoOriginId,jdbcType=BIGINT},
+      </if>
+      <if test="record.title != null">
+        title = #{record.title,jdbcType=VARCHAR},
+      </if>
+      <if test="record.ossPath != null">
+        oss_path = #{record.ossPath,jdbcType=VARCHAR},
+      </if>
+      <if test="record.newOssPath != null">
+        new_oss_path = #{record.newOssPath,jdbcType=VARCHAR},
+      </if>
+      <if test="record.status != null">
+        `status` = #{record.status,jdbcType=INTEGER},
+      </if>
+      <if test="record.statusUpdateTimestamp != null">
+        status_update_timestamp = #{record.statusUpdateTimestamp,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByExample" parameterType="map">
+    update video_end_screen_transformation_task
+    set task_id = #{record.taskId,jdbcType=INTEGER},
+      video_origin_type = #{record.videoOriginType,jdbcType=VARCHAR},
+      video_origin_id = #{record.videoOriginId,jdbcType=BIGINT},
+      title = #{record.title,jdbcType=VARCHAR},
+      oss_path = #{record.ossPath,jdbcType=VARCHAR},
+      new_oss_path = #{record.newOssPath,jdbcType=VARCHAR},
+      `status` = #{record.status,jdbcType=INTEGER},
+      status_update_timestamp = #{record.statusUpdateTimestamp,jdbcType=TIMESTAMP}
+    <if test="_parameter != null">
+      <include refid="Update_By_Example_Where_Clause" />
+    </if>
+  </update>
+  <update id="updateByPrimaryKeySelective" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.VideoEndScreen">
+    update video_end_screen_transformation_task
+    <set>
+      <if test="videoOriginType != null">
+        video_origin_type = #{videoOriginType,jdbcType=VARCHAR},
+      </if>
+      <if test="videoOriginId != null">
+        video_origin_id = #{videoOriginId,jdbcType=BIGINT},
+      </if>
+      <if test="title != null">
+        title = #{title,jdbcType=VARCHAR},
+      </if>
+      <if test="ossPath != null">
+        oss_path = #{ossPath,jdbcType=VARCHAR},
+      </if>
+      <if test="newOssPath != null">
+        new_oss_path = #{newOssPath,jdbcType=VARCHAR},
+      </if>
+      <if test="status != null">
+        `status` = #{status,jdbcType=INTEGER},
+      </if>
+      <if test="statusUpdateTimestamp != null">
+        status_update_timestamp = #{statusUpdateTimestamp,jdbcType=TIMESTAMP},
+      </if>
+    </set>
+    where task_id = #{taskId,jdbcType=INTEGER}
+  </update>
+  <update id="updateByPrimaryKey" parameterType="com.tzld.piaoquan.longarticle.model.po.longarticle.VideoEndScreen">
+    update video_end_screen_transformation_task
+    set video_origin_type = #{videoOriginType,jdbcType=VARCHAR},
+      video_origin_id = #{videoOriginId,jdbcType=BIGINT},
+      title = #{title,jdbcType=VARCHAR},
+      oss_path = #{ossPath,jdbcType=VARCHAR},
+      new_oss_path = #{newOssPath,jdbcType=VARCHAR},
+      `status` = #{status,jdbcType=INTEGER},
+      status_update_timestamp = #{statusUpdateTimestamp,jdbcType=TIMESTAMP}
+    where task_id = #{taskId,jdbcType=INTEGER}
+  </update>
+</mapper>

+ 1 - 1
long-article-server/src/main/resources/mybatis-generator-config.xml

@@ -60,7 +60,7 @@
 <!--            <columnOverride column="cover_url" javaType="java.lang.String" jdbcType="LONGVARCHAR" />-->
 <!--        </table>-->
 <!--        <table tableName="long_articles_root_source_id" domainObjectName="RootSource" alias=""/>-->
-        <table tableName="long_articles_title_audit" domainObjectName="TitleAudit" alias=""/>
+        <table tableName="video_end_screen_transformation_task" domainObjectName="VideoEndScreen" alias=""/>
 <!--            <table tableName="long_articles_plan" domainObjectName="Plan" alias=""/>-->
 
 <!--                <table tableName="long_articles_publish_content" domainObjectName="PublishContent" alias=""/>-->