首页>代码>大嘴首发J2EE框架,Bigmouth-framework你值得拥有!>/bigmouth/bigmouth-framework/trunk/src/main/java/org/apache/ibatis/session/RowBounds.java
/* * 文件名称: RowBounds.java * 版权信息: Copyright 2005-2012 SKY-MOBI Inc. All right reserved. * ---------------------------------------------------------------------------------------------- * 修改历史: * ---------------------------------------------------------------------------------------------- * 修改原因: 新增 * 修改人员: Allen.Hu * 修改日期: 2012-7-6 * 修改内容: */ package org.apache.ibatis.session; /** * * @author Allen.Hu / 2012-7-6 * 针对mybatis不同方言的分页实现中增加“总记录数” */ public class RowBounds { public final static int NO_ROW_OFFSET = 0; public final static int NO_ROW_LIMIT = Integer.MAX_VALUE; public final static RowBounds DEFAULT = new RowBounds(); public final static String COUNT_COLUMN_ALIAS = "ROW_COUNT_ASDFG_ASDFG__"; // pageNo protected int offset; // pageSize protected int limit; // totalCount protected int totalCount; public RowBounds() { this.offset = NO_ROW_OFFSET; this.limit = NO_ROW_LIMIT; } public RowBounds(int offset, int limit) { this.offset = offset; this.limit = limit; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public int getOffset() { return offset; } public int getLimit() { return limit; } }

ssmss951 LV3
2023年2月27日
微信网友_5970838873509888 LV2
2022年5月24日
hwshws LV9
2021年5月24日
gyd二蛋不是扁的 LV2
2019年12月11日
huangjiarui LV11
2019年11月28日
luohaipeng LV23
2019年11月19日
w2lijing2 LV10
2019年9月16日
等待or进取 LV1
2019年8月24日
低调人 LV38
2019年8月4日
1763157114 LV15
2019年7月8日

KWAN112234 LV1
2023年8月18日
ssmss951 LV3
2023年2月27日
微信网友_6248713511227392 LV11
2022年12月5日
微信网友_5970838873509888 LV2
2022年5月24日
你曾是少年啊
2022年2月16日
暂无贡献等级
刘亦菲9527 LV15
2021年12月1日
543666826 LV34
2021年11月18日
好的好的 LV8
2021年6月21日
zxfzxf LV5
2021年6月21日
jackychen1012 LV2
2021年6月18日