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

📄 goodsinstorelabor.java

📁 老牌java开发的物流管理系统 详细的我也没有怎么看 好像是恒基的
💻 JAVA
字号:
package com.wl.actionimpl;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.wl.action.Action;
import com.wl.entity.StockInInfo;

public class GoodsInStoreLabor implements Action {

	@SuppressWarnings("unchecked")
	public String doExcute(HttpServletRequest request,HttpServletResponse response) {
		int id=Integer.parseInt(request.getParameter("id"));
		int num=Integer.parseInt(request.getParameter("num"));
		List<StockInInfo> dd=(List<StockInInfo>)request.getSession().getAttribute("stockinInfoList");
		StockInInfo stockininfo=null;
		for(int i=0;i<dd.size();i++){
			stockininfo=dd.get(i);
			int goodsid=stockininfo.getId();
			if(id==goodsid){
			break;
			}
		}
		request.getSession().setAttribute("goodsinstorelabor",stockininfo);
		if(num==0){
		return "/jsp/goodsinstorelabor.jsp";
		}
		else {
			return "/jsp/goodsoutStore.jsp";
		}
		}

}

⌨️ 快捷键说明

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