Skip to content

Commit

Permalink
更新版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
x201206030 committed Jun 15, 2020
1 parent c9c714e commit 7733cf1
Show file tree
Hide file tree
Showing 7 changed files with 441 additions and 4 deletions.
2 changes: 1 addition & 1 deletion novel-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>novel</artifactId>
<groupId>com.java2nb</groupId>
<version>2.5.1</version>
<version>2.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
package com.java2nb.novel.entity;

import java.util.Date;
import javax.annotation.Generated;

public class CrawlSingleTask {
@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Long id;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Integer sourceId;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String sourceName;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String sourceBookId;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Integer catId;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String bookName;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
private String authorName;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Byte taskStatus;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Byte excCount;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
private Date createTime;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Long getId() {
return id;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setId(Long id) {
this.id = id;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Integer getSourceId() {
return sourceId;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setSourceId(Integer sourceId) {
this.sourceId = sourceId;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getSourceName() {
return sourceName;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setSourceName(String sourceName) {
this.sourceName = sourceName == null ? null : sourceName.trim();
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getSourceBookId() {
return sourceBookId;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setSourceBookId(String sourceBookId) {
this.sourceBookId = sourceBookId == null ? null : sourceBookId.trim();
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Integer getCatId() {
return catId;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setCatId(Integer catId) {
this.catId = catId;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getBookName() {
return bookName;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setBookName(String bookName) {
this.bookName = bookName == null ? null : bookName.trim();
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public String getAuthorName() {
return authorName;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setAuthorName(String authorName) {
this.authorName = authorName == null ? null : authorName.trim();
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Byte getTaskStatus() {
return taskStatus;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setTaskStatus(Byte taskStatus) {
this.taskStatus = taskStatus;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Byte getExcCount() {
return excCount;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setExcCount(Byte excCount) {
this.excCount = excCount;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public Date getCreateTime() {
return createTime;
}

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
package com.java2nb.novel.mapper;

import java.sql.JDBCType;
import java.util.Date;
import javax.annotation.Generated;
import org.mybatis.dynamic.sql.SqlColumn;
import org.mybatis.dynamic.sql.SqlTable;

public final class CrawlSingleTaskDynamicSqlSupport {
@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final CrawlSingleTask crawlSingleTask = new CrawlSingleTask();

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final SqlColumn<Long> id = crawlSingleTask.id;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final SqlColumn<Integer> sourceId = crawlSingleTask.sourceId;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final SqlColumn<String> sourceName = crawlSingleTask.sourceName;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final SqlColumn<String> sourceBookId = crawlSingleTask.sourceBookId;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final SqlColumn<Integer> catId = crawlSingleTask.catId;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final SqlColumn<String> bookName = crawlSingleTask.bookName;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final SqlColumn<String> authorName = crawlSingleTask.authorName;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final SqlColumn<Byte> taskStatus = crawlSingleTask.taskStatus;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final SqlColumn<Byte> excCount = crawlSingleTask.excCount;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final SqlColumn<Date> createTime = crawlSingleTask.createTime;

@Generated("org.mybatis.generator.api.MyBatisGenerator")
public static final class CrawlSingleTask extends SqlTable {
public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);

public final SqlColumn<Integer> sourceId = column("source_id", JDBCType.INTEGER);

public final SqlColumn<String> sourceName = column("source_name", JDBCType.VARCHAR);

public final SqlColumn<String> sourceBookId = column("source_book_id", JDBCType.VARCHAR);

public final SqlColumn<Integer> catId = column("cat_id", JDBCType.INTEGER);

public final SqlColumn<String> bookName = column("book_name", JDBCType.VARCHAR);

public final SqlColumn<String> authorName = column("author_name", JDBCType.VARCHAR);

public final SqlColumn<Byte> taskStatus = column("task_status", JDBCType.TINYINT);

public final SqlColumn<Byte> excCount = column("exc_count", JDBCType.TINYINT);

public final SqlColumn<Date> createTime = column("create_time", JDBCType.TIMESTAMP);

public CrawlSingleTask() {
super("crawl_single_task");
}
}
}
Loading

0 comments on commit 7733cf1

Please sign in to comment.