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
15baf8a2
Commit
15baf8a2
authored
Mar 01, 2019
by
liboyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
1529f340
52f48d45
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
2 deletions
+36
-2
ExportXMLApi.java
src/main/java/com/yxproject/start/api/ExportXMLApi.java
+2
-2
ImportXmlApi.java
src/main/java/com/yxproject/start/api/ImportXmlApi.java
+0
-0
QuerySequenceMapper.java
.../java/com/yxproject/start/mapper/QuerySequenceMapper.java
+12
-0
QuerySequenceSercive.java
.../java/com/yxproject/start/utils/QuerySequenceSercive.java
+22
-0
No files found.
src/main/java/com/yxproject/start/api/ExportXMLApi.java
View file @
15baf8a2
...
@@ -30,9 +30,9 @@ public class ExportXMLApi {
...
@@ -30,9 +30,9 @@ public class ExportXMLApi {
private
PreproPersonService
preproPersonService
;
private
PreproPersonService
preproPersonService
;
/**
/**
* 导出
邮寄
制证数据包
* 导出制证数据包
*/
*/
@RequestMapping
(
"print
Post
XmlData"
)
@RequestMapping
(
"printXmlData"
)
// @RequiresPermissions("userInfo.add")//权限管理;
// @RequiresPermissions("userInfo.add")//权限管理;
public
byte
[]
printXmlData
(
@RequestParam
(
"uploadNo"
)
String
uploadNo
,
@RequestParam
(
"IDCard"
)
String
IDCard
,
@RequestParam
(
"oldFile"
)
String
oldFile
,
@RequestParam
(
"newFile"
)
String
newFile
,
@RequestParam
(
"SSXQDM"
)
String
SSXQDM
,
@RequestParam
(
"cardType"
)
String
cardType
,
@RequestParam
(
"state"
)
String
state
,
@RequestParam
(
"uploadDate"
)
String
uploadDate
,
HttpServletResponse
response
){
public
byte
[]
printXmlData
(
@RequestParam
(
"uploadNo"
)
String
uploadNo
,
@RequestParam
(
"IDCard"
)
String
IDCard
,
@RequestParam
(
"oldFile"
)
String
oldFile
,
@RequestParam
(
"newFile"
)
String
newFile
,
@RequestParam
(
"SSXQDM"
)
String
SSXQDM
,
@RequestParam
(
"cardType"
)
String
cardType
,
@RequestParam
(
"state"
)
String
state
,
@RequestParam
(
"uploadDate"
)
String
uploadDate
,
HttpServletResponse
response
){
response
.
setContentType
(
"application/x-download"
);
response
.
setContentType
(
"application/x-download"
);
...
...
src/main/java/com/yxproject/start/api/ImportXmlApi.java
View file @
15baf8a2
This diff is collapsed.
Click to expand it.
src/main/java/com/yxproject/start/mapper/QuerySequenceMapper.java
0 → 100644
View file @
15baf8a2
package
com
.
yxproject
.
start
.
mapper
;
import
org.apache.ibatis.annotations.Select
;
/**
* @auther zhangyusheng
* 2019/3/1 15:01
*/
public
interface
QuerySequenceMapper
{
@Select
(
"select #{sequenceName} from dual"
)
public
String
selectSequenceNextValue
(
String
sequenceName
);
}
src/main/java/com/yxproject/start/utils/QuerySequenceSercive.java
0 → 100644
View file @
15baf8a2
package
com
.
yxproject
.
start
.
utils
;
import
com.yxproject.start.mapper.QuerySequenceMapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
/**
* @auther zhangyusheng
* 2019/3/1 14:54
*/
@Service
public
class
QuerySequenceSercive
{
@Autowired
private
QuerySequenceMapper
querySequenceMapper
;
public
String
selectSequenceNextValue
(
String
sequenceName
){
String
s
=
querySequenceMapper
.
selectSequenceNextValue
(
sequenceName
+
".nextval()"
);
return
s
;
}
}
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