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
9c099bf4
Commit
9c099bf4
authored
Jul 07, 2020
by
张祺
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hy-tobacco' of
http://132.232.112.242:7090/zhangkb/indicators
into hy-tobacco
parents
e4662b65
52ac4e17
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
IndScorecardService.java
...ile/indicators/service/hytobacco/IndScorecardService.java
+2
-2
No files found.
src/main/java/com/keymobile/indicators/service/hytobacco/IndScorecardService.java
View file @
9c099bf4
...
@@ -198,9 +198,9 @@ public class IndScorecardService {
...
@@ -198,9 +198,9 @@ public class IndScorecardService {
}
}
}
else
{
//公式
}
else
{
//公式
int
rank
=
currentCompareObjResult
.
getRank
();
//获取排位
int
rank
=
currentCompareObjResult
.
getRank
();
//获取排位
if
(
rank
==
1
)
{
//最佳指标
if
(
rank
==
1
&&
scoreCard
.
getBestIndScore
()!=
null
)
{
//最佳指标
baseScoreValue
=
scoreCard
.
getBestIndScore
();
baseScoreValue
=
scoreCard
.
getBestIndScore
();
}
else
if
(
rank
==
currentDriveResultSize
)
{
//最差指标
}
else
if
(
rank
==
currentDriveResultSize
&&
scoreCard
.
getWorstIndScore
()!=
null
)
{
//最差指标
baseScoreValue
=
scoreCard
.
getWorstIndScore
();
baseScoreValue
=
scoreCard
.
getWorstIndScore
();
}
else
{
//其他
}
else
{
//其他
if
(
StringUtils
.
isNotBlank
(
scoreCard
.
getOtherCalFormula
()))
{
if
(
StringUtils
.
isNotBlank
(
scoreCard
.
getOtherCalFormula
()))
{
...
...
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