📄 khxxcountid.java
字号:
package com.webtier.khxxAction;
import org.apache.struts.action.*;
import javax.servlet.http.*;
import com.service.KhxxFacade;
import com.service.KhxxFacadeImpl;
import com.service.CqyxzFacade;
import com.service.CqyxzFacadeImpl;
import com.service.CqylxFacade;
import com.service.CqylxFacadeImpl;
import com.service.CqyzxFacade;
import com.service.CqyzxFacadeImpl;
import com.service.CbankFacade;
import com.service.CbankFacadeImpl;
import com.service.CkhjbFacade;
import com.service.CkhjbFacadeImpl;
//#--以数据库中的记录数,查找出多少记录计算,以便做帐号存贮--
public class KhxxCountID
extends Action {
private KhxxFacade facade = null;
private CqyxzFacade qyxz = null;
private CqylxFacade qylx = null;
private CqyzxFacade qyzx = null;
private CbankFacade bank = null;
private CkhjbFacade khjb = null;
public KhxxCountID() {
this.facade = new KhxxFacadeImpl();
this.qyxz = new CqyxzFacadeImpl();
this.qylx = new CqylxFacadeImpl();
this.qyzx = new CqyzxFacadeImpl();
this.bank = new CbankFacadeImpl();
this.khjb = new CkhjbFacadeImpl();
}
public ActionForward perform(ActionMapping actionMapping,
ActionForm actionForm,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse) {
String changeType = String.valueOf(this.facade.khxxCount());
httpServletRequest.setAttribute("changeType", changeType);
httpServletRequest.setAttribute("qylx", this.qylx.qylxSelect()); //企业类型的查询
httpServletRequest.setAttribute("qyxz", this.qyxz.qyxzSelect()); //企业性质的查询
httpServletRequest.setAttribute("qyzx", this.qyzx.qyzxSelect()); //企业资信的查询
httpServletRequest.setAttribute("bank", this.bank.bankSelect()); //银行的查询
httpServletRequest.setAttribute("khjb",this.khjb.khjgSelect()); //客户级别的查询
return actionMapping.findForward("khxxCountID");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -