exportitemsearchconpage.java

来自「用jsp,java写的在线购物系统」· Java 代码 · 共 64 行

JAVA
64
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?