重新生成代码
This commit is contained in:
parent
8c867427fb
commit
2caaa7fff6
|
@ -62,12 +62,10 @@ public class CmsArticleController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
CmsArticleExample cmsArticleExample = new CmsArticleExample();
|
||||
cmsArticleExample.setOffset(offset);
|
||||
cmsArticleExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsArticleExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsArticle> rows = cmsArticleService.selectByExample(cmsArticleExample);
|
||||
List<CmsArticle> rows = cmsArticleService.selectByExampleForOffsetPage(cmsArticleExample, offset, limit);
|
||||
long total = cmsArticleService.countByExample(cmsArticleExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -56,12 +56,10 @@ public class CmsCategoryController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
CmsCategoryExample cmsCategoryExample = new CmsCategoryExample();
|
||||
cmsCategoryExample.setOffset(offset);
|
||||
cmsCategoryExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsCategoryExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsCategory> rows = cmsCategoryService.selectByExample(cmsCategoryExample);
|
||||
List<CmsCategory> rows = cmsCategoryService.selectByExampleForOffsetPage(cmsCategoryExample, offset, limit);
|
||||
long total = cmsCategoryService.countByExample(cmsCategoryExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -52,12 +52,10 @@ public class CmsCommentController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
CmsCommentExample cmsCommentExample = new CmsCommentExample();
|
||||
cmsCommentExample.setOffset(offset);
|
||||
cmsCommentExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsCommentExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsComment> rows = cmsCommentService.selectByExampleWithBLOBs(cmsCommentExample);
|
||||
List<CmsComment> rows = cmsCommentService.selectByExampleWithBLOBsForOffsetPage(cmsCommentExample, offset, limit);
|
||||
long total = cmsCommentService.countByExample(cmsCommentExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -56,12 +56,10 @@ public class CmsMenuController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
CmsMenuExample cmsMenuExample = new CmsMenuExample();
|
||||
cmsMenuExample.setOffset(offset);
|
||||
cmsMenuExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsMenuExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsMenu> rows = cmsMenuService.selectByExample(cmsMenuExample);
|
||||
List<CmsMenu> rows = cmsMenuService.selectByExampleForOffsetPage(cmsMenuExample, offset, limit);
|
||||
long total = cmsMenuService.countByExample(cmsMenuExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -56,12 +56,10 @@ public class CmsPageController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
CmsPageExample cmsPageExample = new CmsPageExample();
|
||||
cmsPageExample.setOffset(offset);
|
||||
cmsPageExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsPageExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsPage> rows = cmsPageService.selectByExample(cmsPageExample);
|
||||
List<CmsPage> rows = cmsPageService.selectByExampleForOffsetPage(cmsPageExample, offset, limit);
|
||||
long total = cmsPageService.countByExample(cmsPageExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -56,12 +56,10 @@ public class CmsSettingController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
CmsSettingExample cmsSettingExample = new CmsSettingExample();
|
||||
cmsSettingExample.setOffset(offset);
|
||||
cmsSettingExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsSettingExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsSetting> rows = cmsSettingService.selectByExample(cmsSettingExample);
|
||||
List<CmsSetting> rows = cmsSettingService.selectByExampleForOffsetPage(cmsSettingExample, offset, limit);
|
||||
long total = cmsSettingService.countByExample(cmsSettingExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -56,12 +56,10 @@ public class CmsTagController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
CmsTagExample cmsTagExample = new CmsTagExample();
|
||||
cmsTagExample.setOffset(offset);
|
||||
cmsTagExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsTagExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsTag> rows = cmsTagService.selectByExample(cmsTagExample);
|
||||
List<CmsTag> rows = cmsTagService.selectByExampleForOffsetPage(cmsTagExample, offset, limit);
|
||||
long total = cmsTagService.countByExample(cmsTagExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -56,12 +56,10 @@ public class CmsTopicController extends BaseController {
|
|||
@RequestParam(required = false, value = "sort") String sort,
|
||||
@RequestParam(required = false, value = "order") String order) {
|
||||
CmsTopicExample cmsTopicExample = new CmsTopicExample();
|
||||
cmsTopicExample.setOffset(offset);
|
||||
cmsTopicExample.setLimit(limit);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsTopicExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsTopic> rows = cmsTopicService.selectByExample(cmsTopicExample);
|
||||
List<CmsTopic> rows = cmsTopicService.selectByExampleForOffsetPage(cmsTopicExample, offset, limit);
|
||||
long total = cmsTopicService.countByExample(cmsTopicExample);
|
||||
Map<String, Object> result = new HashMap<>();
|
||||
result.put("rows", rows);
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsArticleCategoryExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsArticleCategoryExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsArticleCategoryExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsArticleExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsArticleExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsArticleExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsArticleTagExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsArticleTagExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsArticleTagExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsCategoryExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsCategoryExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsCategoryExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsCategoryTagExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsCategoryTagExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsCategoryTagExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsCommentExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsCommentExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsCommentExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsMenuExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsMenuExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsMenuExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsPageExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsPageExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsPageExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsSettingExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsSettingExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsSettingExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsSystemExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsSystemExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsSystemExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsTagExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsTagExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsTagExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class CmsTopicExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public CmsTopicExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class CmsTopicExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -80,14 +80,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -117,14 +117,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
|
|
|
@ -80,14 +80,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -89,14 +89,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -80,14 +80,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -108,14 +108,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
|
|
|
@ -83,14 +83,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -107,14 +107,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
|
|
|
@ -80,14 +80,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -83,14 +83,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -86,14 +86,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -82,14 +82,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -87,12 +87,10 @@ public class BlogController extends BaseController {
|
|||
cmsArticleExample.createCriteria()
|
||||
.andStatusEqualTo((byte) 1)
|
||||
.andSystemIdEqualTo(system.getSystemId());
|
||||
cmsArticleExample.setOffset((page - 1) * rows);
|
||||
cmsArticleExample.setLimit(rows);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsArticleExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsArticle> articles = cmsArticleService.selectByExample(cmsArticleExample);
|
||||
List<CmsArticle> articles = cmsArticleService.selectByExampleForOffsetPage(cmsArticleExample, (page - 1) * rows, rows);
|
||||
model.addAttribute("articles", articles);
|
||||
// 文章总数
|
||||
long total = cmsArticleService.countByExample(cmsArticleExample);
|
||||
|
|
|
@ -87,12 +87,10 @@ public class NewsController extends BaseController {
|
|||
cmsArticleExample.createCriteria()
|
||||
.andStatusEqualTo((byte) 1)
|
||||
.andSystemIdEqualTo(system.getSystemId());
|
||||
cmsArticleExample.setOffset((page - 1) * rows);
|
||||
cmsArticleExample.setLimit(rows);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsArticleExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsArticle> articles = cmsArticleService.selectByExample(cmsArticleExample);
|
||||
List<CmsArticle> articles = cmsArticleService.selectByExampleForOffsetPage(cmsArticleExample, (page - 1) * rows, rows);
|
||||
model.addAttribute("articles", articles);
|
||||
// 文章总数
|
||||
long total = cmsArticleService.countByExample(cmsArticleExample);
|
||||
|
|
|
@ -87,12 +87,10 @@ public class QaController extends BaseController {
|
|||
cmsArticleExample.createCriteria()
|
||||
.andStatusEqualTo((byte) 1)
|
||||
.andSystemIdEqualTo(system.getSystemId());
|
||||
cmsArticleExample.setOffset((page - 1) * rows);
|
||||
cmsArticleExample.setLimit(rows);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsArticleExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsArticle> articles = cmsArticleService.selectByExample(cmsArticleExample);
|
||||
List<CmsArticle> articles = cmsArticleService.selectByExampleForOffsetPage(cmsArticleExample, (page - 1) * rows, rows);
|
||||
model.addAttribute("articles", articles);
|
||||
// 文章总数
|
||||
long total = cmsArticleService.countByExample(cmsArticleExample);
|
||||
|
|
|
@ -48,12 +48,10 @@ public class SearchController extends BaseController {
|
|||
cmsArticleExample.createCriteria()
|
||||
.andStatusEqualTo((byte) 1)
|
||||
.andTitleLike(keyword);
|
||||
cmsArticleExample.setOffset((page - 1) * rows);
|
||||
cmsArticleExample.setLimit(rows);
|
||||
if (!StringUtils.isBlank(sort) && !StringUtils.isBlank(order)) {
|
||||
cmsArticleExample.setOrderByClause(sort + " " + order);
|
||||
}
|
||||
List<CmsArticle> articles = cmsArticleService.selectByExample(cmsArticleExample);
|
||||
List<CmsArticle> articles = cmsArticleService.selectByExampleForOffsetPage(cmsArticleExample, (page - 1) * rows, rows);
|
||||
model.addAttribute("articles", articles);
|
||||
// 文章总数
|
||||
long total = cmsArticleService.countByExample(cmsArticleExample);
|
||||
|
|
|
@ -39,9 +39,7 @@ public class TopicController extends BaseController {
|
|||
// 专题列表
|
||||
int rows = 10;
|
||||
CmsTopicExample cmsTopicExample = new CmsTopicExample();
|
||||
cmsTopicExample.setOffset((page - 1) * rows);
|
||||
cmsTopicExample.setLimit(rows);
|
||||
List<CmsTopic> topics = cmsTopicService.selectByExample(cmsTopicExample);
|
||||
List<CmsTopic> topics = cmsTopicService.selectByExampleForOffsetPage(cmsTopicExample, (page - 1) * rows, rows);
|
||||
model.addAttribute("topics", topics);
|
||||
// 文章总数
|
||||
long total = cmsTopicService.countByExample(cmsTopicExample);
|
||||
|
|
|
@ -13,10 +13,6 @@ public class PayInOrderDetailExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public PayInOrderDetailExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class PayInOrderDetailExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class PayInOrderExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public PayInOrderExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class PayInOrderExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class PayMchExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public PayMchExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class PayMchExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class PayOutOrderDetailExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public PayOutOrderDetailExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class PayOutOrderDetailExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class PayOutOrderExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public PayOutOrderExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class PayOutOrderExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class PayPayExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public PayPayExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class PayPayExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class PayTypeExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public PayTypeExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class PayTypeExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class PayVendorExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public PayVendorExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class PayVendorExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -13,10 +13,6 @@ public class PayVestExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public PayVestExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class PayVestExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -85,14 +85,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -83,14 +83,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -82,14 +82,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -80,14 +80,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -83,14 +83,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -80,14 +80,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -80,14 +80,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -82,14 +82,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -81,14 +81,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -13,10 +13,6 @@ public class UcenterOauthExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UcenterOauthExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -70,22 +66,6 @@ public class UcenterOauthExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -14,10 +14,6 @@ public class UcenterUserDetailsExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UcenterUserDetailsExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -71,22 +67,6 @@ public class UcenterUserDetailsExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -14,10 +14,6 @@ public class UcenterUserExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UcenterUserExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -71,22 +67,6 @@ public class UcenterUserExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -14,10 +14,6 @@ public class UcenterUserLogExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UcenterUserLogExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -71,22 +67,6 @@ public class UcenterUserLogExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -14,10 +14,6 @@ public class UcenterUserOauthExample implements Serializable {
|
|||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
private Integer limit;
|
||||
|
||||
private Integer offset;
|
||||
|
||||
public UcenterUserOauthExample() {
|
||||
oredCriteria = new ArrayList<Criteria>();
|
||||
}
|
||||
|
@ -71,22 +67,6 @@ public class UcenterUserOauthExample implements Serializable {
|
|||
distinct = false;
|
||||
}
|
||||
|
||||
public void setLimit(Integer limit) {
|
||||
this.limit = limit;
|
||||
}
|
||||
|
||||
public Integer getLimit() {
|
||||
return limit;
|
||||
}
|
||||
|
||||
public void setOffset(Integer offset) {
|
||||
this.offset = offset;
|
||||
}
|
||||
|
||||
public Integer getOffset() {
|
||||
return offset;
|
||||
}
|
||||
|
||||
protected abstract static class GeneratedCriteria implements Serializable {
|
||||
protected List<Criterion> criteria;
|
||||
|
||||
|
|
|
@ -79,14 +79,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -83,14 +83,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -104,14 +104,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
|
|
|
@ -88,14 +88,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
select
|
||||
|
|
|
@ -104,14 +104,6 @@
|
|||
<if test="orderByClause != null">
|
||||
order by ${orderByClause}
|
||||
</if>
|
||||
<if test="limit != null">
|
||||
<if test="offset != null">
|
||||
limit ${offset}, ${limit}
|
||||
</if>
|
||||
<if test="offset == null">
|
||||
limit ${limit}
|
||||
</if>
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
|
||||
select
|
||||
|
|
Loading…
Reference in New Issue