⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 getlistpage.java

📁 该源代码实现了系统的进货
💻 JAVA
字号:
package operation;

import java.util.Vector;

import entity.ContactBean;

public class GetListPage
{
	public int curPage = 0;
	public int maxPage = 0;
	public int maxRowCount=0;
	public int rowsPerPage = 30;
	public Vector data;
	
	public void countMaxPage()
	{
		if(this.maxRowCount%this.rowsPerPage==0)
		{
			this.maxPage=this.maxRowCount/this.rowsPerPage;
			
		}
		else
		{
			this.maxPage=this.maxRowCount/this.rowsPerPage+1;
		}
	}
	public Vector getResult()
	{
		return this.data;
	}
	public GetListPage(GetListOperation glo) throws Exception
	{
		this.maxRowCount=glo.totalrows;
		this.data=glo.getResult();
		this.countMaxPage();
		
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -