selectmmsresultaction.java

来自「移动彩信管理平台」· Java 代码 · 共 190 行

JAVA
190
字号
package com.my7g.zj.mobile.mms.web.action;

import java.util.Date;
import java.util.List;

import com.my7g.zj.mobile.mms.business.ISelectMMSService;
import com.my7g.zj.mobile.mms.sys.Constant;
import com.my7g.zj.mobile.mms.util.PageBean;
import com.opensymphony.xwork2.ActionSupport;

/**
 * 彩信查询页面
 * 
 * @author CZJ
 * 
 *	<p>最后修改日期:2007-12-17</p>
 */
public class SelectMMSResultAction extends ActionSupport {
	
	/**
	 ****************execute()方法获取(彩信查询)************************************
	 */
	public String execute() throws Exception{
		
		int cpage = 1;
		
		if (page != null && !page.equalsIgnoreCase("null"))
			cpage = Integer.parseInt(page);

		String dohref = Constant.WEB_CTX + "/selectMMSResult.do?typyIndex="
				+ typyIndex + "&&title=" + title + "&&checkstate=" + checkstate + "&&startDate=" + startDate + "&&endDate=" + endDate + "&&keyword=" + keyword;
		
		PageBean pageBean = selectMMSServiceImpl.selectMMS(cpage, 10, dohref, typyIndex, title, checkstate, startDate, endDate, keyword);
		
		listResult = pageBean.getList();
		
		href = pageBean.getHref();
		
		typeIndexList = selectMMSServiceImpl.getMmsTypeIndex();
//		System.out.println(typeIndexList.size() +"=================================");
		
		return SUCCESS;
	}
	
	/**
	 * *****************业务接口(彩信查询)属性及方法**************************************
	 */
	
	private ISelectMMSService selectMMSServiceImpl;
	


	

	/**
	 * ******************页面数据(彩信上传)属性及方法*********************************
	 * 
	 */
	
	private List listResult;
	
	private Date date;

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}
	
	private List typeIndexList;



	public List getTypeIndexList() {
		return typeIndexList;
	}

	public void setTypeIndexList(List typeIndexList) {
		this.typeIndexList = typeIndexList;
	}

	public ISelectMMSService getSelectMMSServiceImpl() {
		return selectMMSServiceImpl;
	}

	public void setSelectMMSServiceImpl(ISelectMMSService selectMMSServiceImpl) {
		this.selectMMSServiceImpl = selectMMSServiceImpl;
	}

	private String page;

	private String href;

	
	private String typyIndex;

	private String title;
	
	private String checkstate;
	
	private String startDate;
	
	private String endDate;
	
	private String keyword;

	public String getCheckstate() {
		return checkstate;
	}

	public void setCheckstate(String checkstate) {
		this.checkstate = checkstate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getTypyIndex() {
		return typyIndex;
	}

	public void setTypyIndex(String typyIndex) {
		this.typyIndex = typyIndex;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public String getPage() {
		return page;
	}

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

	public List getListResult() {
		return listResult;
	}

	public void setListResult(List listResult) {
		this.listResult = listResult;
	}
	
	


	
	
	

	
}

⌨️ 快捷键说明

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