package qiangjun.com.action;

import java.util.List;

import qiangjun.com.entity.Test;
import qiangjun.com.service.TestIservice;
import qiangjun.com.util.PageControl;

import com.opensymphony.xwork2.ActionSupport;

public class TestAction extends ActionSupport{

	private TestIservice 	tser;
	private List<Test> 		test;
	private PageControl 	page;
	private int 			curpage;
	public String query()throws Exception{
		if(page == null) {
			page = new PageControl();
		}
		page.setInt_num(5);
		page.init(curpage, tser.queryInfoNum());
		test = tser.queryAllInfo(page);
		return "return_query";
	}
	
	/*
	 * Setter	and		Getter
	 */
	public TestIservice getTser() {
		return tser;
	}
	public void setTser(TestIservice tser) {
		this.tser = tser;
	}

	public List<Test> getTest() {
		return test;
	}

	public void setTest(List<Test> test) {
		this.test = test;
	}

	public PageControl getPage() {
		return page;
	}

	public void setPage(PageControl page) {
		this.page = page;
	}

	public int getCurpage() {
		return curpage;
	}

	public void setCurpage(int curpage) {
		this.curpage = curpage;
	}
	
}
最近下载更多
yexiansheng  LV1 2021年11月7日
王步庆  LV9 2020年5月15日
bocelli  LV1 2019年11月26日
blackbutofkk  LV1 2019年11月12日
A1299492670  LV6 2019年9月23日
dsadasdwf  LV12 2019年9月2日
yiigsoo  LV7 2019年6月17日
yinsings  LV9 2019年4月10日
卫龙123  LV6 2019年1月30日
hdhbshs  LV16 2019年1月15日
最近浏览更多
WBelong  LV7 2023年12月11日
3516569014  LV5 2023年5月8日
女王不该在山炮村养花  LV8 2023年4月16日
qfch120  LV8 2023年3月28日
sgwtfdtvd  LV1 2022年6月8日
1072236722 2022年5月19日
暂无贡献等级
流年不辜  LV9 2022年4月27日
wanglinddad  LV54 2022年4月16日
大彬  LV2 2021年12月10日
yexiansheng  LV1 2021年11月7日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友