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

📄 exportbillsearchaction.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:   ExportBillSearchAction.java

package mediastore.web.action;

import java.io.PrintStream;
import mediastore.rule.ExportBillSearchRule;
import mediastore.web.global.Globals;
import mediastore.web.page.ExportBillSearchConPage;
import mediastore.web.struts.*;
import org.apache.struts.action.ActionForward;

public class ExportBillSearchAction extends AbstractAction
{

    public ExportBillSearchAction()
    {
    }

    public ActionForward execute(ActionContext actionContext)
        throws Exception
    {
        System.out.println("---Start: ExportBillSearchAction::execute(actionContext)---");
        String startRecNumStr = actionContext.getParameter("start_rec_num");
        int startRecNum = Integer.parseInt(startRecNumStr);
        int recNumOfPage = Globals.REC_NUM_OF_PAGE;
        String orderStr = actionContext.getParameter("orderstr");
        String billIdStr = actionContext.getParameter("billid");
        int billId = Integer.parseInt(billIdStr);
        String memberIdStr = actionContext.getParameter("memberid");
        if(memberIdStr == null || "".equals(memberIdStr))
            memberIdStr = "-1";
        int memberId = Integer.parseInt(memberIdStr);
        String salesPersons = actionContext.getParameter("salespersons");
        String exportTime1 = actionContext.getParameter("exporttime1");
        if(exportTime1 == null)
            exportTime1 = "1978-06-01 23:59:59";
        String exportTime2 = actionContext.getParameter("exporttime2");
        if(exportTime2 == null)
            exportTime2 = "2078-06-01 23:59:59";
        String paymentTime1 = actionContext.getParameter("paymenttime1");
        if(paymentTime1 == null)
            paymentTime1 = "";
        String paymentTime2 = actionContext.getParameter("paymenttime2");
        if(paymentTime2 == null)
            paymentTime2 = "";
        ExportBillSearchRule ebsr = new ExportBillSearchRule();
        ebsr.setStartRecNum(startRecNum);
        ebsr.setRecNumOfPage(recNumOfPage);
        ebsr.setOrderStr(orderStr);
        ebsr.setBillId(billId);
        ebsr.setMemberId(memberId);
        ebsr.setSalesPersons(salesPersons);
        ebsr.setExportTime1(exportTime1);
        ebsr.setExportTime2(exportTime2);
        ebsr.setPaymentTime1(paymentTime1);
        ebsr.setPaymentTime2(paymentTime2);
        System.out.println("startRecNum:" + startRecNum);
        System.out.println("recNumOfPage:" + recNumOfPage);
        System.out.println("orderStr:" + orderStr);
        System.out.println("billId:" + billId);
        System.out.println("memberId:" + memberId);
        System.out.println("salesPersons:" + salesPersons);
        System.out.println("exportTime1:" + exportTime1);
        System.out.println("exportTime2:" + exportTime2);
        System.out.println("paymentTime1:" + paymentTime1);
        System.out.println("paymentTime2:" + paymentTime2);
        DynamicForm dynaForm = (DynamicForm)actionContext.getForm();
        dynaForm.put("exportBillSearchRule", ebsr);
        System.out.println("---End: ExportBillSearchAction::execute(actionContext)---");
        return ExportBillSearchConPage.show(actionContext);
    }
}

⌨️ 快捷键说明

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