Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzxt-app-report
Overview
Overview
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
Administrator
xzxt-app-report
Commits
7cf16faf
Commit
7cf16faf
authored
Jan 18, 2022
by
wang_jiaxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
将证件核查和车牌核查的涉案信息接口单独拆分
parent
bfa6a434
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
100 additions
and
29 deletions
+100
-29
src/main/java/org/springblade/founder/ydjwhc/controller/BjHcController.java
+17
-0
src/main/java/org/springblade/founder/ydjwhc/service/BjHcService.java
+9
-0
src/main/java/org/springblade/founder/ydjwhc/service/impl/BjHcServiceImpl.java
+74
-29
No files found.
src/main/java/org/springblade/founder/ydjwhc/controller/BjHcController.java
View file @
7cf16faf
package
org
.
springblade
.
founder
.
ydjwhc
.
controller
;
import
com.alibaba.fastjson.JSONObject
;
import
org.apache.commons.lang.StringUtils
;
import
org.springblade.founder.utils.R
;
import
org.springblade.founder.ydjwhc.entity.TbStAppRxhcrw
;
...
...
@@ -11,6 +12,7 @@ import org.springframework.web.bind.annotation.PostMapping;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.HashMap
;
import
java.util.Map
;
@RestController
...
...
@@ -112,4 +114,19 @@ public class BjHcController {
}
}
@PostMapping
(
"/getSaxx"
)
public
R
getSaxx
(
String
hm
,
String
type
){
try
{
if
(
StringUtils
.
isEmpty
(
hm
)
||
StringUtils
.
isEmpty
(
type
)){
return
R
.
error
(
"号码或类型不能为空"
);
}
Map
<
String
,
Object
>
resultMap
=
bjHcService
.
getSaxx
(
hm
,
type
,
new
HashMap
<>());
return
R
.
ok
().
data
(
resultMap
);
}
catch
(
Exception
e
){
e
.
printStackTrace
();
return
R
.
error
(
e
.
getMessage
());
}
}
}
src/main/java/org/springblade/founder/ydjwhc/service/BjHcService.java
View file @
7cf16faf
...
...
@@ -4,6 +4,7 @@ import org.springblade.founder.ydjwhc.entity.TbStAppRxhcrw;
import
org.springframework.web.multipart.MultipartFile
;
import
java.text.ParseException
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.concurrent.ExecutionException
;
...
...
@@ -34,4 +35,12 @@ public interface BjHcService {
* 2021/12/16 19:13
*/
Map
<
String
,
Object
>
znjsByHm
(
String
hm
)
throws
Exception
;
/**
* getSaxx 查询涉案信息
* @return java.util.Map<java.lang.String,java.lang.Object>
* @author lystar
* 2022/1/17 15:18
*/
Map
<
String
,
Object
>
getSaxx
(
String
hm
,
String
type
,
HashMap
<
String
,
Object
>
resultMap
);
}
src/main/java/org/springblade/founder/ydjwhc/service/impl/BjHcServiceImpl.java
View file @
7cf16faf
This diff is collapsed.
Click to expand it.
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