• 大小: 11.27MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-07-12
  • 语言: 其他
  • 标签: java  

资源简介

该代码可以实现仓库库存管理系统的基本功能,实现对仓库中的商品进行增删改查。对管理员、用户进行增删改查。总共有八个页面,分别是主页面、供应商管理、入库管理、出库管理、类别管理,库存管理等。还包括数据库。

资源截图

代码片段和文件信息

package com.java1234.action;

import java.io.File;
import java.io.FileInputStream;
import java.sql.Connection;
import java.sql.ResultSet;
import java.util.ArrayList;


import javax.servlet.http.HttpServletRequest;


import net.sf.json.JSONArray;
import net.sf.json.JSONobject;

import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.struts2.ServletActionContext;
import org.apache.struts2.interceptor.ServletRequestAware;

import com.opensymphony.xwork2.ActionSupport;
import com.java1234.dao.GoodsDao;
import com.java1234.dao.InGoodsDao;
import com.java1234.dao.OutGoodsDao;
import com.java1234.dao.SaveGoodsDao;
import com.java1234.model.Goods;

import com.java1234.model.PageBean;
import com.java1234.util.DbUtil;
import com.java1234.util.ExcelUtil;
import com.java1234.util.JsonUtil;
import com.java1234.util.ResponseUtil;
import com.java1234.util.StringToInt;
import com.java1234.util.StringUtil;

public class GoodsAction extends ActionSupport implements ServletRequestAware{
private static final long serialVersionUID = 1L;
private Goods goods;
private String goodscode;
private String goodsname;
private String supplyid;
private String typeid;
private String goodsothers;
private String page;
private String rows;
private String delIds;
private String goodsid;
private File goodsUploadFile;

public File getGoodsUploadFile() {
return goodsUploadFile;
}

public void setGoodsUploadFile(File goodsUploadFile) {
this.goodsUploadFile = goodsUploadFile;
}

HttpServletRequest request;

public HttpServletRequest getRequest() {
return request;
}

public void setRequest(HttpServletRequest request) {
this.request = request;
}

public String getSupplyid() {
return supplyid;
}

public void setSupplyid(String supplyid) {
this.supplyid = supplyid;
}

public String getTypeid() {
return typeid;
}

public void setTypeid(String typeid) {
this.typeid = typeid;
}

public String getGoodscode() {
return goodscode;
}

public void setGoodscode(String goodscode) {
this.goodscode = goodscode;
}

public String getGoodsname() {
return goodsname;
}

public void setGoodsname(String goodsname) {
this.goodsname = goodsname;
}

public String getGoodsothers() {
return goodsothers;
}

public void setGoodsothers(String goodsothers) {
this.goodsothers = goodsothers;
}

public String getGoodsid() {
return goodsid;
}

public void setGoodsid(String goodsid) {
this.goodsid = goodsid;
}

public String getPage() {
return page;
}

public void setPage(String page) {
this.page = page;
}

public String getRows() {
return rows;
}

public void setRows(String rows) {
this.rows = rows;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-12-05 15:53  源代码\
     目录           0  2019-12-05 15:53  源代码\InventoryManageSystem\
     文件         727  2018-07-09 17:25  源代码\InventoryManageSystem\.classpath
     文件        1270  2018-07-09 17:25  源代码\InventoryManageSystem\.project
     目录           0  2019-12-05 15:53  源代码\InventoryManageSystem\.settings\
     文件         503  2018-07-09 17:25  源代码\InventoryManageSystem\.settings\.jsdtscope
     文件         395  2018-07-09 17:25  源代码\InventoryManageSystem\.settings\org.eclipse.jdt.core.prefs
     文件         493  2018-07-09 17:25  源代码\InventoryManageSystem\.settings\org.eclipse.wst.common.component
     文件         305  2018-07-09 17:25  源代码\InventoryManageSystem\.settings\org.eclipse.wst.common.project.facet.core.xml
     文件          49  2018-07-09 17:25  源代码\InventoryManageSystem\.settings\org.eclipse.wst.jsdt.ui.superType.container
     文件           6  2018-07-09 17:25  源代码\InventoryManageSystem\.settings\org.eclipse.wst.jsdt.ui.superType.name
     目录           0  2019-12-05 15:53  源代码\InventoryManageSystem\WebContent\
     文件        8770  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\Goods.jsp
     文件        6077  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\GoodsInfo.jsp
     文件        5274  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\GoodsTypeManage.jsp
     文件        9069  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\InGoods.jsp
     目录           0  2019-12-05 15:53  源代码\InventoryManageSystem\WebContent\meta-INF\
     文件          39  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\meta-INF\MANIFEST.MF
     文件        7673  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\OutGoods.jsp
     文件        6794  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\SaveGoods.jsp
     文件        6313  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\SupplyManManage.jsp
     目录           0  2019-12-05 15:53  源代码\InventoryManageSystem\WebContent\WEB-INF\
     目录           0  2019-12-05 15:53  源代码\InventoryManageSystem\WebContent\WEB-INF\lib\
     文件      231320  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\WEB-INF\lib\commons-beanutils-1.8.0.jar
     文件      571259  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\WEB-INF\lib\commons-collections-3.2.jar
     文件       59590  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\WEB-INF\lib\commons-fileupload-1.2.2.jar
     文件      159509  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\WEB-INF\lib\commons-io-2.0.1.jar
     文件      261809  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\WEB-INF\lib\commons-lang-2.4.jar
     文件      315805  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\WEB-INF\lib\commons-lang3-3.1.jar
     文件       60686  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\WEB-INF\lib\commons-logging-1.1.1.jar
     文件       77826  2018-07-09 17:25  源代码\InventoryManageSystem\WebContent\WEB-INF\lib\ezmorph-1.0.3.jar
............此处省略772个文件信息

评论

共有 条评论