📄 goodsoutstorelist.java
字号:
package com.wl.actionimpl;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.wl.action.Action;
import com.wl.dao.StockoutinfoDAO;
import com.wl.entity.StockInInfo;
import com.wl.entity.StockOutInfo;
public class GoodsOutStoreList implements Action{
public String doExcute(HttpServletRequest request,
HttpServletResponse response) {
StockInInfo stockininfo=(StockInInfo)request.getSession().getAttribute("goodsinstorelabor");
String stockOutId=stockininfo.getStockInId();
String stockOutDate=com.wl.util.GetTime.getTime();
int chargeId=stockininfo.getChargeId();
int goodsId=stockininfo.getGoodsId();
int goodsOutNumber=stockininfo.getGoodsInNumber();
String goodsReceive=request.getParameter("acceptGoods");
int typeId=stockininfo.getTypeId();
int commodityId=stockininfo.getCommodityId();
String goodsOutMemo=request.getParameter("remark");
StockOutInfo stockoutinfo=new StockOutInfo(stockOutId,stockOutDate,chargeId,goodsId,goodsOutNumber,goodsReceive,
typeId,commodityId,goodsOutMemo);
StockoutinfoDAO stockoutinfodao=new StockoutinfoDAO();
boolean flage=stockoutinfodao.AddInsertStockout(stockoutinfo);
if(flage){
return "/jsp/allstockout.do";
}
else{
return "/jsp/error.jsp";
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -