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
8338e8fe
Commit
8338e8fe
authored
Jul 17, 2025
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: 简化许可证状态统计逻辑
parent
dc67c27d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
16 deletions
+1
-16
ComprehensiveStatisticalAnalysisServiceImpl.java
...ice/impl/ComprehensiveStatisticalAnalysisServiceImpl.java
+1
-16
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 @
8338e8fe
...
@@ -419,22 +419,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
...
@@ -419,22 +419,7 @@ public class ComprehensiveStatisticalAnalysisServiceImpl {
// 获取许可状态统计
// 获取许可状态统计
List
<
Map
<
String
,
Object
>>
staticMap
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
staticMap
=
new
ArrayList
<>();
if
(!
""
.
equals
(
licensesStatusStr
))
{
if
(!
""
.
equals
(
licensesStatusStr
))
{
Map
<
String
,
Object
>
normalMap
=
new
HashMap
<>();
getFilterCompanyOrPersonPermitStatusStatic
(
staticMap
,
StatisticalAnalysisEnum
.
company
.
getKey
(),
licensesStatusStr
,
totle
);
normalMap
.
put
(
"name"
,
licensesStatusMap
.
get
(
normal
));
Map
<
String
,
Object
>
nearMap
=
new
HashMap
<>();
nearMap
.
put
(
"name"
,
licensesStatusMap
.
get
(
near
));
if
(
licensesStatusStr
.
equals
(
normal
))
{
normalMap
.
put
(
"value"
,
totle
);
nearMap
.
put
(
"value"
,
0
);
}
else
if
(
licensesStatusStr
.
equals
(
near
))
{
nearMap
.
put
(
"value"
,
0
);
nearMap
.
put
(
"value"
,
totle
);
}
else
{
nearMap
.
put
(
"value"
,
0
);
nearMap
.
put
(
"value"
,
0
);
}
staticMap
.
add
(
normalMap
);
staticMap
.
add
(
nearMap
);
}
else
{
}
else
{
getCompanyOrPersonPermitStatusStatic
(
boolMust
,
staticMap
,
StatisticalAnalysisEnum
.
person
.
getKey
());
getCompanyOrPersonPermitStatusStatic
(
boolMust
,
staticMap
,
StatisticalAnalysisEnum
.
person
.
getKey
());
}
}
...
...
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