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
428a17f7
Commit
428a17f7
authored
Mar 01, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改标记制证数据状态
parent
75411afb
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
34 additions
and
24 deletions
+34
-24
UpdateStateApi.java
src/main/java/com/yxproject/start/api/UpdateStateApi.java
+20
-0
ImportXmlMapper.java
...main/java/com/yxproject/start/mapper/ImportXmlMapper.java
+0
-17
PersonPostMapper.java
...ain/java/com/yxproject/start/mapper/PersonPostMapper.java
+0
-3
PreproPersonMapper.java
...n/java/com/yxproject/start/mapper/PreproPersonMapper.java
+6
-4
PersonPostService.java
...n/java/com/yxproject/start/service/PersonPostService.java
+1
-0
PreproPersonService.java
...java/com/yxproject/start/service/PreproPersonService.java
+2
-0
PreproPersonServiceImpl.java
...yxproject/start/service/impl/PreproPersonServiceImpl.java
+5
-0
No files found.
src/main/java/com/yxproject/start/api/UpdateStateApi.java
0 → 100644
View file @
428a17f7
package
com
.
yxproject
.
start
.
api
;
import
com.yxproject.start.service.PreproPersonService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
@RestController
@RequestMapping
(
"updateState"
)
public
class
UpdateStateApi
{
@Autowired
PreproPersonService
preproPersonService
;
@RequestMapping
(
"updateS"
)
public
boolean
updateState
(
@RequestParam
(
value
=
"state"
)
String
state
,
@RequestParam
(
value
=
"acceptNo"
)
String
acceptNo
){
preproPersonService
.
uploadState
(
state
,
acceptNo
);
return
true
;
}
}
src/main/java/com/yxproject/start/mapper/ImportXmlMapper.java
deleted
100644 → 0
View file @
75411afb
package
com
.
yxproject
.
start
.
mapper
;
import
com.yxproject.start.entity.PreproPersonEntity
;
import
com.yxproject.start.entity.SysPermission
;
import
org.apache.ibatis.annotations.Insert
;
import
java.util.List
;
/**
* 导入xml
*/
public
interface
ImportXmlMapper
{
@Insert
(
"INSERT INTO "
)
public
void
addPreproPerson
(
List
<
PreproPersonEntity
>
preproPersonEntity
);
}
src/main/java/com/yxproject/start/mapper/PersonPostMapper.java
View file @
428a17f7
...
...
@@ -2,11 +2,8 @@ package com.yxproject.start.mapper;
import
com.yxproject.start.entity.PersonPostEntity
;
import
org.apache.ibatis.annotations.*
;
import
org.omg.CORBA.PUBLIC_MEMBER
;
import
java.util.List
;
import
java.util.List
;
/**
* @auther zhangyusheng
...
...
src/main/java/com/yxproject/start/mapper/PreproPersonMapper.java
View file @
428a17f7
package
com
.
yxproject
.
start
.
mapper
;
import
com.yxproject.start.entity.PreproPersonEntity
;
import
org.apache.ibatis.annotations.Insert
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Select
;
import
org.apache.ibatis.annotations.Update
;
import
org.apache.ibatis.annotations.*
;
import
java.util.List
;
...
...
@@ -34,4 +31,9 @@ public interface PreproPersonMapper {
"and files.SOURCE_FILE_NAME =#{oldFile} and NEW_FILES.NEW_FILE_NAME = #{newFile}"
+
"and PREPRO_PERSON.SSXQDM =#{SSXQDM} and PREPRO_PERSON.state =#{} "
)
public
List
<
PreproPersonEntity
>
selectPreproPerson
(
String
uploadNo
,
String
IDCard
,
String
oldFile
,
String
newFile
,
String
SSXQDM
,
String
cardType
,
String
state
,
String
uploadDate
);
/*修改标记制证数据状态*/
@Update
(
"UPDATE PREPRO_PERSON SET STATE = #{state} WHERE JMSFZSLH=#{acceptNo}"
)
public
boolean
updateState
(
@Param
(
"state"
)
String
state
,
@Param
(
"acceptNo"
)
String
acceptNo
);
}
src/main/java/com/yxproject/start/service/PersonPostService.java
View file @
428a17f7
...
...
@@ -20,4 +20,5 @@ public interface PersonPostService {
public
boolean
updateIsPost
(
String
fileId
,
String
creatTime
);
public
boolean
savePersonPost
(
List
<
PersonPostEntity
>
personPostEntities
);
}
src/main/java/com/yxproject/start/service/PreproPersonService.java
View file @
428a17f7
...
...
@@ -6,4 +6,6 @@ package com.yxproject.start.service;
*/
public
interface
PreproPersonService
{
public
boolean
uploadState
(
String
acceptNo
,
String
state
);
}
src/main/java/com/yxproject/start/service/impl/PreproPersonServiceImpl.java
View file @
428a17f7
...
...
@@ -14,4 +14,9 @@ public class PreproPersonServiceImpl implements PreproPersonService {
@Autowired
private
PreproPersonMapper
preproPersonMapper
;
@Override
public
boolean
uploadState
(
String
acceptNo
,
String
state
)
{
preproPersonMapper
.
updateState
(
acceptNo
,
state
);
return
true
;
}
}
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