⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exportitemsearchconpage.java

📁 用jsp,java写的在线购物系统
💻 JAVA
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   ExportItemSearchConPage.java

package mediastore.web.page;

import java.io.PrintStream;
import javax.servlet.http.HttpServletRequest;
import mediastore.dao.GoodsExportGoods;
import mediastore.rule.ExportItemSearchRule;
import mediastore.web.form.ExportItemSearchConFB;
import mediastore.web.global.Globals;
import mediastore.web.struts.ActionContext;
import mediastore.web.struts.DynamicForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

public class ExportItemSearchConPage
{

    public ExportItemSearchConPage()
    {
    }

    public static ActionForward show(ActionContext actionContext)
        throws Exception
    {
        System.out.println("---Start: ExportItemSearchConPage::show(actionContext)---");
        DynamicForm dynaForm = (DynamicForm)actionContext.getForm();
        ExportItemSearchRule eisr = (ExportItemSearchRule)dynaForm.get("exportItemSearchRule");
        ExportItemSearchConFB eiscfb = new ExportItemSearchConFB();
        GoodsExportGoods geg = new GoodsExportGoods();
        mediastore.web.form.ExportItemSearchResultInfo eisri = null;
        if(eisr == null)
            eisri = null;
        else
            eisri = geg.getItemListByRule(eisr);
        float totalProfit = 0.0F;
        if(eisr == null)
            totalProfit = 0.0F;
        else
            totalProfit = geg.getTotalProfitByRule(eisr);
        java.util.List billIdList = geg.getBillIdList();
        java.util.List salesPersonList = geg.getSalesPersonList();
        int pageRecNum = Globals.REC_NUM_OF_PAGE;
        int startRecNum = 1;
        if(eisr == null)
            startRecNum = 1;
        else
            startRecNum = eisr.getStartRecNum();
        eiscfb.setBillIdList(billIdList);
        eiscfb.setSalesPersonList(salesPersonList);
        eiscfb.setEisri(eisri);
        eiscfb.setEisr(eisr);
        eiscfb.setStartRecNum(startRecNum);
        eiscfb.setPageRecNum(pageRecNum);
        eiscfb.setTotalProfit(totalProfit);
        actionContext.getRequest().setAttribute(Globals.REQUEST_EXPORTITEMSEARCHCON, eiscfb);
        System.out.println("---End: ExportItemSearchConPage::show(actionContext)---");
        return actionContext.getMapping().findForward("ExportItemSearchCon");
    }
}

⌨️ 快捷键说明

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