📄 importgoodsbillgoodsupdtnameaction.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: ImportGoodsBillGoodsUpdtNameAction.java
package mediastore.web.action;
import java.io.PrintStream;
import javax.servlet.http.HttpSession;
import mediastore.common.SessionContext;
import mediastore.dao.*;
import mediastore.web.global.Globals;
import mediastore.web.page.ImportGoodsBillShowPage;
import mediastore.web.struts.*;
import org.apache.struts.action.ActionForward;
public class ImportGoodsBillGoodsUpdtNameAction extends AbstractAction
{
public ImportGoodsBillGoodsUpdtNameAction()
{
}
public ActionForward execute(ActionContext actionContext)
throws Exception
{
System.out.println("---Start: ImportGoodsBillGoodsUpdtNameAction::execute(actionContext)---");
String billIdStr = actionContext.getParameter("curBillId");
int billId = Integer.parseInt(billIdStr);
String goodsId = actionContext.getParameter("updategoodsid");
String newGoodsName = actionContext.getParameter("newgoodsname");
if(newGoodsName == null)
newGoodsName = "";
GoodsImportGoods gig = new GoodsImportGoods();
GoodsExportGoods geg = new GoodsExportGoods();
GoodsInfo gi = new GoodsInfo();
gig.updateGoodsName(goodsId, newGoodsName);
geg.updateGoodsName(goodsId, newGoodsName);
gi.updateGoodsName(goodsId, newGoodsName);
SessionContext ctx = (SessionContext)actionContext.getSession().getAttribute(Globals.SESSION_CONTEXT);
String curPerson = ctx.getUserName();
gi.updateCreators(goodsId, curPerson);
DynamicForm dynaForm = (DynamicForm)actionContext.getForm();
dynaForm.put("maxBillId", (new StringBuffer(String.valueOf(billId))).toString());
System.out.println("---End: ImportGoodsBillGoodsUpdtNameAction::execute(actionContext)---");
return ImportGoodsBillShowPage.show(actionContext);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -