exportgoodsbilluptmembidaction.java

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

JAVA
40
字号
// 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:   ExportGoodsBillUptMembIdAction.java

package mediastore.web.action;

import java.io.PrintStream;
import mediastore.dao.GoodsExportGoods;
import mediastore.web.page.ExportGoodsBillShowPage;
import mediastore.web.struts.*;
import org.apache.struts.action.ActionForward;

public class ExportGoodsBillUptMembIdAction extends AbstractAction
{

    public ExportGoodsBillUptMembIdAction()
    {
    }

    public ActionForward execute(ActionContext actionContext)
        throws Exception
    {
        System.out.println("---Start: ExportGoodsBillUptMembIdAction::execute(actionContext)---");
        String billIdStr = actionContext.getParameter("curBillId");
        int billId = Integer.parseInt(billIdStr);
        String newMemberIdStr = actionContext.getParameter("newmemberid");
        System.out.println("newMemberIdStr:" + newMemberIdStr);
        if(newMemberIdStr == null)
            newMemberIdStr = "0";
        int newMemberId = Integer.parseInt(newMemberIdStr);
        GoodsExportGoods geg = new GoodsExportGoods();
        geg.updateMemberId(billId, newMemberId);
        DynamicForm dynaForm = (DynamicForm)actionContext.getForm();
        dynaForm.put("maxBillId", (new StringBuffer(String.valueOf(billId))).toString());
        System.out.println("---End: ExportGoodsBillUptMembIdAction::execute(actionContext)---");
        return ExportGoodsBillShowPage.show(actionContext);
    }
}

⌨️ 快捷键说明

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