clientselectkhxx.java~4~

来自「客户关系管理系统,包括数据库,类,所有运行所需的代码及文件」· JAVA~4~ 代码 · 共 37 行

JAVA~4~
37
字号
package com.webtier.queryInformation;

import org.apache.struts.action.*;
import javax.servlet.http.*;
import com.domain.KhxxForm;
import com.service.KhxxFacade;
import com.service.KhxxFacadeImpl;
import com.domain.KhxxForm;
import com.tool.Chinese;
import java.util.List;
import com.domain.SkhfkForm;

//根据名称去查询
public class ClientSelectKhxx
    extends Action {
  private KhxxFacade facade = null;
  public ClientSelectKhxx() {
    this.facade = new KhxxFacadeImpl();
  }

  public ActionForward perform(ActionMapping actionMapping,
                               ActionForm actionForm,
                               HttpServletRequest httpServletRequest,
                               HttpServletResponse httpServletResponse) {
    SkhfkForm skhfkForm = (SkhfkForm) actionForm;
    KhxxForm khxxForm = (KhxxForm) actionForm;
    List mc = (List) httpServletRequest.getAttribute("khmc");
    for(int i=0;i<mc.size();i++){
    SkhfkForm form=(SkhfkForm)mc.get(i);

    System.out.println("mc"+mc);
    khxxForm.setKhxx_mc(Chinese.str(form.getKhfk_khmc()));
    httpServletRequest.setAttribute("form", this.facade.khxxMc(khxxForm));
    }
    return actionMapping.findForward("clientSelectKhxx");
  }
}

⌨️ 快捷键说明

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