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
38722560
Commit
38722560
authored
Nov 13, 2024
by
麻笑宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报错提交
parent
8ae3a197
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
StCommonServiceImpl.java
...odule/statistcs/biz/service/impl/StCommonServiceImpl.java
+1
-6
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/StCommonServiceImpl.java
View file @
38722560
...
@@ -10,7 +10,6 @@ import com.yeejoin.amos.boot.module.common.api.dto.DPFilterParamForDetailDto;
...
@@ -10,7 +10,6 @@ import com.yeejoin.amos.boot.module.common.api.dto.DPFilterParamForDetailDto;
import
com.yeejoin.amos.boot.module.common.api.enums.ReginStepEnum
;
import
com.yeejoin.amos.boot.module.common.api.enums.ReginStepEnum
;
import
com.yeejoin.amos.boot.module.jg.api.enums.CylinderTypeEnum
;
import
com.yeejoin.amos.boot.module.jg.api.enums.CylinderTypeEnum
;
import
com.yeejoin.amos.boot.module.jg.api.enums.DPMapStatisticsItemEnum
;
import
com.yeejoin.amos.boot.module.jg.api.enums.DPMapStatisticsItemEnum
;
import
com.yeejoin.amos.boot.module.statistcs.biz.FeginService
;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.CommonBaseMapper
;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.CommonBaseMapper
;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.ZLStatisticsMapper
;
import
com.yeejoin.amos.boot.module.statistics.api.mapper.ZLStatisticsMapper
;
import
com.yeejoin.amos.boot.module.statistics.api.vo.EquCategoryVo
;
import
com.yeejoin.amos.boot.module.statistics.api.vo.EquCategoryVo
;
...
@@ -33,7 +32,6 @@ import org.elasticsearch.search.aggregations.AggregationBuilders;
...
@@ -33,7 +32,6 @@ import org.elasticsearch.search.aggregations.AggregationBuilders;
import
org.elasticsearch.search.aggregations.bucket.terms.Terms
;
import
org.elasticsearch.search.aggregations.bucket.terms.Terms
;
import
org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder
;
import
org.elasticsearch.search.aggregations.bucket.terms.TermsAggregationBuilder
;
import
org.elasticsearch.search.builder.SearchSourceBuilder
;
import
org.elasticsearch.search.builder.SearchSourceBuilder
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.io.IOException
;
import
java.io.IOException
;
...
@@ -79,9 +77,6 @@ public class StCommonServiceImpl {
...
@@ -79,9 +77,6 @@ public class StCommonServiceImpl {
private
static
List
<
EquipmentCategoryDto
>
equipmentCategoryDtos
;
private
static
List
<
EquipmentCategoryDto
>
equipmentCategoryDtos
;
@Autowired
private
FeginService
feginService
;
public
StCommonServiceImpl
(
CommonBaseMapper
commonMapper
,
RestHighLevelClient
restHighLevelClient
,
EquipTechParamPipelineMapper
techParamsPipelineMapper
,
EquipmentCategoryMapper
equipmentCategoryMapper
,
ZLStatisticsMapper
zlStatisticsMapper
)
{
public
StCommonServiceImpl
(
CommonBaseMapper
commonMapper
,
RestHighLevelClient
restHighLevelClient
,
EquipTechParamPipelineMapper
techParamsPipelineMapper
,
EquipmentCategoryMapper
equipmentCategoryMapper
,
ZLStatisticsMapper
zlStatisticsMapper
)
{
this
.
commonMapper
=
commonMapper
;
this
.
commonMapper
=
commonMapper
;
this
.
restHighLevelClient
=
restHighLevelClient
;
this
.
restHighLevelClient
=
restHighLevelClient
;
...
@@ -109,7 +104,7 @@ public class StCommonServiceImpl {
...
@@ -109,7 +104,7 @@ public class StCommonServiceImpl {
}
}
private
void
initReginCode
()
{
private
void
initReginCode
()
{
Collection
<
RegionModel
>
result
=
feginService
.
queryForTree
(
null
).
getResult
();
Collection
<
RegionModel
>
result
=
Systemctl
.
regionClient
.
queryForTree
(
null
).
getResult
();
result
.
forEach
(
r
->
{
result
.
forEach
(
r
->
{
regionModels
.
add
(
r
);
regionModels
.
add
(
r
);
this
.
loopSetChildRegin
(
regionModels
,
r
.
getChildren
());
this
.
loopSetChildRegin
(
regionModels
,
r
.
getChildren
());
...
...
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