commit c60ad33102f389fcf1b41daa6c68f0c8be8a51b2
Author: u <879751019@qq.com>
Date: Wed Nov 15 23:34:59 2023 +0800
csh
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..e69de29
diff --git a/.idea/2012B-day07-poi.iml b/.idea/2012B-day07-poi.iml
new file mode 100644
index 0000000..78b2cc5
--- /dev/null
+++ b/.idea/2012B-day07-poi.iml
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
new file mode 100644
index 0000000..b38644d
--- /dev/null
+++ b/.idea/compiler.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
new file mode 100644
index 0000000..63e9001
--- /dev/null
+++ b/.idea/encodings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
new file mode 100644
index 0000000..eb39b38
--- /dev/null
+++ b/.idea/inspectionProfiles/Project_Default.xml
@@ -0,0 +1,37 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml
new file mode 100644
index 0000000..2d9362f
--- /dev/null
+++ b/.idea/jarRepositories.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..3ccb27b
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..f5a9eed
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,237 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1679964294902
+
+
+ 1679964294902
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/2012B-day07-poi.iml b/2012B-day07-poi.iml
new file mode 100644
index 0000000..78b2cc5
--- /dev/null
+++ b/2012B-day07-poi.iml
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..626de9f
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,102 @@
+
+
+ 4.0.0
+
+ com.bwie
+ 2012B-day07-poi
+ 1.0-SNAPSHOT
+
+
+ org.springframework.boot
+ spring-boot-starter-parent
+ 2.2.2.RELEASE
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-web
+
+
+
+
+ org.springframework.boot
+ spring-boot-devtools
+ runtime
+ true
+
+
+
+ org.springframework.boot
+ spring-boot-configuration-processor
+ true
+
+
+
+ org.projectlombok
+ lombok
+ true
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ com.alibaba
+ fastjson
+ 1.2.15
+
+
+
+
+ org.apache.poi
+ poi
+ 3.17
+
+
+
+ org.apache.poi
+ poi-ooxml
+ 3.17
+
+
+ org.apache.poi
+ poi-ooxml-schemas
+ 3.17
+
+
+ org.apache.commons
+ commons-lang3
+ 3.12.0
+
+
+ com.alibaba
+ easyexcel
+ 2.2.7
+
+
+ org.slf4j
+ slf4j-log4j12
+ 1.6.6
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-cache
+
+
+
+
+ net.sf.ehcache
+ ehcache
+ 2.10.6
+
+
+
\ No newline at end of file
diff --git a/src/main/java/com/bwie/PoiApplication.java b/src/main/java/com/bwie/PoiApplication.java
new file mode 100644
index 0000000..20116dc
--- /dev/null
+++ b/src/main/java/com/bwie/PoiApplication.java
@@ -0,0 +1,15 @@
+package com.bwie;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cache.annotation.EnableCaching;
+
+@SpringBootApplication
+//1 开启缓存
+@EnableCaching
+public class PoiApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(PoiApplication.class);
+ }
+}
diff --git a/src/main/java/com/bwie/pojo/Student.java b/src/main/java/com/bwie/pojo/Student.java
new file mode 100644
index 0000000..7ae4e73
--- /dev/null
+++ b/src/main/java/com/bwie/pojo/Student.java
@@ -0,0 +1,11 @@
+package com.bwie.pojo;
+
+import lombok.Data;
+
+@Data
+public class Student {
+
+ private Integer studentId;
+ private String studentName;
+ private Integer age;
+}
diff --git a/src/main/java/com/bwie/pojo/User.java b/src/main/java/com/bwie/pojo/User.java
new file mode 100644
index 0000000..378e0fd
--- /dev/null
+++ b/src/main/java/com/bwie/pojo/User.java
@@ -0,0 +1,25 @@
+package com.bwie.pojo;
+
+import com.alibaba.excel.annotation.ExcelIgnore;
+import com.alibaba.excel.annotation.ExcelProperty;
+import com.alibaba.excel.annotation.format.NumberFormat;
+import com.alibaba.excel.annotation.write.style.ContentStyle;
+import lombok.Data;
+import org.apache.poi.ss.usermodel.FillPatternType;
+
+@Data
+public class User {
+ @ExcelProperty(value = {"用户信息","用户编号"})
+ @ContentStyle(fillPatternType = FillPatternType.SOLID_FOREGROUND, fillForegroundColor = 40)
+ private Integer userId;
+ @ExcelProperty(value={"用户信息","用户名称"})
+ private String userName;
+ @NumberFormat("#.##%")
+ @ExcelProperty(value = "用户工资")
+ private Double userSal;
+// @ExcelProperty("用户年龄")
+ @ExcelIgnore
+ private Integer age;
+
+
+}
diff --git a/src/main/java/com/bwie/service/UserService.java b/src/main/java/com/bwie/service/UserService.java
new file mode 100644
index 0000000..8d8a27e
--- /dev/null
+++ b/src/main/java/com/bwie/service/UserService.java
@@ -0,0 +1,15 @@
+package com.bwie.service;
+
+import com.bwie.pojo.User;
+
+public interface UserService {
+
+ public User findById(String id);
+
+ public Integer randomValue();
+
+ public void evict(String id);
+
+ public void evict2();
+ public Integer keyMethod(Integer a,String str);
+}
diff --git a/src/main/java/com/bwie/service/UserServiceImpl.java b/src/main/java/com/bwie/service/UserServiceImpl.java
new file mode 100644
index 0000000..3580611
--- /dev/null
+++ b/src/main/java/com/bwie/service/UserServiceImpl.java
@@ -0,0 +1,42 @@
+package com.bwie.service;
+
+import com.bwie.pojo.User;
+import org.springframework.cache.annotation.CacheEvict;
+import org.springframework.cache.annotation.CachePut;
+import org.springframework.cache.annotation.Cacheable;
+import org.springframework.stereotype.Service;
+
+import java.util.Random;
+
+@Service
+public class UserServiceImpl implements UserService {
+ // @CachePut 更新缓存
+ // @CacheEvict 删除缓存
+ //ehcache 缓存==> 使用 key[默认是参数] value[返回值]
+ //spel表达式 ognl xxx.mapper.xml el
+ @Cacheable(value="aaa",key = "'user:'+#id",condition = "#id.length()>5")
+ public User findById(String id){
+ System.out.println("findById方法执行------------");
+ User user = new User(); //查询数据库的
+ return user;
+ }
+
+ //使用了缓存,执行方法
+ @CachePut(value="bbb",key = "'rondomKey'")
+ public Integer randomValue(){
+ System.out.println("random方法执行........................");
+ return new Random().nextInt(1000);
+ }
+ //清除缓存
+ @CacheEvict(value="aaa",key = "'user:'+#id" )
+ public void evict(String id){}
+
+ //清除所有缓存===>实时更新
+ @CacheEvict(value="aaa",allEntries = true)
+ public void evict2(){}
+
+ @Cacheable(value="aaa")
+ public Integer keyMethod(Integer a,String str){
+ return 1000;
+ }
+}
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
new file mode 100644
index 0000000..e69de29
diff --git a/src/main/resources/ehcache.xml b/src/main/resources/ehcache.xml
new file mode 100644
index 0000000..9343f16
--- /dev/null
+++ b/src/main/resources/ehcache.xml
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/test/java/com/bwie/EasyExcelTest.java b/src/test/java/com/bwie/EasyExcelTest.java
new file mode 100644
index 0000000..823871f
--- /dev/null
+++ b/src/test/java/com/bwie/EasyExcelTest.java
@@ -0,0 +1,100 @@
+package com.bwie;
+
+import com.alibaba.excel.EasyExcel;
+import com.bwie.pojo.Student;
+import com.bwie.pojo.User;
+import org.junit.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+import java.util.ArrayList;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+@SpringBootTest
+public class EasyExcelTest {
+
+ public List getData() {
+ List list = new ArrayList<>();
+ for (int i = 0; i < 10; i++) {
+ User user = new User();
+ user.setUserId(1000 + i);
+ user.setUserName("tom" + (i + 1));
+ user.setUserSal(1000.0);
+ user.setAge(10);
+ list.add(user);
+
+ }
+ return list;
+ }
+
+ @Test
+ public void write() {
+ // 这里 需要指定写用哪个class去写,然后写到第一个sheet,名字为模板 然后文件流会自动关闭
+ // 如果这里想使用03 则 传入excelType参数即可
+ String path = "C:\\Users\\xx\\Desktop\\ee1.xlsx";
+ Set set = new HashSet<>();
+ set.add("userId");
+ EasyExcel.write(path, User.class).includeColumnFiledNames(set).sheet("sheet").doWrite(getData());
+ }
+
+ @Test
+ public void write2() {
+ // 这里 需要指定写用哪个class去写,然后写到第一个sheet,名字为模板 然后文件流会自动关闭
+ // 如果这里想使用03 则 传入excelType参数即可
+ String path = "C:\\Users\\xx\\Desktop\\ee1.xlsx";
+
+ EasyExcel.write(path, User.class).sheet("sheet").doWrite(getData());
+ }
+
+ @Test
+ public void write3() {
+ // 这里 需要指定写用哪个class去写,然后写到第一个sheet,名字为模板 然后文件流会自动关闭
+ // 如果这里想使用03 则 传入excelType参数即可
+ String path = "C:\\Users\\xx\\Desktop\\ee1.xlsx";
+ String templatepath = "C:\\Users\\xx\\Desktop\\a.xlsx";
+
+ Student student=new Student();
+ student.setAge(10);
+ student.setStudentName("tom");
+ student.setStudentId(1001);
+ EasyExcel.write(path).withTemplate(templatepath).sheet().doFill(student);
+ }
+
+ @Test
+ public void write4() {
+ // 这里 需要指定写用哪个class去写,然后写到第一个sheet,名字为模板 然后文件流会自动关闭
+ // 如果这里想使用03 则 传入excelType参数即可
+ String path = "C:\\Users\\xx\\Desktop\\ee1.xlsx";
+ String templatepath = "C:\\Users\\xx\\Desktop\\a.xlsx";
+
+ Student student=new Student();
+ student.setAge(10);
+ student.setStudentName("tom");
+ student.setStudentId(1001);
+
+ Student student2=new Student();
+ student2.setAge(10);
+ student2.setStudentName("tom2");
+ student2.setStudentId(1001);
+
+ Student student3=new Student();
+ student3.setAge(30);
+ student3.setStudentName("tom3");
+ student3.setStudentId(1001);
+
+ Student student4=new Student();
+ student4.setAge(20);
+ student4.setStudentName("tom4");
+ student4.setStudentId(1001);
+
+ List list=new ArrayList<>();
+ list.add(student);
+ list.add(student2);
+ list.add(student3);
+ list.add(student4);
+ list.add(student);
+
+ EasyExcel.write(path).withTemplate(templatepath).sheet().doFill(list);
+ }
+}
diff --git a/src/test/java/com/bwie/EhcacheTest.java b/src/test/java/com/bwie/EhcacheTest.java
new file mode 100644
index 0000000..0ad2bfe
--- /dev/null
+++ b/src/test/java/com/bwie/EhcacheTest.java
@@ -0,0 +1,79 @@
+package com.bwie;
+
+import com.bwie.pojo.User;
+import com.bwie.service.UserService;
+import net.bytebuddy.asm.Advice;
+import net.sf.ehcache.Cache;
+import net.sf.ehcache.CacheManager;
+import net.sf.ehcache.Element;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.context.junit4.SpringRunner;
+
+import java.util.List;
+
+@SpringBootTest
+@RunWith(SpringRunner.class)
+public class EhcacheTest {
+ @Autowired
+ private UserService userService;
+
+ @Autowired
+ private CacheManager cacheManager;
+ @Test
+ public void testCacheable() throws InterruptedException {
+ User byId = userService.findById("100000");
+
+ System.out.println(byId);
+
+
+ System.out.println("------------------------------------");
+ userService.evict2(); //使缓存失效
+
+ User byId2 = userService.findById("100000");
+
+ System.out.println(byId2);
+
+ System.out.println("-------------------------------");
+ Cache aaa = cacheManager.getCache("aaa");
+ List keys = aaa.getKeys();
+ System.out.println(keys);
+
+
+ }
+
+ @Test
+ public void testCachePut(){
+ Integer integer = userService.randomValue();
+ System.out.println(integer);
+ System.out.println("-------------------------------");
+ Integer integer2 = userService.randomValue();
+ System.out.println(integer2);
+
+ Cache bbb = cacheManager.getCache("bbb");
+ System.out.println(bbb.getKeys());
+
+ for (Object key : bbb.getKeys()) {
+ Element element = bbb.get(key);
+ System.out.println(element.getObjectValue());
+ }
+
+ }
+
+ @Test
+ public void testKey(){
+
+ Integer abc = userService.keyMethod(1000, "abc");
+ Cache bbb = cacheManager.getCache("aaa");
+
+
+ for (Object key : bbb.getKeys()) {
+ System.out.println(key);
+ Element element = bbb.get(key);
+ System.out.println(element.getObjectValue());
+ }
+
+ }
+}
diff --git a/src/test/java/com/bwie/PoiApplicationTest.java b/src/test/java/com/bwie/PoiApplicationTest.java
new file mode 100644
index 0000000..fe0ae2a
--- /dev/null
+++ b/src/test/java/com/bwie/PoiApplicationTest.java
@@ -0,0 +1,194 @@
+package com.bwie;
+
+import org.apache.poi.hssf.usermodel.HSSFWorkbook;
+import org.apache.poi.ss.usermodel.Cell;
+import org.apache.poi.ss.usermodel.Row;
+import org.apache.poi.ss.usermodel.Sheet;
+import org.apache.poi.ss.usermodel.Workbook;
+import org.apache.poi.xssf.streaming.SXSSFWorkbook;
+import org.apache.poi.xssf.usermodel.XSSFWorkbook;
+import org.junit.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
+import java.io.OutputStream;
+
+@SpringBootTest
+public class PoiApplicationTest {
+
+ @Test
+ public void write03Test() throws Exception {
+ Workbook workbook=new HSSFWorkbook();
+ //创建工作表
+ Sheet sheet = workbook.createSheet("表1");
+ //创建行
+ Row row = sheet.createRow(0);
+ //创建单元格
+ Cell cell11 = row.createCell(0);
+ cell11.setCellValue("姓名");
+
+ Cell cell12 = row.createCell(1);
+ cell12.setCellValue("年龄");
+
+ //创建行
+ Row row2 = sheet.createRow(1);
+ //创建单元格
+ Cell cell21 = row2.createCell(0);
+ cell21.setCellValue("小明");
+
+ Cell cell22 = row2.createCell(1);
+ cell22.setCellValue("18");
+
+ OutputStream out= new FileOutputStream("C:\\Users\\xx\\Desktop\\aa.xls");
+ workbook.write(out);
+
+
+ }
+
+ @Test
+ public void write07Test() throws Exception {
+ Workbook workbook=new XSSFWorkbook();
+ //创建工作表
+ Sheet sheet = workbook.createSheet("07表1");
+ //创建行
+ Row row = sheet.createRow(0);
+ //创建单元格
+ Cell cell11 = row.createCell(0);
+ cell11.setCellValue("姓名");
+
+ Cell cell12 = row.createCell(1);
+ cell12.setCellValue("年龄");
+
+ //创建行
+ Row row2 = sheet.createRow(1);
+ //创建单元格
+ Cell cell21 = row2.createCell(0);
+ cell21.setCellValue("小明");
+
+ Cell cell22 = row2.createCell(1);
+ cell22.setCellValue("18");
+
+ OutputStream out= new FileOutputStream("C:\\Users\\xx\\Desktop\\bb.xlsx");
+ workbook.write(out);
+
+
+ }
+
+
+ @Test
+ public void write03TestBigData() throws Exception {
+ Workbook workbook=new HSSFWorkbook();
+
+ long l = System.currentTimeMillis();
+ //创建工作表
+ Sheet sheet = workbook.createSheet("表1");
+ //创建行
+ Row row = sheet.createRow(0);
+ //创建单元格
+ Cell cell11 = row.createCell(0);
+ cell11.setCellValue("姓名");
+
+ Cell cell12 = row.createCell(1);
+ cell12.setCellValue("年龄");
+
+ for (int i = 0; i < 65535; i++) {
+ //创建行
+ Row row2 = sheet.createRow(i);
+ //创建单元格
+ Cell cell21 = row2.createCell(0);
+ cell21.setCellValue("小明"+i);
+
+ Cell cell22 = row2.createCell(1);
+ cell22.setCellValue("18");
+
+ }
+
+
+ OutputStream out= new FileOutputStream("C:\\Users\\xx\\Desktop\\aa.xls");
+ workbook.write(out);
+
+ long l2 = System.currentTimeMillis();
+
+ System.out.println(l2-l);
+
+ }
+
+ @Test
+ public void write07TestBigData() throws Exception {
+ Workbook workbook=new XSSFWorkbook();
+
+ long l = System.currentTimeMillis();
+ //创建工作表
+ Sheet sheet = workbook.createSheet("表1");
+ //创建行
+ Row row = sheet.createRow(0);
+ //创建单元格
+ Cell cell11 = row.createCell(0);
+ cell11.setCellValue("姓名");
+
+ Cell cell12 = row.createCell(1);
+ cell12.setCellValue("年龄");
+
+ for (int i = 0; i < 65535; i++) {
+ //创建行
+ Row row2 = sheet.createRow(i);
+ //创建单元格
+ Cell cell21 = row2.createCell(0);
+ cell21.setCellValue("小明"+i);
+
+ Cell cell22 = row2.createCell(1);
+ cell22.setCellValue("18");
+
+ }
+
+
+ OutputStream out= new FileOutputStream("C:\\Users\\xx\\Desktop\\bb.xlsx");
+ workbook.write(out);
+
+ long l2 = System.currentTimeMillis();
+
+ System.out.println(l2-l);
+
+ }
+
+ @Test
+ public void write07TestBigData2() throws Exception {
+ //100条
+ Workbook workbook=new SXSSFWorkbook();
+
+ long l = System.currentTimeMillis();
+ //创建工作表
+ Sheet sheet = workbook.createSheet("表1");
+ //创建行
+ Row row = sheet.createRow(0);
+ //创建单元格
+ Cell cell11 = row.createCell(0);
+ cell11.setCellValue("姓名");
+
+ Cell cell12 = row.createCell(1);
+ cell12.setCellValue("年龄");
+
+ for (int i = 0; i < 65535; i++) {
+ //创建行
+ Row row2 = sheet.createRow(i);
+ //创建单元格
+ Cell cell21 = row2.createCell(0);
+ cell21.setCellValue("小明"+i);
+
+ Cell cell22 = row2.createCell(1);
+ cell22.setCellValue("18");
+
+ }
+
+
+ OutputStream out= new FileOutputStream("C:\\Users\\xx\\Desktop\\bb.xlsx");
+ workbook.write(out);
+
+ long l2 = System.currentTimeMillis();
+
+ System.out.println(l2-l);
+
+ }
+
+}
diff --git a/src/test/java/com/bwie/PoiReadTest.java b/src/test/java/com/bwie/PoiReadTest.java
new file mode 100644
index 0000000..9c92728
--- /dev/null
+++ b/src/test/java/com/bwie/PoiReadTest.java
@@ -0,0 +1,28 @@
+package com.bwie;
+
+import org.apache.poi.ss.usermodel.*;
+import org.apache.poi.xssf.usermodel.XSSFWorkbook;
+import org.junit.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+import java.io.*;
+
+@SpringBootTest
+public class PoiReadTest {
+
+ @Test
+ public void read() throws Exception {
+ InputStream in= new FileInputStream("C:\\Users\\xx\\Desktop\\bb.xlsx");
+ Workbook workbook=new XSSFWorkbook(in);
+
+ Sheet sheetAt = workbook.getSheetAt(0);
+
+ Row row = sheetAt.getRow(0);
+
+ Cell cell = row.getCell(0);
+
+
+
+ System.out.println(cell);
+ }
+}
diff --git a/target/classes/application.properties b/target/classes/application.properties
new file mode 100644
index 0000000..e69de29
diff --git a/target/classes/com/bwie/PoiApplication.class b/target/classes/com/bwie/PoiApplication.class
new file mode 100644
index 0000000..3eb2d01
Binary files /dev/null and b/target/classes/com/bwie/PoiApplication.class differ
diff --git a/target/classes/com/bwie/pojo/Student.class b/target/classes/com/bwie/pojo/Student.class
new file mode 100644
index 0000000..415580b
Binary files /dev/null and b/target/classes/com/bwie/pojo/Student.class differ
diff --git a/target/classes/com/bwie/pojo/User.class b/target/classes/com/bwie/pojo/User.class
new file mode 100644
index 0000000..a2c51a3
Binary files /dev/null and b/target/classes/com/bwie/pojo/User.class differ
diff --git a/target/classes/com/bwie/service/UserService.class b/target/classes/com/bwie/service/UserService.class
new file mode 100644
index 0000000..869297c
Binary files /dev/null and b/target/classes/com/bwie/service/UserService.class differ
diff --git a/target/classes/com/bwie/service/UserServiceImpl.class b/target/classes/com/bwie/service/UserServiceImpl.class
new file mode 100644
index 0000000..f27ca64
Binary files /dev/null and b/target/classes/com/bwie/service/UserServiceImpl.class differ
diff --git a/target/classes/ehcache.xml b/target/classes/ehcache.xml
new file mode 100644
index 0000000..9343f16
--- /dev/null
+++ b/target/classes/ehcache.xml
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/target/test-classes/com/bwie/EasyExcelTest.class b/target/test-classes/com/bwie/EasyExcelTest.class
new file mode 100644
index 0000000..d9aade4
Binary files /dev/null and b/target/test-classes/com/bwie/EasyExcelTest.class differ
diff --git a/target/test-classes/com/bwie/EhcacheTest.class b/target/test-classes/com/bwie/EhcacheTest.class
new file mode 100644
index 0000000..e09e4ee
Binary files /dev/null and b/target/test-classes/com/bwie/EhcacheTest.class differ
diff --git a/target/test-classes/com/bwie/PoiApplicationTest.class b/target/test-classes/com/bwie/PoiApplicationTest.class
new file mode 100644
index 0000000..904d652
Binary files /dev/null and b/target/test-classes/com/bwie/PoiApplicationTest.class differ
diff --git a/target/test-classes/com/bwie/PoiReadTest.class b/target/test-classes/com/bwie/PoiReadTest.class
new file mode 100644
index 0000000..db94d57
Binary files /dev/null and b/target/test-classes/com/bwie/PoiReadTest.class differ