重新生成代码

This commit is contained in:
shuzheng 2017-05-02 22:46:46 +08:00
parent 8c867427fb
commit 2caaa7fff6
65 changed files with 13 additions and 767 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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