查询专题接口添加
This commit is contained in:
@@ -57,6 +57,13 @@ public class CmsSubject implements Serializable {
|
||||
*/
|
||||
private Integer forwardCount;
|
||||
|
||||
/**
|
||||
* 专题分类名称
|
||||
*
|
||||
* @mbggenerated
|
||||
*/
|
||||
private String categoryName;
|
||||
|
||||
private String content;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
@@ -173,6 +180,14 @@ public class CmsSubject implements Serializable {
|
||||
this.forwardCount = forwardCount;
|
||||
}
|
||||
|
||||
public String getCategoryName() {
|
||||
return categoryName;
|
||||
}
|
||||
|
||||
public void setCategoryName(String categoryName) {
|
||||
this.categoryName = categoryName;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
@@ -201,6 +216,7 @@ public class CmsSubject implements Serializable {
|
||||
sb.append(", description=").append(description);
|
||||
sb.append(", showStatus=").append(showStatus);
|
||||
sb.append(", forwardCount=").append(forwardCount);
|
||||
sb.append(", categoryName=").append(categoryName);
|
||||
sb.append(", content=").append(content);
|
||||
sb.append(", serialVersionUID=").append(serialVersionUID);
|
||||
sb.append("]");
|
||||
|
||||
@@ -984,6 +984,76 @@ public class CmsSubjectExample {
|
||||
addCriterion("forward_count not between", value1, value2, "forwardCount");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameIsNull() {
|
||||
addCriterion("category_name is null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameIsNotNull() {
|
||||
addCriterion("category_name is not null");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameEqualTo(String value) {
|
||||
addCriterion("category_name =", value, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameNotEqualTo(String value) {
|
||||
addCriterion("category_name <>", value, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameGreaterThan(String value) {
|
||||
addCriterion("category_name >", value, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameGreaterThanOrEqualTo(String value) {
|
||||
addCriterion("category_name >=", value, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameLessThan(String value) {
|
||||
addCriterion("category_name <", value, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameLessThanOrEqualTo(String value) {
|
||||
addCriterion("category_name <=", value, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameLike(String value) {
|
||||
addCriterion("category_name like", value, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameNotLike(String value) {
|
||||
addCriterion("category_name not like", value, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameIn(List<String> values) {
|
||||
addCriterion("category_name in", values, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameNotIn(List<String> values) {
|
||||
addCriterion("category_name not in", values, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameBetween(String value1, String value2) {
|
||||
addCriterion("category_name between", value1, value2, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
|
||||
public Criteria andCategoryNameNotBetween(String value1, String value2) {
|
||||
addCriterion("category_name not between", value1, value2, "categoryName");
|
||||
return (Criteria) this;
|
||||
}
|
||||
}
|
||||
|
||||
public static class Criteria extends GeneratedCriteria {
|
||||
|
||||
Reference in New Issue
Block a user