• 大小: 11.12MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-29
  • 语言: Java
  • 标签:

资源简介

完整项目+mysql数据库

资源截图

代码片段和文件信息

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;

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        830  2013-11-09 18:57  库存\InventoryManageSystem\.classpath

     文件       1270  2013-11-09 18:51  库存\InventoryManageSystem\.project

     文件        503  2013-11-01 15:32  库存\InventoryManageSystem\.settings\.jsdtscope

     文件        395  2013-11-01 15:32  库存\InventoryManageSystem\.settings\org.eclipse.jdt.core.prefs

     文件        493  2013-11-01 15:32  库存\InventoryManageSystem\.settings\org.eclipse.wst.common.component

     文件        305  2013-11-03 21:20  库存\InventoryManageSystem\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2013-11-01 15:32  库存\InventoryManageSystem\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2013-11-01 15:32  库存\InventoryManageSystem\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件      12296  2013-11-23 19:37  库存\InventoryManageSystem\build\classes\com\java1234\action\GoodsAction.class

     文件       8097  2013-11-23 19:26  库存\InventoryManageSystem\build\classes\com\java1234\action\GoodsTypeAction.class

     文件       2157  2013-11-23 19:40  库存\InventoryManageSystem\build\classes\com\java1234\action\IndexAction.class

     文件      10677  2013-11-23 19:44  库存\InventoryManageSystem\build\classes\com\java1234\action\InGoodsAction.class

     文件       3490  2013-11-23 19:26  库存\InventoryManageSystem\build\classes\com\java1234\action\LoginAction.class

     文件       8799  2013-11-23 19:36  库存\InventoryManageSystem\build\classes\com\java1234\action\OutGoodsAction.class

     文件       7929  2013-11-23 19:25  库存\InventoryManageSystem\build\classes\com\java1234\action\SaveGoodsAction.class

     文件       8677  2013-11-23 19:25  库存\InventoryManageSystem\build\classes\com\java1234\action\SupplyAction.class

     文件       5506  2013-11-23 19:24  库存\InventoryManageSystem\build\classes\com\java1234\action\ViewResultAction.class

     文件       6128  2013-11-23 19:42  库存\InventoryManageSystem\build\classes\com\java1234\dao\GoodsDao.class

     文件       4845  2013-11-23 19:26  库存\InventoryManageSystem\build\classes\com\java1234\dao\GoodsTypeDao.class

     文件       5116  2013-11-23 19:24  库存\InventoryManageSystem\build\classes\com\java1234\dao\InGoodsDao.class

     文件       5709  2013-11-23 19:42  库存\InventoryManageSystem\build\classes\com\java1234\dao\OutGoodsDao.class

     文件       7795  2013-11-23 19:43  库存\InventoryManageSystem\build\classes\com\java1234\dao\SaveGoodsDao.class

     文件       4528  2013-11-23 19:43  库存\InventoryManageSystem\build\classes\com\java1234\dao\SupplyManDao.class

     文件       1516  2013-11-23 19:25  库存\InventoryManageSystem\build\classes\com\java1234\dao\UserDao.class

     文件       1656  2013-11-23 19:21  库存\InventoryManageSystem\build\classes\com\java1234\model\Goods.class

     文件       1044  2013-11-23 19:21  库存\InventoryManageSystem\build\classes\com\java1234\model\GoodsType.class

     文件       1586  2013-11-23 19:21  库存\InventoryManageSystem\build\classes\com\java1234\model\InGoods.class

     文件       1613  2013-11-23 19:21  库存\InventoryManageSystem\build\classes\com\java1234\model\OutGoods.class

     文件        813  2013-11-23 19:21  库存\InventoryManageSystem\build\classes\com\java1234\model\PageBean.class

     文件       1600  2013-11-23 19:21  库存\InventoryManageSystem\build\classes\com\java1234\model\SaveGoods.class

............此处省略783个文件信息

评论

共有 条评论