瀏覽代碼

增加例外设置

xueyiming 6 月之前
父節點
當前提交
e7c7ecb70f

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

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

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

@@ -0,0 +1,114 @@
+package com.tzld.piaoquan.longarticle.model.po;
+
+import java.util.Date;
+
+public class AccountSpecialSettings {
+    private Long id;
+
+    private String effectiveDate;
+
+    private String accountId;
+
+    private String publishPushTime;
+
+    private Integer pushType;
+
+    private Integer publishNum;
+
+    private String excludeContentIndex;
+
+    private Date createTime;
+
+    private Date updateTime;
+
+    public Long getId() {
+        return id;
+    }
+
+    public void setId(Long id) {
+        this.id = id;
+    }
+
+    public String getEffectiveDate() {
+        return effectiveDate;
+    }
+
+    public void setEffectiveDate(String effectiveDate) {
+        this.effectiveDate = effectiveDate;
+    }
+
+    public String getAccountId() {
+        return accountId;
+    }
+
+    public void setAccountId(String accountId) {
+        this.accountId = accountId;
+    }
+
+    public String getPublishPushTime() {
+        return publishPushTime;
+    }
+
+    public void setPublishPushTime(String publishPushTime) {
+        this.publishPushTime = publishPushTime;
+    }
+
+    public Integer getPushType() {
+        return pushType;
+    }
+
+    public void setPushType(Integer pushType) {
+        this.pushType = pushType;
+    }
+
+    public Integer getPublishNum() {
+        return publishNum;
+    }
+
+    public void setPublishNum(Integer publishNum) {
+        this.publishNum = publishNum;
+    }
+
+    public String getExcludeContentIndex() {
+        return excludeContentIndex;
+    }
+
+    public void setExcludeContentIndex(String excludeContentIndex) {
+        this.excludeContentIndex = excludeContentIndex;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    @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(", effectiveDate=").append(effectiveDate);
+        sb.append(", accountId=").append(accountId);
+        sb.append(", publishPushTime=").append(publishPushTime);
+        sb.append(", pushType=").append(pushType);
+        sb.append(", publishNum=").append(publishNum);
+        sb.append(", excludeContentIndex=").append(excludeContentIndex);
+        sb.append(", createTime=").append(createTime);
+        sb.append(", updateTime=").append(updateTime);
+        sb.append("]");
+        return sb.toString();
+    }
+}

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

@@ -0,0 +1,792 @@
+package com.tzld.piaoquan.longarticle.model.po;
+
+import com.tzld.piaoquan.longarticle.utils.page.Page;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class AccountSpecialSettingsExample {
+    protected String orderByClause;
+
+    protected boolean distinct;
+
+    protected List<Criteria> oredCriteria;
+
+    protected Page page;
+
+    public AccountSpecialSettingsExample() {
+        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 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 andEffectiveDateIsNull() {
+            addCriterion("effective_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateIsNotNull() {
+            addCriterion("effective_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateEqualTo(String value) {
+            addCriterion("effective_date =", value, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateNotEqualTo(String value) {
+            addCriterion("effective_date <>", value, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateGreaterThan(String value) {
+            addCriterion("effective_date >", value, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateGreaterThanOrEqualTo(String value) {
+            addCriterion("effective_date >=", value, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateLessThan(String value) {
+            addCriterion("effective_date <", value, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateLessThanOrEqualTo(String value) {
+            addCriterion("effective_date <=", value, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateLike(String value) {
+            addCriterion("effective_date like", value, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateNotLike(String value) {
+            addCriterion("effective_date not like", value, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateIn(List<String> values) {
+            addCriterion("effective_date in", values, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateNotIn(List<String> values) {
+            addCriterion("effective_date not in", values, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateBetween(String value1, String value2) {
+            addCriterion("effective_date between", value1, value2, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andEffectiveDateNotBetween(String value1, String value2) {
+            addCriterion("effective_date not between", value1, value2, "effectiveDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdIsNull() {
+            addCriterion("account_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdIsNotNull() {
+            addCriterion("account_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdEqualTo(String value) {
+            addCriterion("account_id =", value, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdNotEqualTo(String value) {
+            addCriterion("account_id <>", value, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdGreaterThan(String value) {
+            addCriterion("account_id >", value, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdGreaterThanOrEqualTo(String value) {
+            addCriterion("account_id >=", value, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdLessThan(String value) {
+            addCriterion("account_id <", value, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdLessThanOrEqualTo(String value) {
+            addCriterion("account_id <=", value, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdLike(String value) {
+            addCriterion("account_id like", value, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdNotLike(String value) {
+            addCriterion("account_id not like", value, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdIn(List<String> values) {
+            addCriterion("account_id in", values, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdNotIn(List<String> values) {
+            addCriterion("account_id not in", values, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdBetween(String value1, String value2) {
+            addCriterion("account_id between", value1, value2, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAccountIdNotBetween(String value1, String value2) {
+            addCriterion("account_id not between", value1, value2, "accountId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeIsNull() {
+            addCriterion("publish_push_time is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeIsNotNull() {
+            addCriterion("publish_push_time is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeEqualTo(String value) {
+            addCriterion("publish_push_time =", value, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeNotEqualTo(String value) {
+            addCriterion("publish_push_time <>", value, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeGreaterThan(String value) {
+            addCriterion("publish_push_time >", value, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeGreaterThanOrEqualTo(String value) {
+            addCriterion("publish_push_time >=", value, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeLessThan(String value) {
+            addCriterion("publish_push_time <", value, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeLessThanOrEqualTo(String value) {
+            addCriterion("publish_push_time <=", value, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeLike(String value) {
+            addCriterion("publish_push_time like", value, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeNotLike(String value) {
+            addCriterion("publish_push_time not like", value, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeIn(List<String> values) {
+            addCriterion("publish_push_time in", values, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeNotIn(List<String> values) {
+            addCriterion("publish_push_time not in", values, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeBetween(String value1, String value2) {
+            addCriterion("publish_push_time between", value1, value2, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishPushTimeNotBetween(String value1, String value2) {
+            addCriterion("publish_push_time not between", value1, value2, "publishPushTime");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeIsNull() {
+            addCriterion("push_type is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeIsNotNull() {
+            addCriterion("push_type is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeEqualTo(Integer value) {
+            addCriterion("push_type =", value, "pushType");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeNotEqualTo(Integer value) {
+            addCriterion("push_type <>", value, "pushType");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeGreaterThan(Integer value) {
+            addCriterion("push_type >", value, "pushType");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeGreaterThanOrEqualTo(Integer value) {
+            addCriterion("push_type >=", value, "pushType");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeLessThan(Integer value) {
+            addCriterion("push_type <", value, "pushType");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeLessThanOrEqualTo(Integer value) {
+            addCriterion("push_type <=", value, "pushType");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeIn(List<Integer> values) {
+            addCriterion("push_type in", values, "pushType");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeNotIn(List<Integer> values) {
+            addCriterion("push_type not in", values, "pushType");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeBetween(Integer value1, Integer value2) {
+            addCriterion("push_type between", value1, value2, "pushType");
+            return (Criteria) this;
+        }
+
+        public Criteria andPushTypeNotBetween(Integer value1, Integer value2) {
+            addCriterion("push_type not between", value1, value2, "pushType");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumIsNull() {
+            addCriterion("publish_num is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumIsNotNull() {
+            addCriterion("publish_num is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumEqualTo(Integer value) {
+            addCriterion("publish_num =", value, "publishNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumNotEqualTo(Integer value) {
+            addCriterion("publish_num <>", value, "publishNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumGreaterThan(Integer value) {
+            addCriterion("publish_num >", value, "publishNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumGreaterThanOrEqualTo(Integer value) {
+            addCriterion("publish_num >=", value, "publishNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumLessThan(Integer value) {
+            addCriterion("publish_num <", value, "publishNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumLessThanOrEqualTo(Integer value) {
+            addCriterion("publish_num <=", value, "publishNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumIn(List<Integer> values) {
+            addCriterion("publish_num in", values, "publishNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumNotIn(List<Integer> values) {
+            addCriterion("publish_num not in", values, "publishNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumBetween(Integer value1, Integer value2) {
+            addCriterion("publish_num between", value1, value2, "publishNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPublishNumNotBetween(Integer value1, Integer value2) {
+            addCriterion("publish_num not between", value1, value2, "publishNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexIsNull() {
+            addCriterion("exclude_content_index is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexIsNotNull() {
+            addCriterion("exclude_content_index is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexEqualTo(String value) {
+            addCriterion("exclude_content_index =", value, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexNotEqualTo(String value) {
+            addCriterion("exclude_content_index <>", value, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexGreaterThan(String value) {
+            addCriterion("exclude_content_index >", value, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexGreaterThanOrEqualTo(String value) {
+            addCriterion("exclude_content_index >=", value, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexLessThan(String value) {
+            addCriterion("exclude_content_index <", value, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexLessThanOrEqualTo(String value) {
+            addCriterion("exclude_content_index <=", value, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexLike(String value) {
+            addCriterion("exclude_content_index like", value, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexNotLike(String value) {
+            addCriterion("exclude_content_index not like", value, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexIn(List<String> values) {
+            addCriterion("exclude_content_index in", values, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexNotIn(List<String> values) {
+            addCriterion("exclude_content_index not in", values, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexBetween(String value1, String value2) {
+            addCriterion("exclude_content_index between", value1, value2, "excludeContentIndex");
+            return (Criteria) this;
+        }
+
+        public Criteria andExcludeContentIndexNotBetween(String value1, String value2) {
+            addCriterion("exclude_content_index not between", value1, value2, "excludeContentIndex");
+            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;
+        }
+    }
+
+    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);
+        }
+    }
+}

+ 279 - 0
long-article-server/src/main/resources/mapper/AccountSpecialSettingsMapper.xml

@@ -0,0 +1,279 @@
+<?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.AccountSpecialSettingsMapper">
+  <resultMap id="BaseResultMap" type="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettings">
+    <id column="id" jdbcType="BIGINT" property="id" />
+    <result column="effective_date" jdbcType="VARCHAR" property="effectiveDate" />
+    <result column="account_id" jdbcType="VARCHAR" property="accountId" />
+    <result column="publish_push_time" jdbcType="VARCHAR" property="publishPushTime" />
+    <result column="push_type" jdbcType="INTEGER" property="pushType" />
+    <result column="publish_num" jdbcType="INTEGER" property="publishNum" />
+    <result column="exclude_content_index" jdbcType="VARCHAR" property="excludeContentIndex" />
+    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
+    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
+  </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">
+    id, effective_date, account_id, publish_push_time, push_type, publish_num, exclude_content_index, 
+    create_time, update_time
+  </sql>
+  <select id="selectByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettingsExample" resultMap="BaseResultMap">
+    select
+    <if test="distinct">
+      distinct
+    </if>
+    <include refid="Base_Column_List" />
+    from long_articles_account_special_settings
+    <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.Long" resultMap="BaseResultMap">
+    select 
+    <include refid="Base_Column_List" />
+    from long_articles_account_special_settings
+    where id = #{id,jdbcType=BIGINT}
+  </select>
+  <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
+    delete from long_articles_account_special_settings
+    where id = #{id,jdbcType=BIGINT}
+  </delete>
+  <delete id="deleteByExample" parameterType="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettingsExample">
+    delete from long_articles_account_special_settings
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </delete>
+  <insert id="insert" parameterType="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettings">
+    insert into long_articles_account_special_settings (id, effective_date, account_id, 
+      publish_push_time, push_type, publish_num, 
+      exclude_content_index, create_time, update_time
+      )
+    values (#{id,jdbcType=BIGINT}, #{effectiveDate,jdbcType=VARCHAR}, #{accountId,jdbcType=VARCHAR}, 
+      #{publishPushTime,jdbcType=VARCHAR}, #{pushType,jdbcType=INTEGER}, #{publishNum,jdbcType=INTEGER}, 
+      #{excludeContentIndex,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}
+      )
+  </insert>
+  <insert id="insertSelective" parameterType="com.tzld.piaoquan.longarticle.model.po.AccountSpecialSettings">
+    insert into long_articles_account_special_settings
+    <trim prefix="(" suffix=")" suffixOverrides=",">
+      <if test="id != null">
+        id,
+      </if>
+      <if test="effectiveDate != null">
+        effective_date,
+      </if>
+      <if test="accountId != null">
+        account_id,
+      </if>
+      <if test="publishPushTime != null">
+        publish_push_time,
+      </if>
+      <if test="pushType != null">
+        push_type,
+      </if>
+      <if test="publishNum != null">
+        publish_num,
+      </if>
+      <if test="excludeContentIndex != null">
+        exclude_content_index,
+      </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="effectiveDate != null">
+        #{effectiveDate,jdbcType=VARCHAR},
+      </if>
+      <if test="accountId != null">
+        #{accountId,jdbcType=VARCHAR},
+      </if>
+      <if test="publishPushTime != null">
+        #{publishPushTime,jdbcType=VARCHAR},
+      </if>
+      <if test="pushType != null">
+        #{pushType,jdbcType=INTEGER},
+      </if>
+      <if test="publishNum != null">
+        #{publishNum,jdbcType=INTEGER},
+      </if>
+      <if test="excludeContentIndex != null">
+        #{excludeContentIndex,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.longarticle.model.po.AccountSpecialSettingsExample" resultType="java.lang.Long">
+    select count(*) from long_articles_account_special_settings
+    <if test="_parameter != null">
+      <include refid="Example_Where_Clause" />
+    </if>
+  </select>
+  <update id="updateByExampleSelective" parameterType="map">
+    update long_articles_account_special_settings
+    <set>
+      <if test="record.id != null">
+        id = #{record.id,jdbcType=BIGINT},
+      </if>
+      <if test="record.effectiveDate != null">
+        effective_date = #{record.effectiveDate,jdbcType=VARCHAR},
+      </if>
+      <if test="record.accountId != null">
+        account_id = #{record.accountId,jdbcType=VARCHAR},
+      </if>
+      <if test="record.publishPushTime != null">
+        publish_push_time = #{record.publishPushTime,jdbcType=VARCHAR},
+      </if>
+      <if test="record.pushType != null">
+        push_type = #{record.pushType,jdbcType=INTEGER},
+      </if>
+      <if test="record.publishNum != null">
+        publish_num = #{record.publishNum,jdbcType=INTEGER},
+      </if>
+      <if test="record.excludeContentIndex != null">
+        exclude_content_index = #{record.excludeContentIndex,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">
+    update long_articles_account_special_settings
+    set id = #{record.id,jdbcType=BIGINT},
+      effective_date = #{record.effectiveDate,jdbcType=VARCHAR},
+      account_id = #{record.accountId,jdbcType=VARCHAR},
+      publish_push_time = #{record.publishPushTime,jdbcType=VARCHAR},
+      push_type = #{record.pushType,jdbcType=INTEGER},
+      publish_num = #{record.publishNum,jdbcType=INTEGER},
+      exclude_content_index = #{record.excludeContentIndex,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.longarticle.model.po.AccountSpecialSettings">
+    update long_articles_account_special_settings
+    <set>
+      <if test="effectiveDate != null">
+        effective_date = #{effectiveDate,jdbcType=VARCHAR},
+      </if>
+      <if test="accountId != null">
+        account_id = #{accountId,jdbcType=VARCHAR},
+      </if>
+      <if test="publishPushTime != null">
+        publish_push_time = #{publishPushTime,jdbcType=VARCHAR},
+      </if>
+      <if test="pushType != null">
+        push_type = #{pushType,jdbcType=INTEGER},
+      </if>
+      <if test="publishNum != null">
+        publish_num = #{publishNum,jdbcType=INTEGER},
+      </if>
+      <if test="excludeContentIndex != null">
+        exclude_content_index = #{excludeContentIndex,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.longarticle.model.po.AccountSpecialSettings">
+    update long_articles_account_special_settings
+    set effective_date = #{effectiveDate,jdbcType=VARCHAR},
+      account_id = #{accountId,jdbcType=VARCHAR},
+      publish_push_time = #{publishPushTime,jdbcType=VARCHAR},
+      push_type = #{pushType,jdbcType=INTEGER},
+      publish_num = #{publishNum,jdbcType=INTEGER},
+      exclude_content_index = #{excludeContentIndex,jdbcType=VARCHAR},
+      create_time = #{createTime,jdbcType=TIMESTAMP},
+      update_time = #{updateTime,jdbcType=TIMESTAMP}
+    where id = #{id,jdbcType=BIGINT}
+  </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_publish_match_content" domainObjectName="PublishMatchContent" alias=""/>
+        <table tableName="long_articles_account_special_settings" domainObjectName="AccountSpecialSettings" alias=""/>
 <!--            <table tableName="long_articles_plan" domainObjectName="Plan" alias=""/>-->
 
 <!--                <table tableName="long_articles_publish_content" domainObjectName="PublishContent" alias=""/>-->