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
9d4e0600
Commit
9d4e0600
authored
Jul 30, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.大屏-区域安全指数接口优重写初稿
parent
e897d242
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
AQZSDPStatisticsServiceImpl.java
...atistcs/biz/service/impl/AQZSDPStatisticsServiceImpl.java
+13
-8
No files found.
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/AQZSDPStatisticsServiceImpl.java
View file @
9d4e0600
...
@@ -21,12 +21,10 @@ import org.elasticsearch.client.core.CountRequest;
...
@@ -21,12 +21,10 @@ import org.elasticsearch.client.core.CountRequest;
import
org.elasticsearch.client.core.CountResponse
;
import
org.elasticsearch.client.core.CountResponse
;
import
org.elasticsearch.index.query.BoolQueryBuilder
;
import
org.elasticsearch.index.query.BoolQueryBuilder
;
import
org.elasticsearch.index.query.QueryBuilders
;
import
org.elasticsearch.index.query.QueryBuilders
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
javax.annotation.Resource
;
import
java.io.IOException
;
import
java.io.IOException
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.math.RoundingMode
;
import
java.math.RoundingMode
;
...
@@ -52,18 +50,25 @@ public class AQZSDPStatisticsServiceImpl {
...
@@ -52,18 +50,25 @@ public class AQZSDPStatisticsServiceImpl {
private
final
static
String
NO_DATA_STR
=
"--"
;
private
final
static
String
NO_DATA_STR
=
"--"
;
@Autowired
RestHighLevelClient
restHighLevelClient
;
@Resource
private
RestHighLevelClient
restHighLevelClient
;
private
AQZSDPStatisticsMapper
statisticsMapper
;
private
AQZSDPStatisticsMapper
statisticsMapper
;
@Autowired
CylinderStatisticsMapper
cylinderStatisticsMapper
;
@Autowired
private
CylinderStatisticsMapper
cylinderStatisticsMapper
;
private
StCommonServiceImpl
stCommonService
;
private
StCommonServiceImpl
stCommonService
;
public
AQZSDPStatisticsServiceImpl
(
RestHighLevelClient
restHighLevelClient
,
AQZSDPStatisticsMapper
statisticsMapper
,
CylinderStatisticsMapper
cylinderStatisticsMapper
,
StCommonServiceImpl
stCommonService
)
{
this
.
restHighLevelClient
=
restHighLevelClient
;
this
.
statisticsMapper
=
statisticsMapper
;
this
.
cylinderStatisticsMapper
=
cylinderStatisticsMapper
;
this
.
stCommonService
=
stCommonService
;
}
private
String
getLicenseEfficiencyByRegion
(
String
orgCode
)
{
private
String
getLicenseEfficiencyByRegion
(
String
orgCode
)
{
List
<
KeyValueDto
>
keyValueDtos
=
statisticsMapper
.
queryLicenseEfficiencyOfRegion
(
orgCode
);
List
<
KeyValueDto
>
keyValueDtos
=
statisticsMapper
.
queryLicenseEfficiencyOfRegion
(
orgCode
);
...
...
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