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
5ebd189e
Commit
5ebd189e
authored
Nov 12, 2020
by
zhangkb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改单位得分计算判断指标目录逻辑
parent
b57be7db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ScoreRuleService.java
...mobile/indicators/service/hytobacco/ScoreRuleService.java
+1
-1
No files found.
src/main/java/com/keymobile/indicators/service/hytobacco/ScoreRuleService.java
View file @
5ebd189e
...
@@ -356,7 +356,7 @@ public class ScoreRuleService {
...
@@ -356,7 +356,7 @@ public class ScoreRuleService {
if
(
StringUtils
.
isBlank
(
driveIndDef
.
getIsUnitCalScore
())
||
if
(
StringUtils
.
isBlank
(
driveIndDef
.
getIsUnitCalScore
())
||
"1"
.
equals
(
driveIndDef
.
getIsUnitCalScore
()))
{
"1"
.
equals
(
driveIndDef
.
getIsUnitCalScore
()))
{
//如果指标是该指标分类下的
//如果指标是该指标分类下的
if
(
driveIndDef
.
getCatalogIdPath
().
indexOf
(
catalogIdPath
)>=
0
)
{
if
(
catalogIdPath
.
indexOf
(
driveIndDef
.
getCatalogIdPath
()
)>=
0
)
{
//得分类型:0 指标值直接参与计算
//得分类型:0 指标值直接参与计算
if
(
"0"
.
equals
(
scoreRule
.
getScoreType
()))
{
if
(
"0"
.
equals
(
scoreRule
.
getScoreType
()))
{
if
(!
"NaN"
.
equals
(
calResult
.
getValue
())
&&
!
"Infinite"
.
equals
(
calResult
.
getValue
())
if
(!
"NaN"
.
equals
(
calResult
.
getValue
())
&&
!
"Infinite"
.
equals
(
calResult
.
getValue
())
...
...
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