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
b8349350
Commit
b8349350
authored
Jul 24, 2024
by
suhuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.大屏-安全追溯-同设备近30天按问题次数滚动接口开发,增加空指针判断
parent
50c12df4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
DPStatisticsServiceImpl.java
...ylinder/flc/biz/service/impl/DPStatisticsServiceImpl.java
+4
-0
No files found.
amos-boot-system-tzs/amos-boot-module-cylinder/amos-boot-module-cylinder-biz/src/main/java/com/yeejoin/amos/boot/module/cylinder/flc/biz/service/impl/DPStatisticsServiceImpl.java
View file @
b8349350
...
@@ -11,6 +11,7 @@ import org.springframework.stereotype.Service;
...
@@ -11,6 +11,7 @@ import org.springframework.stereotype.Service;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
java.math.RoundingMode
;
import
java.math.RoundingMode
;
import
java.text.NumberFormat
;
import
java.text.NumberFormat
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -31,6 +32,9 @@ public class DPStatisticsServiceImpl {
...
@@ -31,6 +32,9 @@ public class DPStatisticsServiceImpl {
public
List
<
Map
<
String
,
Object
>>
getEquipQuestionList
(
DPFilterParamDto
dpFilterParamDto
)
{
public
List
<
Map
<
String
,
Object
>>
getEquipQuestionList
(
DPFilterParamDto
dpFilterParamDto
)
{
this
.
setDefaultFilter
(
dpFilterParamDto
);
this
.
setDefaultFilter
(
dpFilterParamDto
);
String
orgCode
=
this
.
getAndSetOrgCode
(
dpFilterParamDto
.
getCityCode
());
String
orgCode
=
this
.
getAndSetOrgCode
(
dpFilterParamDto
.
getCityCode
());
if
(
StringUtils
.
isEmpty
(
orgCode
)){
return
new
ArrayList
<>();
}
List
<
EquipQuestionNumCountDto
>
equipQuestionNumCountDtos
=
statisticsMapper
.
queryEquipQuestionList
(
orgCode
,
dpFilterParamDto
);
List
<
EquipQuestionNumCountDto
>
equipQuestionNumCountDtos
=
statisticsMapper
.
queryEquipQuestionList
(
orgCode
,
dpFilterParamDto
);
return
this
.
calPercentFinishedAndCast2Map
(
equipQuestionNumCountDtos
);
return
this
.
calPercentFinishedAndCast2Map
(
equipQuestionNumCountDtos
);
}
}
...
...
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