📄 clientshow.java~3~
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -