Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
6cc81681
Commit
6cc81681
authored
Aug 13, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_register_to_0715' of…
Merge branch 'develop_tzs_register_to_0715' of
http://36.40.66.175:5000/moa/amos-boot-biz
into develop_tzs_register_to_0715
parents
1f211b41
21c37a10
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
DPStatisticsMapper.xml
...e-jg-api/src/main/resources/mapper/DPStatisticsMapper.xml
+7
-2
YJDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/YJDPStatisticsServiceImpl.java
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/DPStatisticsMapper.xml
View file @
6cc81681
...
@@ -638,7 +638,10 @@
...
@@ -638,7 +638,10 @@
) T
) T
</select>
</select>
<select
id=
"selectNoticeList"
resultType=
"java.util.Map"
>
<select
id=
"selectNoticeList"
resultType=
"java.util.Map"
>
SELECT
select
*
from
( SELECT
CONCAT ( T.city_name, T.county_name ) AS location,
CONCAT ( T.city_name, T.county_name ) AS location,
T.install_unit_name AS constructionCompany,
T.install_unit_name AS constructionCompany,
T.use_unit_name AS useCompany,
T.use_unit_name AS useCompany,
...
@@ -681,7 +684,8 @@
...
@@ -681,7 +684,8 @@
tzs_jg_transfer_notice T
tzs_jg_transfer_notice T
WHERE
WHERE
plan_date
>
= #{time}
plan_date
>
= #{time}
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' )
AND T.receive_company_org_code LIKE CONCAT ( #{orgCode}, '%' )) A
ORDER BY A."constructionDate" DESC
</select>
</select>
<select
id=
"selectNoticeCountTopTen"
resultType=
"java.util.Map"
>
<select
id=
"selectNoticeCountTopTen"
resultType=
"java.util.Map"
>
SELECT SUM( T.num ) AS count,
SELECT SUM( T.num ) AS count,
...
@@ -737,5 +741,6 @@
...
@@ -737,5 +741,6 @@
T.install_unit_credit_code
T.install_unit_credit_code
ORDER BY
ORDER BY
COUNT DESC
COUNT DESC
limit 10
</select>
</select>
</mapper>
</mapper>
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/YJDPStatisticsServiceImpl.java
View file @
6cc81681
...
@@ -171,9 +171,9 @@ public class YJDPStatisticsServiceImpl {
...
@@ -171,9 +171,9 @@ public class YJDPStatisticsServiceImpl {
Map
<
String
,
Long
>
addressNumMap
=
maps
.
stream
().
collect
(
Collectors
.
toMap
(
CountDto:
:
getKeyStr
,
CountDto:
:
getLongValue
));
Map
<
String
,
Long
>
addressNumMap
=
maps
.
stream
().
collect
(
Collectors
.
toMap
(
CountDto:
:
getKeyStr
,
CountDto:
:
getLongValue
));
ydata
=
dataDictionaries
.
stream
().
map
(
d
->
{
ydata
=
dataDictionaries
.
stream
().
map
(
d
->
{
Long
num
=
0L
;
Long
num
=
0L
;
// 目前USE_PLACE字段存放字典的
id
// 目前USE_PLACE字段存放字典的
code
if
(
addressNumMap
.
get
(
d
.
get
SequenceNbr
().
toString
())
!=
null
)
{
if
(
addressNumMap
.
get
(
d
.
get
Code
())
!=
null
)
{
num
=
addressNumMap
.
get
(
d
.
get
SequenceNbr
().
toString
());
num
=
addressNumMap
.
get
(
d
.
get
Code
());
}
}
// 数据库中老数据历史问题存放字典的name,兼容对老数据的统计
// 数据库中老数据历史问题存放字典的name,兼容对老数据的统计
if
(
addressNumMap
.
get
(
d
.
getName
())
!=
null
)
{
if
(
addressNumMap
.
get
(
d
.
getName
())
!=
null
)
{
...
...
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