Commit 11b47f29 authored by dahai's avatar dahai

push

parent b080dab9
...@@ -82,6 +82,11 @@ ...@@ -82,6 +82,11 @@
<artifactId>jxl</artifactId> <artifactId>jxl</artifactId>
<version>2.6.10</version> <version>2.6.10</version>
</dependency> </dependency>
<dependency>
<groupId>com.yxproject</groupId>
<artifactId>start</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
</dependencies> </dependencies>
......
package com.yxproject.start.api; package com.yxproject.start.api;
import com.yxproject.start.entity.*; import com.yxproject.start.entity.PersonPostEntity;
import com.yxproject.start.service.*; import com.yxproject.start.service.PersonPostService;
import com.yxproject.start.utils.ReadExcel; import com.yxproject.start.utils.ReadExcel;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
import java.sql.Time; import java.sql.Time;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.io.File;
/** /**
* *
...@@ -29,7 +31,7 @@ public class ReadExcelApi { ...@@ -29,7 +31,7 @@ public class ReadExcelApi {
* 导入个人信息表 * 导入个人信息表
*/ */
@RequestMapping("ReadPersonPost") @RequestMapping("ReadPersonPost")
public boolean ReadPersonPost(){ public boolean ReadPersonPost(@Context HttpServletResponse resp, @Context HttpServletRequest requ){
ReadExcel obj = new ReadExcel(); ReadExcel obj = new ReadExcel();
PersonPostEntity personPost = new PersonPostEntity(); PersonPostEntity personPost = new PersonPostEntity();
List<PersonPostEntity> entityList = new ArrayList<PersonPostEntity>(); List<PersonPostEntity> entityList = new ArrayList<PersonPostEntity>();
......
...@@ -52,4 +52,5 @@ public class UserApi { ...@@ -52,4 +52,5 @@ public class UserApi {
subject.logout(); subject.logout();
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment