Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
11b47f29
Commit
11b47f29
authored
Feb 28, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
b080dab9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
pom.xml
pom.xml
+5
-0
ReadExcelApi.java
src/main/java/com/yxproject/start/api/ReadExcelApi.java
+6
-4
UserApi.java
src/main/java/com/yxproject/start/api/UserApi.java
+1
-0
No files found.
pom.xml
View file @
11b47f29
...
@@ -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>
...
...
src/main/java/com/yxproject/start/api/ReadExcelApi.java
View file @
11b47f29
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
>();
...
...
src/main/java/com/yxproject/start/api/UserApi.java
View file @
11b47f29
...
@@ -52,4 +52,5 @@ public class UserApi {
...
@@ -52,4 +52,5 @@ public class UserApi {
subject
.
logout
();
subject
.
logout
();
}
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment