Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
indicators
Overview
Overview
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
zhangkb
indicators
Commits
b72b2864
Commit
b72b2864
authored
Sep 11, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试修改报表3数据生成
parent
3a84ba50
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
IndicatorsReportService.java
...le/indicators/service/report/IndicatorsReportService.java
+2
-3
No files found.
src/main/java/com/keymobile/indicators/service/report/IndicatorsReportService.java
View file @
b72b2864
...
@@ -153,9 +153,7 @@ public class IndicatorsReportService {
...
@@ -153,9 +153,7 @@ public class IndicatorsReportService {
findByIndIdAndDateAndCompareIdAndSort
(
indId
,
date
,
compareId
,
code
);
findByIndIdAndDateAndCompareIdAndSort
(
indId
,
date
,
compareId
,
code
);
if
(!
calResults
.
isEmpty
())
{
if
(!
calResults
.
isEmpty
())
{
for
(
DriveIndCalResultDef
calResult
:
calResults
)
{
for
(
DriveIndCalResultDef
calResult
:
calResults
)
{
IndicatorsReportThree
indReportData
=
null
;
IndicatorsReportThree
indReportData
=
reportThreeMapper
.
getByParam
(
//判断是否存在
indReportData
=
reportThreeMapper
.
getByParam
(
calResult
.
getCompareObj
(),
date
,
type
,
code
);
calResult
.
getCompareObj
(),
date
,
type
,
code
);
if
(
indReportData
==
null
)
{
if
(
indReportData
==
null
)
{
indReportData
=
new
IndicatorsReportThree
();
indReportData
=
new
IndicatorsReportThree
();
...
@@ -233,6 +231,7 @@ public class IndicatorsReportService {
...
@@ -233,6 +231,7 @@ public class IndicatorsReportService {
}
}
//算提升前三末三指标个数
//算提升前三末三指标个数
if
(!
improveValue
.
isEmpty
())
{
if
(!
improveValue
.
isEmpty
())
{
logger
.
info
(
"进来提升前三末三程序"
);
Map
<
String
,
Integer
>
resultRank
=
new
HashMap
<>();
Map
<
String
,
Integer
>
resultRank
=
new
HashMap
<>();
resultRank
=
CalculateUtils
.
rankValue
(
improveValue
,
indRule
);
resultRank
=
CalculateUtils
.
rankValue
(
improveValue
,
indRule
);
//提升前三
//提升前三
...
...
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