clientshow.java~2~
来自「客户关系管理系统,包括数据库,类,所有运行所需的代码及文件」· JAVA~2~ 代码 · 共 31 行
JAVA~2~
31 行
package com.webtier.queryInformation;
import org.apache.struts.action.*;
import javax.servlet.http.*;
import com.service.KhxxFacadeImpl;
import com.service.KhxxFacade;
import com.domain.KhxxForm;
import com.tool.Chinese;
import java.util.List;
//以客户名称查找数据
public class ClientShow
extends Action {
private KhxxFacade facade = null;
public ClientShow() {
this.facade = new KhxxFacadeImpl();
}
public ActionForward perform(ActionMapping actionMapping,
ActionForm actionForm,
HttpServletRequest httpServletRequest,
HttpServletResponse httpServletResponse) {
/**@todo: complete the business logic here, this is just a skeleton.*/
KhxxForm khxxForm = (KhxxForm) actionForm;
Chinese chinese=new Chinese();
khxxForm.setKhxx_mc(chinese.str(httpServletRequest.getParameter("khmc")));
List mcList = this.facade.khxxMc(khxxForm);
httpServletRequest.setAttribute("mc", mcList);
return actionMapping.findForward("clientShow");
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?