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
f176b13e
Commit
f176b13e
authored
Jul 22, 2025
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修正逻辑错误并优化返回值
parent
7fa341a8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
ComprehensiveStatisticalAnalysisServiceImpl.java
...ice/impl/ComprehensiveStatisticalAnalysisServiceImpl.java
+7
-4
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/ComprehensiveStatisticalAnalysisServiceImpl.java
View file @
f176b13e
...
@@ -711,7 +711,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
...
@@ -711,7 +711,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
dto
.
get
(
"unitType"
).
toString
().
contains
(
"安装改造维修单位"
)))
{
dto
.
get
(
"unitType"
).
toString
().
contains
(
"安装改造维修单位"
)))
{
permissionStatus
=
noneStr
;
permissionStatus
=
noneStr
;
}
}
if
(
dto
.
get
(
"unitType"
).
equals
(
"使用单位"
)
||
dto
.
get
(
"unitType"
).
equals
(
"个人主体"
))
{
if
(
dto
.
get
(
"unitType"
).
equals
(
"使用单位"
)
||
dto
.
get
(
"unitType"
).
equals
(
"个人主体"
))
{
permissionStatus
=
null
;
permissionStatus
=
null
;
}
}
dto
.
put
(
"permissionStatus"
,
permissionStatus
);
dto
.
put
(
"permissionStatus"
,
permissionStatus
);
...
@@ -3039,7 +3039,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
...
@@ -3039,7 +3039,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
if
(
groupField
.
equals
(
"EQU_LIST_CODE"
))
{
if
(
groupField
.
equals
(
"EQU_LIST_CODE"
))
{
gasBoolQueryBuilder
=
QueryBuilderUtils
.
copyBoolQuery
(
boolMust
);
gasBoolQueryBuilder
=
QueryBuilderUtils
.
copyBoolQuery
(
boolMust
);
}
}
if
(!
"2300"
.
equals
(
equipCode
))
{
if
(!
"2300"
.
equals
(
equipCode
))
{
boolMust
.
mustNot
(
QueryBuilders
.
matchQuery
(
"EQU_CATEGORY_CODE"
,
"2300"
));
boolMust
.
mustNot
(
QueryBuilders
.
matchQuery
(
"EQU_CATEGORY_CODE"
,
"2300"
));
}
}
getStatisticCountByGroup
(
request
,
builder
,
boolMust
,
groupField
,
staticCountByGroup
,
"noGas"
);
getStatisticCountByGroup
(
request
,
builder
,
boolMust
,
groupField
,
staticCountByGroup
,
"noGas"
);
...
@@ -3666,14 +3666,16 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
...
@@ -3666,14 +3666,16 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
return
0
;
return
0
;
}
}
Page
<
String
>
recordDtoPage
=
new
Page
<>();
Page
<
String
>
recordDtoPage
=
new
Page
<>();
Integer
total
=
0
;
for
(
int
j
=
0
;
j
<=
times
;
j
++)
{
for
(
int
j
=
0
;
j
<=
times
;
j
++)
{
recordDtoPage
.
setCurrent
(
j
+
1
);
recordDtoPage
.
setCurrent
(
j
+
1
);
recordDtoPage
.
setSize
(
5000
);
recordDtoPage
.
setSize
(
5000
);
Page
<
String
>
refreshRecords
=
tzsCustomFilterMapper
.
selectRecords
(
recordDtoPage
);
Page
<
String
>
refreshRecords
=
tzsCustomFilterMapper
.
selectRecords
(
recordDtoPage
);
if
(!
ObjectUtils
.
isEmpty
(
refreshRecords
)&&
refreshRecords
.
getRecords
().
size
()
>
0
){
if
(!
ObjectUtils
.
isEmpty
(
refreshRecords
)
&&
refreshRecords
.
getRecords
().
size
()
>
0
)
{
total
+=
refreshRecords
.
getRecords
().
size
();
tzsCustomFilterMapper
.
addGas
(
refreshRecords
.
getRecords
());
tzsCustomFilterMapper
.
addGas
(
refreshRecords
.
getRecords
());
}
}
}
}
return
nul
l
;
return
tota
l
;
}
}
}
}
\ No newline at end of file
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