parent
6e23c61910
commit
99406fab06
@ -0,0 +1,9 @@
|
|||||||
|
package com.tamguo.dao;
|
||||||
|
|
||||||
|
import com.tamguo.config.dao.SuperMapper;
|
||||||
|
import com.tamguo.model.CrawlerQuestionEntity;
|
||||||
|
|
||||||
|
public interface CrawlerQuestionMapper extends SuperMapper<CrawlerQuestionEntity>{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,56 @@
|
|||||||
|
package com.tamguo.model;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import com.baomidou.mybatisplus.annotations.TableName;
|
||||||
|
import com.tamguo.config.dao.SuperEntity;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The persistent class for the crawler_question database table.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@TableName(value="crawler_question")
|
||||||
|
public class CrawlerQuestionEntity extends SuperEntity<CrawlerQuestionEntity> implements Serializable {
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
private String questionUrl;
|
||||||
|
|
||||||
|
private String chapterId;
|
||||||
|
|
||||||
|
private String status;
|
||||||
|
|
||||||
|
public String getQuestionUrl() {
|
||||||
|
return questionUrl;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public void setQuestionUrl(String questionUrl) {
|
||||||
|
this.questionUrl = questionUrl;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public String getChapterId() {
|
||||||
|
return chapterId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setChapterId(String chapterId) {
|
||||||
|
this.chapterId = chapterId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getStatus() {
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatus(String status) {
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public static long getSerialversionuid() {
|
||||||
|
return serialVersionUID;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
<?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.tamguo.dao.CrawlerQuestionMapper">
|
||||||
|
|
||||||
|
|
||||||
|
</mapper>
|
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<redis>
|
||||||
|
<preKey value="TAMGUO:" />
|
||||||
|
<pool maxActive="50" maxIdle="20" maxWait="1000" />
|
||||||
|
<servers>
|
||||||
|
<!-- test -->
|
||||||
|
<server ip="47.100.175.14" port="6379"/>
|
||||||
|
</servers>
|
||||||
|
</redis>
|
Loading…
Reference in new issue