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
8a2d3e57
Commit
8a2d3e57
authored
Mar 01, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改标记制证数据状态
parent
0fc0d140
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
FilesAnalysisApi.java
src/main/java/com/yxproject/start/api/FilesAnalysisApi.java
+7
-0
ImportXmlApi.java
src/main/java/com/yxproject/start/api/ImportXmlApi.java
+1
-1
PreproPersonMapper.java
...n/java/com/yxproject/start/mapper/PreproPersonMapper.java
+6
-1
No files found.
src/main/java/com/yxproject/start/api/FilesAnalysisApi.java
View file @
8a2d3e57
...
...
@@ -11,6 +11,13 @@ import org.springframework.web.bind.annotation.RestController;
public
class
FilesAnalysisApi
{
@Autowired
private
PersonPostService
personPostService
;
/**
* 文件解析
* @param fileId
* @param creatTime
* @return
*/
@RequestMapping
(
"anailsis"
)
public
boolean
filesAnailsis
(
@RequestParam
(
value
=
"fileId"
)
String
fileId
,
@RequestParam
(
value
=
"creatTime"
)
String
creatTime
){
personPostService
.
updateIsPost
(
fileId
,
creatTime
);
...
...
src/main/java/com/yxproject/start/api/ImportXmlApi.java
View file @
8a2d3e57
...
...
@@ -105,7 +105,7 @@ public class ImportXmlApi {
}
}
catch
(
FileUploadException
e
)
{
e
.
printStackTrace
();
yxresp
.
outPutError
(
"FileUploadException"
,
"文件上
载
发生异常:"
+
e
.
getMessage
());
yxresp
.
outPutError
(
"FileUploadException"
,
"文件上
传
发生异常:"
+
e
.
getMessage
());
}
finally
{
return
yxresp
.
toJSONString
();
}
...
...
src/main/java/com/yxproject/start/mapper/PreproPersonMapper.java
View file @
8a2d3e57
...
...
@@ -37,4 +37,8 @@ public interface PreproPersonMapper {
" <when test='state!=null'> and PREPRO_PERSON.state = #{state} </when> "
+
" <when test='uploadDate!=null'> and files.CREAT_TIME = #{uploadDate} </when> "
)
public
List
<
PreproPersonEntity
>
selectPreproPerson
(
@Param
(
"uploadNo"
)
String
uploadNo
,
@Param
(
"IDCard"
)
String
IDCard
,
@Param
(
"oldFile"
)
String
oldFile
,
@Param
(
"newFile"
)
String
newFile
,
@Param
(
"SSXQDM"
)
String
SSXQDM
,
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"state"
)
String
state
,
@Param
(
"uploadDate"
)
String
uploadDate
);
}
/*修改标记制证数据状态*/
@Update
(
"UPDATE PREPRO_PERSON SET STATE = #{state} WHERE JMSFZSLH=#{acceptNo}"
)
public
boolean
updateState
(
@Param
(
"state"
)
String
state
,
@Param
(
"acceptNo"
)
String
acceptNo
);
}
\ No newline at end of file
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