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

资源简介

jeecg3.8版本下载,开源共享,JEECG 企业级快速开发平台,可扩展可维护,包括了多风格模板

资源截图

代码片段和文件信息

package com.jeecg.demo.controller;
import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.ServletOutputStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.validation.Validator;

import org.jeecgframework.core.common.controller.baseController;
import org.jeecgframework.core.common.exception.BusinessException;
import org.jeecgframework.core.common.hibernate.qbc.CriteriaQuery;
import org.jeecgframework.core.common.model.json.AjaxJson;
import org.jeecgframework.core.common.model.json.DataGrid;
import org.jeecgframework.core.constant.Globals;
import org.jeecgframework.core.util.JxlsExcelExportUtil;
import org.jeecgframework.core.util.MyBeanUtils;
import org.jeecgframework.core.util.ResourceUtil;
import org.jeecgframework.core.util.StringUtil;
import org.jeecgframework.poi.excel.ExcelImportUtil;
import org.jeecgframework.poi.excel.entity.ExportParams;
import org.jeecgframework.poi.excel.entity.ImportParams;
import org.jeecgframework.poi.excel.entity.vo.NormalExcelConstants;
import org.jeecgframework.tag.core.easyui.TagUtil;
import org.jeecgframework.web.system.service.SystemService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import org.springframework.web.servlet.ModelAndView;

import com.jeecg.demo.entity.JeecgDemoExcelEntity;
import com.jeecg.demo.entity.JformOrderCustomerEntity;
import com.jeecg.demo.entity.JformOrderMainEntity;
import com.jeecg.demo.page.JformOrderMainPage;
import com.jeecg.demo.service.JeecgDemoExcelServiceI;
import com.jeecg.demo.util.FreemarkerUtil;

import io.swagger.annotations.Api;
import net.sf.jxls.transformer.XLSTransformer;

/**   
 * @title: Controller  
 * @Description: excel导入导出测试表
 * @author onlineGenerator
 * @date 2018-06-15 15:46:09
 * @version V1.0   
 *
 */
@Controller
@RequestMapping(“/jeecgDemoExcelController“)
@Api(value=“JeecgDemoExcel“description=“excel导入导出测试表“tags=“jeecgDemoExcelController“)
public class JeecgDemoExcelController extends baseController {
private static final Logger logger = LoggerFactory.getLogger(JeecgDemoExcelController.class);

@Autowired
private JeecgDemoExcelServiceI jeecgDemoExcelService;
@Autowired
private SystemService systemService;
@Autowired
private Validator validator;



/**
 * excel导入导出测试表列表 页面跳转
 * 
 * @return
 */
@R

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-11-20 02:42  jeecg-master\
     文件       16600  2018-11-20 02:42  jeecg-master\README.md
     目录           0  2018-11-20 02:42  jeecg-master\docs\
     文件     1926774  2018-11-20 02:42  jeecg-master\docs\jeecg_3.8_mysql.sql
     文件     3289088  2018-11-20 02:42  jeecg-master\docs\jeecg_3.8_oracle11g.dmp
     文件     3856611  2018-11-20 02:42  jeecg-master\docs\jeecg_3.8_sqlserver2008.sql
     文件         781  2018-11-20 02:42  jeecg-master\docs\数据库说明.txt
     目录           0  2018-11-20 02:42  jeecg-master\docs\老版本增量升级\
     文件        5154  2018-11-20 02:42  jeecg-master\docs\老版本增量升级\jeecg_mysql-3.7.8-update-3.8.sql
     文件       22699  2018-11-20 02:42  jeecg-master\pom.xml
     目录           0  2018-11-20 02:42  jeecg-master\src\
     目录           0  2018-11-20 02:42  jeecg-master\src\main\
     目录           0  2018-11-20 02:42  jeecg-master\src\main\java\
     目录           0  2018-11-20 02:42  jeecg-master\src\main\java\com\
     目录           0  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\
     目录           0  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\
     目录           0  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\controller\
     文件       17191  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\controller\JeecgDemoExcelController.java
     文件       35400  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\controller\JeecgFormDemoController.java
     文件       48550  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\controller\JeecgListDemoController.java
     文件       17280  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\controller\JformOrderCustomer2Controller.java
     文件       22804  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\controller\JformOrderMain2Controller.java
     文件       28469  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\controller\JformOrderMainController.java
     文件       16744  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\controller\JformOrderTicket2Controller.java
     文件       18802  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\controller\JfromOrderController.java
     文件       15511  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\controller\MultiUploadController.java
     目录           0  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\dao\
     文件        1366  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\dao\JeecgMinidaoDao.java
     目录           0  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\entity\
     文件        9296  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\entity\JeecgDemoEntity.java
     文件        3955  2018-11-20 02:42  jeecg-master\src\main\java\com\jeecg\demo\entity\JeecgDemoExcelEntity.java
............此处省略6552个文件信息

评论

共有 条评论