📄 goodspropertymanageaddshelfaction.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: GoodsPropertyManageAddShelfAction.java
package mediastore.web.action;
import java.io.PrintStream;
import java.util.List;
import mediastore.dao.GoodsShelfIDCode;
import mediastore.web.page.GoodsPropertyManagePage;
import mediastore.web.struts.AbstractAction;
import mediastore.web.struts.ActionContext;
import org.apache.struts.action.ActionForward;
public class GoodsPropertyManageAddShelfAction extends AbstractAction
{
public GoodsPropertyManageAddShelfAction()
{
}
public ActionForward execute(ActionContext actionContext)
throws Exception
{
System.out.println("---Start: GoodsPropertyManageAddShelfAction::execute(actionContext)---");
GoodsShelfIDCode gsic = new GoodsShelfIDCode();
List goodsShelfIdList = gsic.getGoodsShelfIdList();
int max = 0;
for(int i = 0; i < goodsShelfIdList.size(); i++)
{
String tmpStrBuf[] = (String[])goodsShelfIdList.get(i);
if(Integer.parseInt(tmpStrBuf[0].trim()) > max)
max = Integer.parseInt(tmpStrBuf[0].trim());
}
max++;
String newGoodsShelfIdName = actionContext.getParameter("newshelfid");
gsic.insertNewGoodsShelfId(max, newGoodsShelfIdName);
System.out.println("---End: GoodsPropertyManageAddShelfAction::execute(actionContext)---");
return GoodsPropertyManagePage.show(actionContext);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -