Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
civil-bigdata
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
civil
civil-bigdata
Commits
89e3ca06
Commit
89e3ca06
authored
Sep 27, 2021
by
袁伟铭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整接口
parent
543a7116
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
open-server/src/main/java/com/zq/open/service/NaturalPersonService.java
+1
-1
portal-server/src/main/resources/mapper/HyStatsMapper.xml
+1
-0
No files found.
open-server/src/main/java/com/zq/open/service/NaturalPersonService.java
View file @
89e3ca06
...
...
@@ -27,7 +27,7 @@ public class NaturalPersonService {
List
<
NaturalPerson
>
naturalPersonList
=
naturalPersonDao
.
selectList
(
Wrappers
.
lambdaQuery
(
NaturalPerson
.
builder
().
name
(
vo
.
getName
()).
idCard
(
vo
.
getIdCard
()).
build
()));
AssertUtils
.
notEmpty
(
naturalPersonList
,
"查询为空"
);
NaturalPerson
naturalPerson
=
naturalPersonList
.
stream
().
max
(
Comparator
.
comparing
(
NaturalPerson:
:
get
CreateTime
)).
get
();
NaturalPerson
naturalPerson
=
naturalPersonList
.
stream
().
max
(
Comparator
.
comparing
(
NaturalPerson:
:
get
Id
)).
get
();
return
NaturalPersonVo
.
builder
().
name
(
naturalPerson
.
getName
()).
idCard
(
naturalPerson
.
getIdCard
()).
build
();
}
...
...
portal-server/src/main/resources/mapper/HyStatsMapper.xml
View file @
89e3ca06
...
...
@@ -7,6 +7,7 @@
FROM mrcase m LEFT JOIN taorg t ON m.AIAX0003 = t.ORGID
WHERE m.AIAX0072 = '1'
AND m.BIAX0075 = '1'
AND DATE_FORMAT(m.AIAX0048, "%Y")
<
= YEAR(NOW())
AND m.AIAX0001 = #{type}
<if
test=
"subAreaCode != null and subAreaCode != ''"
>
AND t.YAB003 LIKE CONCAT(#{subAreaCode},'%')
...
...
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