📄 rwglqblbmbean.java
字号:
package gov.gdlt.ssgly.taxweb.mbean.rwgl;
import java.util.*;
import gov.gdlt.ssgly.taxcore.comm.log.*;
import gov.gdlt.ssgly.taxweb.tag.*;
import gov.gdlt.ssgly.taxweb.comm.util.WebUtil;
/**
* <p>Title: 查看全部任务</p>
*
* <p>Description: 广东地税税收管理员工作平台</p>
*
* <p>Copyright: Copyright (c) 2005 广东省地方税务局,广州市地方税务局</p>
*
* <p>Company: 广州地税</p>
*
* @author 王隽
* @version 1.0
*/
public class RWGLqblbMBean extends PagedBaseBean {
private ArrayList rwlbVO;
private String swry_dm;
private String lblx;
private String gjz;
public RWGLqblbMBean() {
lblx = "qblb"; //指定列表类型
swry_dm = (String) WebUtil.eval("#{user.userID}");
LogWritter.sysDebug("MBean for qblb created! swry=" + swry_dm);
//获取列表数据,不再使用此方法获取列表数据
//this.getRwlb(lblx);
}
public void setRwlbVO(ArrayList rwlbVO) {
this.rwlbVO = rwlbVO;
}
public void setLblx(String lblx) {
this.lblx = lblx;
}
public void setGjz(String gjz) {
this.gjz = gjz;
}
public ArrayList getRwlbVO() {
return this.rwlbVO;
}
public String getLblx() {
return lblx;
}
public String getGjz() {
return gjz;
}
/**
* getTotalPage
* 实现分页列表抽象方法,获取列表总行数
* @throws Exception
* @todo Implement this gov.gdlt.ssgly.taxweb.tag.PagedBaseBean method
*/
protected void getTotalPage() throws Exception {
//使用count时,执行MathTotalasCount,如果没有count,则使用MathTotal
LogWritter.sysDebug("------------getTotalPage-----------------");
String tempGJZ = WebUtil.getParameterFromContextMap("gjz");
if ("重要".equals(tempGJZ)) {
tempGJZ = "zhongyao";
} else if ("一般".equals(tempGJZ)) {
tempGJZ = "yiban";
}
if (totalPageCount == 0) {
if (tempGJZ == null || "".equals(tempGJZ)) {
this.totalPageCount = MathTotalAsCount("T_RWGL_RWJL.getQblbCount", swry_dm, 20);
} else {
HashMap ha = new HashMap();
ha.put("swry_dm", swry_dm);
ha.put("rwms", tempGJZ);
ha.put("yxj", tempGJZ.trim());
ha.put("rwlx", tempGJZ);
ha.put("rwxl", tempGJZ);
ha.put("blfs", tempGJZ);
ha.put("rwxd", tempGJZ);
ha.put("cjsj", tempGJZ);
ha.put("jbsj", tempGJZ);
ha.put("blqx", tempGJZ);
ha.put("nsrbm", tempGJZ);
this.totalPageCount = MathTotalAsCount("T_RWGL_RWJL.getQblbByGJZASCount", ha, 20);
}
}
}
/**
* refreshObjectList
* 实现分页列表抽象方法,获取某页数据
* @param currentPage int
* @throws Exception
* @todo Implement this gov.gdlt.ssgly.taxweb.tag.PagedBaseBean method
*/
protected void refreshObjectList(int currentPage) throws Exception {
LogWritter.sysDebug("------------refreshObjectList-----------------");
String tempGJZ = WebUtil.getParameterFromContextMap("gjz");
if ("重要".equals(tempGJZ)) {
tempGJZ = "zhongyao";
} else if ("一般".equals(tempGJZ)) {
tempGJZ = "yiban";
}
if (tempGJZ == null || "".equals(tempGJZ)) {
rwlbVO = (ArrayList) getSplitTable("T_RWGL_RWJL.getQblb", swry_dm, 20,currentPage);
} else {
HashMap ha = new HashMap();
ha.put("swry_dm", swry_dm);
ha.put("rwms", tempGJZ);
ha.put("yxj", tempGJZ.trim());
ha.put("rwlx", tempGJZ);
ha.put("rwxl", tempGJZ);
ha.put("blfs", tempGJZ);
ha.put("rwxd", tempGJZ);
ha.put("cjsj", tempGJZ);
ha.put("jbsj", tempGJZ);
ha.put("blqx", tempGJZ);
ha.put("nsrbm", tempGJZ);
rwlbVO = (ArrayList) getSplitTable("T_RWGL_RWJL.getQblbByGJZ",ha, 20, currentPage);
}
if ("zhongyao".equals(tempGJZ)) {
tempGJZ = "重要";
} else if ("yiban".equals(tempGJZ)) {
tempGJZ = "一般";
}
gjz = tempGJZ;
//this.totalPageCount= MathTotal("T_DM_GZRZ_SXJB.selectAllSxCount", null, 10);
}
/**
* runExtraRoutine
*
* @todo Implement this gov.gdlt.ssgly.taxweb.tag.PagedBaseBean method
*/
protected void runExtraRoutine() {
}
/**
* sort
*
* @param column String
* @param ascending boolean
* @todo Implement this gov.gdlt.ssgly.taxweb.tag.PagedBaseBean method
*/
protected void sort(String column, boolean ascending) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -