New file |
| | |
| | | package cn.com.basic.face.service;
|
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import cn.com.basic.face.discern.common.CommonVariables;
|
| | |
|
| | | public class BaseMng {
|
| | |
|
| | | public void addPageFooter(boolean hasMorePages, int pageNum, List list) {
|
| | | if (hasMorePages) {
|
| | | list.add(CommonVariables.Page.hasMorePages);
|
| | | } else {
|
| | | if (pageNum > 1) {
|
| | | list.add(CommonVariables.Page.reachBottom);
|
| | | } else {
|
| | | if (list.size() > 0) {
|
| | | list.add(CommonVariables.Page.reachBottom);
|
| | | } else {
|
| | | //itemList.add(CommonVariables.Page.noMorePage);
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | }
|